added --numeric-owner to tarball generation
This commit is contained in:
parent
45caa39aaa
commit
27004a6be1
@ -43,7 +43,7 @@ cleanup_chroot() {
|
|||||||
|
|
||||||
generate_tarball() {
|
generate_tarball() {
|
||||||
printf "\n\n----- Generating rootfs tarball -----\n\n"
|
printf "\n\n----- Generating rootfs tarball -----\n\n"
|
||||||
tar -C ${DBS_ROOT} -c --xattrs --xattrs-include=* -f ${DBS_BASE}/user-rootfs.tar .
|
tar -C ${DBS_ROOT} --numeric-owner -c --xattrs --xattrs-include=* -f ${DBS_BASE}/user-rootfs.tar .
|
||||||
xz --force --threads=0 ${DBS_BASE}/user-rootfs.tar
|
xz --force --threads=0 ${DBS_BASE}/user-rootfs.tar
|
||||||
ls -al ${DBS_BASE}/user-rootfs.tar
|
ls -al ${DBS_BASE}/user-rootfs.tar
|
||||||
printf "\n\n"
|
printf "\n\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user