mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
Revert "initramfs-live-install*: fix the "install" boot option"
This patch causes install to fail because /etc/mtab doesn't exist, so revert it for now until the root problem is fixed. [ YOCTO #4501 ] This reverts commit 2f5d41f94c53aaf606de66891c37de0dbd86f54b. (From OE-Core rev: 20ded0315924a083e07900a8a3308bd351b15a8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00ab7c884b
commit
8450317a6c
@@ -66,6 +66,7 @@ rm -f /etc/udev/scripts/mount*
|
||||
umount /dev/${device}* 2> /dev/null || /bin/true
|
||||
|
||||
mkdir -p /tmp
|
||||
cat /proc/mounts > /etc/mtab
|
||||
|
||||
disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//")
|
||||
|
||||
|
||||
@@ -77,6 +77,7 @@ if [ ! -b /dev/loop0 ] ; then
|
||||
fi
|
||||
|
||||
mkdir -p /tmp
|
||||
cat /proc/mounts > /etc/mtab
|
||||
|
||||
disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user