]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "initramfs-live-install*: fix the "install" boot option"
authorRoss Burton <ross.burton@intel.com>
Thu, 16 May 2013 13:48:42 +0000 (13:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 May 2013 17:15:36 +0000 (20:15 +0300)
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.

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
meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb

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 89e9ed48cb4ff83bf7de67a3e2c2091f64261621..2c4486a14981c0f7b35144e531867fdaf29c6daa 100644 (file)
@@ -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//")
 
index 264931f9a3360217b96a98eb2e88d7f6ff995652..8ad47d476b6e8fe038197a47bf038a79a747ff6f 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-install-efi.sh"
 
-PR = "r1"
+PR = "r0"
 
 RDEPENDS_${PN} = "parted e2fsprogs-mke2fs dosfstools"
 
index 3a8836d5b926cf08dd18d3c0ef7d2e191d333c09..0f80f0e28ab3e157f1809c947904438df7a9c9da 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-install.sh"
 
-PR = "r9"
+PR = "r8"
 
 RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs"