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:
Dongjin Kim
2024-03-08 11:42:57 +09:00
parent d62c7c6a13
commit 3c53b14a21

View File

@@ -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