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
|
||||
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue