Use --xattrs in lxc-pack
This commit is contained in:
parent
f9218366fa
commit
204318ef44
@ -13,6 +13,7 @@ cp etc/abuild.conf /etc/abuild.conf
|
||||
cp usr/bin/abuild /usr/bin/abuild
|
||||
cp usr/bin/fix-apk /usr/bin/fix-apk
|
||||
cp usr/bin/lxc-build /usr/bin/lxc-build
|
||||
cp usr/bin/lxc-pack /usr/bin/lxc-pack
|
||||
mkdir /srv/build
|
||||
# Supply /srv/build/repokey.rsa
|
||||
|
||||
|
@ -38,7 +38,7 @@ def pack(pkg_file):
|
||||
|
||||
# Create archive
|
||||
print('Archiving', meta['lxcpath'])
|
||||
subprocess.run(['tar', 'cpf', tar_path, meta['lxcpath']], cwd=LXC_ROOT)
|
||||
subprocess.run(['tar', 'cp', '--xattrs', '-f', tar_path, meta['lxcpath']], cwd=LXC_ROOT)
|
||||
if '/' not in meta['lxcpath']:
|
||||
print('Archiving setup files')
|
||||
cwd = os.path.dirname(os.path.abspath(pkg_file))
|
||||
|
Loading…
Reference in New Issue
Block a user