From 497f5720d863fe54e7e2dd3c55a9ca9534e0b3ad Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Sat, 5 Sep 2015 10:59:33 +0200 Subject: [PATCH] image-rauc-ubi: make sure all files belong to root mkfs.ubifs needs the --squash-uids options, which squashes owners making all files owned by root. Signed-off-by: Jan Luebbe --- recipes-core/images/image-rauc-ubi.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/image-rauc-ubi.bb b/recipes-core/images/image-rauc-ubi.bb index bc37beb..af9e7c0 100644 --- a/recipes-core/images/image-rauc-ubi.bb +++ b/recipes-core/images/image-rauc-ubi.bb @@ -64,7 +64,7 @@ do_deploy() { echo vol_name=data >> ubinize.cfg echo vol_flags=autoresize >> ubinize.cfg - mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rescue.ubifs ${MKUBIFS_ARGS} + mkfs.ubifs --squash-uids -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rescue.ubifs ${MKUBIFS_ARGS} ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubi ${UBINIZE_ARGS} ubinize.cfg ln -sf ${IMAGE_NAME}.ubi ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ubi }