We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c7e06 commit 82c39e2Copy full SHA for 82c39e2
plugins/functions
@@ -176,7 +176,7 @@ do_debootstrap() {
176
fi
177
178
if ! $no_compression; then
179
- do_compress bzip
+ do_compress $chroot_dir
180
181
}
182
@@ -205,7 +205,7 @@ arch_translate() {
205
206
207
do_second_stage() {
208
- local chroot_dir=$1
+ chroot_dir=$1
209
local arch=$2
210
do_qemu_user_emulation
211
do_chroot_ae "$chroot_dir" /bin/bash /debootstrap/debootstrap --second-stage
@@ -236,6 +236,7 @@ do_chroot_ae() {
236
do_compress() {
237
#compression
238
export TARGET_FILE
239
+ export chroot_dir=$1
240
TARGET_FILE="$(basename ${chroot_dir})"
241
if [ -n "$OVERRIDER_COMPRESSION_TYPE" ]; then
242
case $1 in
0 commit comments