From: Arne Fitzenreiter Date: Tue, 23 Feb 2016 19:08:25 +0000 (+0100) Subject: flash-image: set RAMDISK_MODE=2 X-Git-Tag: v2.19-core100~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=920f1950959bb1500847eb3e3eaebbe88ce08163;p=ipfire-2.x.git flash-image: set RAMDISK_MODE=2 Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/flash-images b/lfs/flash-images index f4558222d6..36a0425754 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -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