mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Add "blkdevram" USE flag when building ARM factory install kernel
Default netroot factory install kernel mounts rootfs in ram. The USE flag "blkdevram" was implemented in http://gerrit.chromium.org/gerrit/#change,1802 BUG=None TEST=Build factory install kernel and rootfs uimg. Kernel should be able to mount the in-ram initrd downloaded from tftp. Change-Id: Idb83375e0587432c5dec87357a8aa8e229f40af2 Reviewed-on: http://gerrit.chromium.org/gerrit/1803 Reviewed-by: Rong Chang <rongchang@chromium.org> Tested-by: Rong Chang <rongchang@chromium.org>
This commit is contained in:
parent
60da642e64
commit
c291a48995
@ -225,8 +225,10 @@ if [ ${FLAGS_factory_install} -eq ${FLAGS_TRUE} ] ; then
|
||||
if [ "${ARCH}" = "x86" ] ; then
|
||||
export USE="${USE} initramfs"
|
||||
fi
|
||||
# CONFIG_BLK_DEV_RAM is disabled by default.
|
||||
# But tftp install needs it to mount rootfs in ram
|
||||
if [ "${ARCH}" = "arm" ] ; then
|
||||
export USE="${USE} fbconsole"
|
||||
export USE="${USE} fbconsole blkdevram"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user