diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-09-19 21:45:57 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-09-20 14:59:29 -0400 |
commit | b4926ef1add65f61626ccffe715f535dc97bff4f (patch) | |
tree | d41d4f2953c45fe8c16608e3cd19218f54808a87 /classes/kernel.bbclass | |
parent | 69553a3f9961817d02b14ccd27e0e26f3ddfdb5e (diff) |
kernel.bbclass: fix ownership inside the modules tarball
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r-- | classes/kernel.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index c5192d59d4..9c1f637a66 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -530,7 +530,7 @@ do_deploy() { package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin if [ -d "${D}/lib" ]; then - tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${D} lib + fakeroot tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${D} lib fi cd ${DEPLOY_DIR_IMAGE} @@ -540,5 +540,6 @@ do_deploy() { } do_deploy[dirs] = "${S}" +do_deploy[depends] += "fakeroot-native:do_populate_staging" addtask deploy before do_package after do_install |