From cadcb919c9cb71cfe994f9924bc3ddec0890fc99 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 28 Mar 2014 10:01:58 +0200 Subject: bootfs: need to use fakeroot for tar'ing Unpacking the boot.tar.gz file using sudo caused error: "Cannot change ownership to uid 1000, gid 1000: Operation not permitted" Now using fakeroot to not record my uid to the files. Change-Id: I1a953e5e363a0d9fbb914cfa8837d888421d8e14 Reviewed-by: Samuli Piippo --- classes/bootfs-image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index 9218bd3..5292965 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass @@ -25,7 +25,7 @@ BOOTFS_LINK_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}" BOOTFS_DEPENDS ?= "" -do_bootfs () { +fakeroot do_bootfs () { if [ -n ${BOOTFS_CONTENT} ]; then exit 0 fi -- cgit v1.2.3-54-g00ecf