From: Carsten Haitzler carsten.haitzler@arm.com
Mount by given label in debian rootfs
Signed-off-by: Carsten Haitzler carsten.haitzler@arm.com --- context/build_debian_image.sh | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/context/build_debian_image.sh b/context/build_debian_image.sh index a0137ae..da0a803 100755 --- a/context/build_debian_image.sh +++ b/context/build_debian_image.sh @@ -61,6 +61,9 @@ echo 'root:morello' | chpasswd
# Enable /dev/shm (required to build EDK2) echo -e "none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0" >> /etc/fstab +# Mount root and boot +echo -e "LABEL=MRLO-ROOT / ext4 rw,noatime 0 0" >> /etc/fstab +echo -e "LABEL=MRLO-ESP /boot vfat rw 0 0" >> /etc/fstab mount /dev/shm
# Enable network