Skip to content
Commits on Source (2)
......@@ -35,6 +35,7 @@ bootstrap() {
curl -fO "$ALPINE_MIRROR/$LATEST_MINIROOT"
echo "$(date -u) - extracting alpine minirootfs"
mkdir -p "$SCHROOT_BASE/$TARGET.new"
sudo tar xzf "./$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new"
if [ -d "$SCHROOT_BASE/$TARGET" ]; then
......
......@@ -9,6 +9,7 @@ jenkins ALL= \
/bin/chmod +x /chroots/*, \
/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
/bin/tar xzf archlinux-bootstrap-*tar.gz -C /schroots, \
/bin/tar xzf ./alpine-minirootfs-*.tar.gz -C /schroots/alpine.new, \
/usr/sbin/chroot /schroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
......
......@@ -9,6 +9,7 @@ jenkins ALL= \
/bin/chmod +x /chroots/*, \
/bin/tar -c --exclude ./sys/\* --exclude ./proc/\* -f /schroots/*, \
/bin/tar xzf archlinux-bootstrap-*tar.gz -C /schroots, \
/bin/tar xzf ./alpine-minirootfs-*.tar.gz -C /schroots/alpine.new, \
/usr/sbin/chroot /schroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
......