summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-02-21 20:03:57 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:36:05 +0100
commit09f88a6e3837f71343dacb1bf7c6411183cca2cf (patch)
tree93f74f348b4bb727f53393a42177a86a965d5d54 /helpers/lh_chroot_hacks
parent1ffce292fb24b3e77605a76e2388172927bebae7 (diff)
downloadlive-build-09f88a6e3837f71343dacb1bf7c6411183cca2cf.zip
live-build-09f88a6e3837f71343dacb1bf7c6411183cca2cf.tar.gz
Adding apt/aptitude options.
By using APT_OPTIONS and APTITUDE_OPTIONS in config/common, one can manipulate the default options wich is made to each and every apt and aptitude call.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-xhelpers/lh_chroot_hacks10
1 files changed, 1 insertions, 9 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 1dd4850..ffa9d9c 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -54,15 +54,7 @@ case "${LH_BINARY_IMAGES}" in
net)
if [ ! -f chroot/usr/bin/smbmount ]
then
- case "${LH_APT}" in
- apt|apt-get)
- Chroot "apt-get install --yes smbfs"
- ;;
-
- aptitude)
- Chroot "aptitude install --assume-yes smbfs"
- ;;
- esac
+ Apt install smbfs
fi
if [ ! -d chroot/etc/initramfs-tools ]