fixup: remove 'cloudimg-rootfs' in /etc/fstab

There would be two different root file system mount entries in
'/etc/fstab' added by ODROID-STAMPER and unknown component that must be
relatived to Ubuntu cloud service, but not sure which is. This leads to
add wrong root file system entry to 'initramfs' so it must be removed.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I598c8a591f0c2c57ba000d56323468c1b51d3489
This commit is contained in:
Dongjin Kim
2024-03-08 11:40:20 +09:00
parent 4cc80ed0cd
commit d62c7c6a13

View File

@@ -6,6 +6,9 @@ if [ -f /etc/fstab ]; then
sed -i "/ \/ /d" /etc/fstab
# Remove EFI partition not to mount
sed -i "/\/boot\/efi/d" /etc/fstab
# Remove yet another root mount point via 'cloud-img-root'
sed -i "/cloudimg-rootfs/d" /etc/fstab
fi
if [ "x@@DEFAULT_DEV_ROOTFS@@" != "x" ]; then