summaryrefslogtreecommitdiff
path: root/src/scripts/23net.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:40 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:40 +0200
commit9a9491318d4a0469e4c97b28879ab34391c39095 (patch)
treeea026c746cb88285b5f04cf0211e2e034534e639 /src/scripts/23net.sh
parentaf04c39b8b9a20d70e7123c57ec175e1b34d7d94 (diff)
downloadvyos-live-build-9a9491318d4a0469e4c97b28879ab34391c39095.tar.gz
vyos-live-build-9a9491318d4a0469e4c97b28879ab34391c39095.zip
Adding live-package 0.99.21-1.
Diffstat (limited to 'src/scripts/23net.sh')
-rw-r--r--src/scripts/23net.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/scripts/23net.sh b/src/scripts/23net.sh
index f9c2089d5..ef837f4c3 100644
--- a/src/scripts/23net.sh
+++ b/src/scripts/23net.sh
@@ -93,6 +93,22 @@ EOF
# Switching package indices to custom
Indices custom
+ # Install depends
+ if [ -z "${KEEP_MEMTEST86}" ]
+ then
+ if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
+ then
+ Patch_network apply
+ Chroot_exec "aptitude install --assume-yes memtest86+"
+ fi
+ fi
+
+ if [ -z "${KEEP_SYSLINUX}" ]
+ then
+ Patch_network apply
+ Chroot_exec "aptitude install --assume-yes syslinux"
+ fi
+
# Installing syslinux
Syslinux net
@@ -102,6 +118,20 @@ EOF
# Installing memtest
Memtest net
+ # Remove depends
+ if [ -z "${KEEP_SYSLINUX}" ]
+ then
+ if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
+ then
+ Chroot_exec "aptitude purge --assume-yes syslinux"
+ fi
+ fi
+
+ if [ -z "${KEEP_SYSLINUX}" ]
+ then
+ Chroot_exec "aptitude purge --assume-yes syslinux"
+ fi
+
# Deconfigure network
Patch_network deapply