[OE-core] [PATCH 2/3] Revert "initramfs-live-install*: fix the "install" boot option"

Koen Kooi koen at dominion.thruhere.net
Fri May 17 09:17:36 UTC 2013


Op 16 mei 2013, om 20:03 heeft Saul Wold <sgw at linux.intel.com> het volgende geschreven:

> 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.
> ---
> meta/recipes-core/initrdscripts/files/init-install-efi.sh         | 1 +
> meta/recipes-core/initrdscripts/files/init-install.sh             | 1 +
> meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb | 2 +-
> meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb     | 2 +-
> 4 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
> index 9f7a9e7..23228c9 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*
> umount /dev/${device}* 2> /dev/null || /bin/true
> 
> mkdir -p /tmp
> +cat /proc/mounts > /etc/mtab

Traditionally /etc/mtab is a symlink to /proc/mounts, not a copy of it.






More information about the Openembedded-core mailing list