fixup! Separate tarring of the strapdir into its own func.

This commit is contained in:
parazyd 2018-01-16 14:46:03 +01:00
parent ceb7259fd9
commit b55e69b618
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 2 additions and 1 deletions

View File

@ -260,8 +260,9 @@ tar_strapdir() {
ckreq || return 1
notice "creating a tarbomb of the rootfs..."
mkdir -p "$R/dist"
silly
pushd "$strapdir"
tar czf "$R/dist/${image_name}.tar.gz" . || zerr
sudo tar czf "$R/dist/${image_name}.tar.gz" . || zerr
popd
}