Ok after getting support from tar team I have it fixed, so if you can hold on with testing I will re-send next patchset with additional fixes for posix as well.
BR Piotr ________________________________ Od: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> w imieniu użytkownika Piotr Łobacz via lists.openembedded.org <p.lobacz=welotec....@lists.openembedded.org> Wysłane: Monday, July 24, 2023 6:25:53 PM Do: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> DW: alexandre.bell...@bootlin.com <alexandre.bell...@bootlin.com> Temat: ODP: [OE-Core][PATCH v9][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr Hi, I have modified the patch for opkg-build to however have this gnu format, but only if acl and/or xattr features in DISTRO_FEATURES are removed, meaning that now in your case packages will be generated without posix format and the reproducible build will pass. Unfortunately, the issue itself is for 99% in tar hosttool binary and I need to find it, which for you at this moment is unnecessary. BR Piotr Od: Piotr Łobacz <p.lob...@welotec.com> Wysłane: poniedziałek, 24 lipca 2023 18:20 Do: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> DW: Piotr Łobacz <p.lob...@welotec.com> Temat: [OE-Core][PATCH v9][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr 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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fg%2Fopkg-devel%2Fc%2FdYNHrLjDwg8&data=05%7C01%7Cp.lobacz%40welotec.com%7C8341748ceb69442102c408db8c62aa12%7C25111a7f1d5a4c51a4ca7f8e44011b39%7C0%7C0%7C638258127645424803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NpAOmSjca1VTDycL2TryVyacW%2FsuqRZJycHZ9OSDmU4%3D&reserved=0<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.lob...@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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184804): https://lists.openembedded.org/g/openembedded-core/message/184804 Mute This Topic: https://lists.openembedded.org/mt/100332298/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-