summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:34 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:34 +0200
commitd2b526b342cf6ababb1494dce5d4f6b30f3fb718 (patch)
tree96af5a431bc770e570bd40c09d041a4adcf2aa59 /src/scripts
parentfe7102be0cfa4b23ac583055dfdfc6241fd61179 (diff)
downloadlive-build-d2b526b342cf6ababb1494dce5d4f6b30f3fb718.zip
live-build-d2b526b342cf6ababb1494dce5d4f6b30f3fb718.tar.gz
Adding live-package 0.99.10-1.
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/02defaults.sh2
-rw-r--r--src/scripts/14chroot.sh6
-rw-r--r--src/scripts/23net.sh6
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 ]