diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-05-16 21:03:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-17 09:37:29 +0300 |
commit | f371626f70cff8eeacf3ce0971fd1bee22aa9260 (patch) | |
tree | 461413f19ba15c39bd041ecd45ccd4df0deeba96 /meta/recipes-core | |
parent | 6de55b6968cf8320f95ce2bf859e6244b4de9cf0 (diff) | |
download | poky-f371626f70cff8eeacf3ce0971fd1bee22aa9260.tar.gz |
Revert "initramfs-live-install*: fix the "install" boot option"
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.
(From OE-Core rev: 7d50133dd5c955d97193cc26458ebbf84dbfe0a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 1 | ||||
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index 9f7a9e7c61..23228c92c4 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
@@ -66,6 +66,7 @@ rm -f /etc/udev/scripts/mount* | |||
66 | umount /dev/${device}* 2> /dev/null || /bin/true | 66 | umount /dev/${device}* 2> /dev/null || /bin/true |
67 | 67 | ||
68 | mkdir -p /tmp | 68 | mkdir -p /tmp |
69 | cat /proc/mounts > /etc/mtab | ||
69 | 70 | ||
70 | disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//") | 71 | disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//") |
71 | 72 | ||
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 2ecd333f92..d2a0db3183 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -78,6 +78,7 @@ if [ ! -b /dev/loop0 ] ; then | |||
78 | fi | 78 | fi |
79 | 79 | ||
80 | mkdir -p /tmp | 80 | mkdir -p /tmp |
81 | cat /proc/mounts > /etc/mtab | ||
81 | 82 | ||
82 | disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//") | 83 | disk_size=$(parted /dev/${device} unit mb print | grep Disk | cut -d" " -f 3 | sed -e "s/MB//") |
83 | 84 | ||