diff options
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/02defaults.sh | 2 | ||||
-rw-r--r-- | src/scripts/14chroot.sh | 6 | ||||
-rw-r--r-- | src/scripts/23net.sh | 6 |
3 files changed, 13 insertions, 1 deletions
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh index d23c021..dffa490 100644 --- a/src/scripts/02defaults.sh +++ b/src/scripts/02defaults.sh @@ -53,7 +53,7 @@ Defaults () # Set debian distribution if [ -z "${LIVE_DISTRIBUTION}" ] then - LIVE_DISTRIBUTION="unstable" + LIVE_DISTRIBUTION="testing" else case "${LIVE_DISTRIBUTION}" in "${CODENAME_OLDSTABLE}") diff --git a/src/scripts/14chroot.sh b/src/scripts/14chroot.sh index e264128..bf38040 100644 --- a/src/scripts/14chroot.sh +++ b/src/scripts/14chroot.sh @@ -27,6 +27,9 @@ Chroot () # Configure network Patch_network apply + # Mount proc + mount proc-live -t proc "${LIVE_CHROOT}"/proc + # Configure sources.list Indices custom @@ -129,6 +132,9 @@ Chroot () # Remove cdebootstrap packages cache rm -rf "${LIVE_CHROOT}"/var/cache/bootstrap + # Unmount proc + umount "${LIVE_CHROOT}"/proc + # Deconfigure network Patch_network deapply diff --git a/src/scripts/23net.sh b/src/scripts/23net.sh index 02869dd..78a0361 100644 --- a/src/scripts/23net.sh +++ b/src/scripts/23net.sh @@ -28,9 +28,15 @@ Net () mv "${MANIFEST}" "${LIVE_ROOT}"/binary/casper/ done + # Mount proc + mount proc-live -t proc "${LIVE_CHROOT}"/proc + # Installing smbfs Chroot_exec "apt-get install --yes --force-yes smbfs" + # Unmount proc + umount "${LIVE_CHROOT}"/proc + if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ] then if [ ! -d "${LIVE_CHROOT}"/etc/initramfs-tools ] |