]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "initramfs-live-install*: fix the "install" boot option"
authorSaul Wold <sgw@linux.intel.com>
Thu, 16 May 2013 18:03:06 +0000 (21:03 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 May 2013 06:37:10 +0000 (09:37 +0300)
This was not the correct fix for this issues, it turns out that
base-files package was getting installed un-intentionally when
rpm-postinsts was split out. The base-files recipe lays down the
link that caused the cat failure.

[YOCTO #4504]

This reverts commit 45e460d0846f0f660128dc06064b597ce40282b3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-install-efi.sh
meta/recipes-core/initrdscripts/files/init-install.sh

index 9f7a9e7c61b5985cd0feb23e37f3e59c1bf36eb0..23228c92c4823435b820b35696b9acfc32a487b8 100644 (file)
@@ -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//")
 
index 2ecd333f927bab0227e89aa1b15033c6d527a3cc..d2a0db3183c21fbe2f4d4ef6f554d6410a968517 100644 (file)
@@ -78,6 +78,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//")