[oe-commits] Richard Purdie : initramfs-live-boot: Disable unionfs until its issue with the system rootdir are resolved

git at git.openembedded.org git at git.openembedded.org
Sun Apr 22 15:07:06 UTC 2012


Module: openembedded-core.git
Branch: denzil
Commit: 4a2d7a7cd04a1706c3bd9ee79e0cfe79dd3ae80d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4a2d7a7cd04a1706c3bd9ee79e0cfe79dd3ae80d

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Apr 22 15:47:30 2012 +0100

initramfs-live-boot: Disable unionfs until its issue with the system rootdir are resolved

There are issues with the current unionfs when making a union mount over "/".
Until these are resolved we can't use unionfs for live booting so disable this
temporarily as a workaround.

unionfs is usable in other circumstances.

[YOCTO #2331 workaround]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../initrdscripts/initramfs-live-boot_1.0.bb       |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
index 8f7511e..137a401 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
@@ -5,12 +5,13 @@ RDEPENDS = "udev"
 DEPENDS = "virtual/kernel"
 SRC_URI = "file://init-live.sh"
 
-PR = "r9"
+PR = "r10"
 
 do_compile() {
-	if grep -q "CONFIG_UNION_FS=y" ${STAGING_KERNEL_DIR}/.config; then
-		sed -i 's/UNIONFS="no"/UNIONFS="yes"/g' ${WORKDIR}/init-live.sh
-	fi
+	#if grep -q "CONFIG_UNION_FS=y" ${STAGING_KERNEL_DIR}/.config; then
+	#	sed -i 's/UNIONFS="no"/UNIONFS="yes"/g' ${WORKDIR}/init-live.sh
+	#fi
+	:
 }
  
 do_install() {





More information about the Openembedded-commits mailing list