[yocto] [meta-measured][PATCH 6/7] init-boot-tpm.sh: Use aufs instead of unionfs for 3.10 kernel

Saul Wold sgw at linux.intel.com
Fri Nov 1 15:02:32 PDT 2013


Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 recipes-tpm/initrdscripts/files/init-boot-tpm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-tpm/initrdscripts/files/init-boot-tpm.sh b/recipes-tpm/initrdscripts/files/init-boot-tpm.sh
index 45a6f4d..27e9f8d 100644
--- a/recipes-tpm/initrdscripts/files/init-boot-tpm.sh
+++ b/recipes-tpm/initrdscripts/files/init-boot-tpm.sh
@@ -136,7 +136,7 @@ mount_rootimg() {
     if ! $MOUNT -t tmpfs -o rw,noatime,mode=755 tmpfs $cow_mnt ; then
         fatal "Failed to mount tmpfs to back rootfs union."
     fi
-    if ! $MOUNT -t unionfs -o dirs=$cow_mnt=rw:$rootro_mnt=ro unionfs $root_mnt ; then
+    if ! $MOUNT -t aufs -o dirs=$cow_mnt=rw:$rootro_mnt=ro none $root_mnt ; then
         fatal "Failed to mount union between $root_img and tmpfs at $cow_mnt."
     fi
 }
-- 
1.8.3.1




More information about the yocto mailing list