update the sources list if needed when unpacking the tarball
This commit is contained in:
parent
520a27422d
commit
e244de8be4
|
|
@ -147,6 +147,8 @@ bootstrap_tar_unpack() {
|
||||||
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
|
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list >/dev/null
|
||||||
|
|
||||||
cat <<EOF | sudo tee ${strapdir}/postunpack >/dev/null
|
cat <<EOF | sudo tee ${strapdir}/postunpack >/dev/null
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue