From: "Piotr Łobacz" <p.lobacz@welotec.com>
To: openembedded-core@lists.openembedded.org
Cc: "Piotr Łobacz" <p.lobacz@welotec.com>
Subject: [OE-Core][PATCH v11][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr
Date: Wed, 26 Jul 2023 11:22:24 +0200 [thread overview]
Message-ID: <20230726092228.1005306-1-p.lobacz@welotec.com> (raw)
Extend OPKGBUILDCMD variable, with additional parameters, depending
on target distro features, in order to support ACLs and xattr.
With fix pushed to the opkg-devel:
https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8
opkg-build is able to create tar archives with ACLs and xattr.
Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
---
meta/classes-global/package_ipk.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass
index b4b7bc9ac2..a0f106e4ad 100644
--- a/meta/classes-global/package_ipk.bbclass
+++ b/meta/classes-global/package_ipk.bbclass
@@ -15,7 +15,7 @@ IPKGCONF_SDK_TARGET = "${WORKDIR}/opkg-sdk-target.conf"
PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
# Program to be used to build opkg packages
-OPKGBUILDCMD ??= 'opkg-build -Z xz -a "${XZ_DEFAULTS}"'
+OPKGBUILDCMD ??= 'opkg-build -Z xz -a "${XZ_DEFAULTS}" ${@bb.utils.contains('DISTRO_FEATURES', 'acl', '-A', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', '-X', '', d)}'
OPKG_ARGS += "--force_postinstall --prefer-arch-to-version"
OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
--
2.34.1
next reply other threads:[~2023-07-26 9:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 9:22 Piotr Łobacz [this message]
2023-07-26 9:22 ` [OE-Core][PATCH v11][master-next 2/5] package.bbclass: add support for ACLs and xattr Piotr Łobacz
2023-07-26 9:22 ` [OE-Core][PATCH v11][master-next 3/5] opkg-utils: add acl and xattr support Piotr Łobacz
2023-07-26 9:22 ` [OE-Core][PATCH v11][master-next 4/5] opkg: add options to enable support for acl and xattr Piotr Łobacz
2023-07-26 9:22 ` [OE-Core][PATCH v11][master-next 5/5] opkg: set locale from system environment variables Piotr Łobacz
2023-07-26 9:27 ` ODP: [OE-Core][PATCH v11][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr Piotr Łobacz
2023-07-27 14:18 ` Alexandre Belloni
2023-07-27 15:30 ` ODP: " Piotr Łobacz
2023-07-28 22:58 ` Piotr Łobacz
[not found] ` <17762A3A069807A3.31298@lists.openembedded.org>
2023-07-31 19:03 ` Piotr Łobacz
2023-07-31 19:09 ` Piotr Łobacz
2023-07-31 20:25 ` Joshua Watt
2023-07-31 21:19 ` Richard Purdie
2023-07-31 21:23 ` Piotr Łobacz
[not found] ` <177710C9CE043B33.12785@lists.openembedded.org>
2023-07-31 21:28 ` ODP: " Piotr Łobacz
2023-08-01 13:04 ` Martin Jansa
2023-08-01 13:27 ` ODP: " Piotr Łobacz
[not found] ` <1777455C95C57250.15736@lists.openembedded.org>
2023-08-01 15:16 ` Piotr Łobacz
2023-08-01 15:41 ` Richard Purdie
2023-08-01 16:00 ` ODP: " Piotr Łobacz
[not found] ` <17774DB8C4C2BE4F.15736@lists.openembedded.org>
2023-08-02 1:17 ` Piotr Łobacz
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=20230726092228.1005306-1-p.lobacz@welotec.com \
--to=p.lobacz@welotec.com \
--cc=openembedded-core@lists.openembedded.org \
/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