]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
flash-image: set RAMDISK_MODE=2
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 23 Feb 2016 19:08:25 +0000 (20:08 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 23 Feb 2016 19:08:25 +0000 (20:08 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/flash-images

index f4558222d6c439db861d3a232925893b5e5f291a..36a0425754d05e9be73bfc3c484591b3065c6d6d 100644 (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