14 lines
359 B
Text
14 lines
359 B
Text
|
|
exec >&2
|
||
|
|
fs=${1%.fs}
|
||
|
|
|
||
|
|
# let's *not* delete this directory; it's okay if previously-downloaded
|
||
|
|
# excess packages hang around in case we need them later.
|
||
|
|
#rm -rf "$fs"
|
||
|
|
mkdir -p "$fs"
|
||
|
|
redo-ifchange debootstrap.options
|
||
|
|
debootstrap \
|
||
|
|
--download-only \
|
||
|
|
--keep-debootstrap-dir \
|
||
|
|
$(cat debootstrap.options) \
|
||
|
|
"$fs"
|
||
|
|
redo-ifchange "$fs/debootstrap/debootstrap.log"
|