mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
fixup: tempory create UUID of root file system
'flash-kernel' checks root file system when updating initramfs and put its root file system device into 'conf/param.conf'. But when running ODROID-Stamper, the device for the root file system is not present as a block device, so it is confused and add '/dev/sda2' which is not correct, this leads boot failure. Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I83b832ea411f68e0c0491c0e21684331fad7656e
This commit is contained in:
@@ -23,4 +23,8 @@ UUID="@@DEFAULT_DEV_BOOT@@" /boot ext2 rw,relatime,errors=continue 0 0
|
||||
__EOF
|
||||
fi
|
||||
|
||||
# Temporary create UUID of root file system since 'flash-kernel' checks it
|
||||
# to add 'root=UUID...' to initramfs.
|
||||
touch /dev/disk/by-uuid/@@DEFAULT_DEV_ROOTFS@@
|
||||
|
||||
update-initramfs -u
|
||||
|
||||
Reference in New Issue
Block a user