2020-05-02 00:00:17 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. CONFIG.sh
|
|
|
|
|
|
|
|
# set -o xtrace ## To debug scripts
|
|
|
|
# set -o errexit ## To exit on error
|
|
|
|
# set -o errunset ## To exit if a variable is referenced but not set
|
|
|
|
|
|
|
|
|
|
|
|
# Debootstrap process
|
|
|
|
function main() {
|
2020-05-02 01:10:29 +00:00
|
|
|
sudo debootstrap --arch=$ARCH $RELEASE "${CHROOT_PTH}"
|
2020-05-02 00:00:17 +00:00
|
|
|
}
|
|
|
|
main $@;
|