From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>, bth@kamstrup.com
Subject: [ptxdist] [PATCH] bugfix: kernel: install modules with 755 permission
Date: Mon, 6 Jul 2020 17:24:41 +0200 [thread overview]
Message-ID: <20200706152441.4200-1-bruno.thomsen@gmail.com> (raw)
Added install_copy fixes errors like this:
Incompatible ownership or permissions for '/usr/lib/modules/5.6.13-gb44726ddbb7c':
kernel-modules: 0.0 0755 (implicit from /usr/lib/modules/5.6.13-gb44726ddbb7c/kernel/net/ipv6/ip6_udp_tunnel.ko)
kernel-modules: 0.0 0775
Modified install_glob fixes this error:
Collected errors:
* check_data_file_clashes: Package usr-rootfs wants to install file ../platform-x/build-target/image-root-tgz/lib
But that path is currently a directory
* opkg_solver_install: Cannot install package usr-rootfs.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
rules/kernel.make | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/rules/kernel.make b/rules/kernel.make
index 0d9710828..66222f386 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -308,8 +308,9 @@ ifdef PTXCONF_KERNEL_MODULES_INSTALL
@$(call install_fixup, kernel-modules, AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, kernel-modules, DESCRIPTION,missing)
- @$(call install_glob, kernel-modules, 0, 0, -, /lib/modules, *.ko,, k)
- @$(call install_glob, kernel-modules, 0, 0, -, /lib/modules,, *.ko */build */source, n)
+ @$(call install_copy, kernel-modules, 0, 0, 755, /usr/lib/modules)
+ @$(call install_glob, kernel-modules, 0, 0, /lib/modules, /usr/lib/modules, *.ko,, k)
+ @$(call install_glob, kernel-modules, 0, 0, /lib/modules, /usr/lib/modules,, *.ko */build */source, n)
@$(call install_finish, kernel-modules)
endif
base-commit: 1ec4ca50586575426ed9732c8e335b05df0b4f6a
--
2.26.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-07-06 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 15:24 Bruno Thomsen [this message]
2020-07-06 16:56 ` Michael Olbrich
2020-07-07 6:26 ` Bruno Thomsen
2020-07-07 10:06 ` Michael Olbrich
2020-07-07 10:56 ` Bruno Thomsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200706152441.4200-1-bruno.thomsen@gmail.com \
--to=bruno.thomsen@gmail.com \
--cc=bth@kamstrup.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox