On 10 Jul 2023, at 10:58, Piotr Łobacz via lists.openembedded.org <p.lobacz=welotec....@lists.openembedded.org> wrote: > + # Preserve sparse files, hard links, ACLs and extended attributes > + acl = '' > + xattr = '' > + # TODO: for the moment only ipk packages are supporting ACLs and > extended attributes > + if bb.utils.contains('PACKAGE_CLASSES', 'package_ipk', True, False, d): > + acl = bb.utils.contains('DISTRO_FEATURES', 'acl', '--acls', '', d) > + xattr = bb.utils.contains('DISTRO_FEATURES', 'xattr', '--xattrs', > '', d) > + cmd = f'tar {acl} {xattr} --numeric-owner --exclude=./sysroot-only -cf - > -C {dest} -p -S . | tar {acl} {xattr} -xf - -C {dvar}'
Is there much of a hit if we always tell tar to always preserve the acl/xattr information, instead of changing behaviour based on whether ipkg is enabled? I don’t like how enabling ipkgs changes the tar command that is also used to build the rpms. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184074): https://lists.openembedded.org/g/openembedded-core/message/184074 Mute This Topic: https://lists.openembedded.org/mt/100054735/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-