fixup! Separate tarring of the strapdir into its own func.
This commit is contained in:
parent
ceb7259fd9
commit
b55e69b618
|
|
@ -260,8 +260,9 @@ tar_strapdir() {
|
||||||
ckreq || return 1
|
ckreq || return 1
|
||||||
|
|
||||||
notice "creating a tarbomb of the rootfs..."
|
notice "creating a tarbomb of the rootfs..."
|
||||||
|
mkdir -p "$R/dist"
|
||||||
silly
|
silly
|
||||||
pushd "$strapdir"
|
pushd "$strapdir"
|
||||||
tar czf "$R/dist/${image_name}.tar.gz" . || zerr
|
sudo tar czf "$R/dist/${image_name}.tar.gz" . || zerr
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue