summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2020-05-20 15:27:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-22 17:07:44 +0100
commitdf1e1dc92ea7a76a1949a8e11a421f2a21681901 (patch)
treea1c9649c58fe33411a433c7a052bef837374d38c
parent662dfaeed9360c2ef95068d4eee0d23ad8ae7c8b (diff)
downloadpoky-df1e1dc92ea7a76a1949a8e11a421f2a21681901.tar.gz
linux-modules.tgz: fix file permissions to root
the files of linux-modules should be same permissions with rootfs.tar.bz2, because it is a part of rootfs when used to install. (From OE-Core rev: 71e141906069c6f754199512741f6e3d5b72fee7) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 0935196f6f..20a0135fc9 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -711,6 +711,7 @@ kernel_do_deploy() {
711 else 711 else
712 TAR_ARGS="" 712 TAR_ARGS=""
713 fi 713 fi
714 TAR_ARGS="$TAR_ARGS --owner=0 --group=0"
714 tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz 715 tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz
715 716
716 ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz 717 ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz