]> code.ossystems Code Review - openembedded-core.git/commitdiff
initramfs-live-boot: Disable unionfs until its issue with the system rootdir are...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Apr 2012 14:47:30 +0000 (15:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Apr 2012 14:58:02 +0000 (15:58 +0100)
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@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb

index 8f7511eadd4028592e646e55ae4df3dce32f0594..137a40106ee778487fdf0e8076449a1aab880e89 100644 (file)
@@ -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() {