flash-image: set RAMDISK_MODE=2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2016-02-23 20:08:25 +01:00
parent c83d161463
commit 920f195095

View File

@@ -192,6 +192,9 @@ endif
--root-directory=$(MNThdd) $(DEVICE)
endif
# Set ramdisk mode to automatic
echo RAMDISK_MODE=2 > $(MNThdd)/etc/sysconfig/ramdisk
# Automatically resize the root partition to its maximum size at first boot
touch $(MNThdd)/.partresize