From e3741f20dd863b30b3d801168dd7608e39fda9ef Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Sat, 19 Aug 2017 15:26:25 +0900 Subject: [PATCH] Use a more capable tar implementation The GitLab CI build environment provides a BusyBox version. --- bootstrap.sh | 6 ++++++ build.sh | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 6d23bb0..4a3cda6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -34,3 +34,9 @@ done chroot $rootfs apt-get --purge autoremove -q -y umount $rootfs/dev/pts + +tar -caf $rootfs.tar.gz \ + --directory $rootfs \ + --exclude './dev/**' \ + --numeric-owner \ + --transform 's,^\./,,' . diff --git a/build.sh b/build.sh index 8cecf48..cdea0dd 100755 --- a/build.sh +++ b/build.sh @@ -18,12 +18,6 @@ docker run --rm \ IMAGE=$CI_REGISTRY_IMAGE STAMP=$(date +%F) -tar -caf rootfs.tar.gz \ - --directory rootfs \ - --exclude './dev/**' \ - --numeric-owner \ - --transform 's,^\./,,' . - cat > Dockerfile <