summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-17 00:22:33 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:02 +0200
commit0eb6a7bdaedbdbcf66fb9d12c24b65b4854df415 (patch)
tree7cf664359938105614053007da09caa7d86f79bf /functions/defaults.sh
parent798e68096a8a5368b290f3b79b81c0574660d73b (diff)
downloadvyos-live-build-0eb6a7bdaedbdbcf66fb9d12c24b65b4854df415.tar.gz
vyos-live-build-0eb6a7bdaedbdbcf66fb9d12c24b65b4854df415.zip
Renumbering hooks.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh55
1 files changed, 17 insertions, 38 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index f4863b6ee..120083359 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -600,44 +600,23 @@ Set_defaults ()
LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}"
# Setting distribution hooks
- case "${LB_MODE}" in
- *)
- LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
- update-apt-xapian-index \
- update-mlocate-database \
- remove-dbus-machine-id \
- remove-openssh-server-host-keys \
- remove-python-py \
- remove-udev-persistent-rules \
- remove-mdadm-configuration \
- remote-adjtime-configuration \
- disable-kexec-tools \
- remove-backup-files \
- remove-temporary-files \
- remove-log-files \
- update-nvidia-alternative \
- update-glx-alternative}"
- ;;
-
- kubuntu)
- LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
- update-apt-xapian-index \
- update-mlocate-database \
- remove-dbus-machine-id \
- remove-gnome-icon-cache \
- remove-openssh-server-host-keys \
- remove-python-py \
- remove-udev-persistent-rules \
- remove-mdadm-configuration \
- remove-adjtime-configuration \
- disable-kexec-tools \
- remove-backup-files \
- remove-temporary-files \
- remove-log-files \
- update-nvidia-alternative \
- update-glx-alternative}"
- ;;
- esac
+ LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \
+ remove-adjtime-configuration \
+ remove-apt-sources-lists \
+ remove-backup-files \
+ remove-dbus-machine-id \
+ remove-gnome-icon-cache \
+ remove-log-files \
+ remove-mdadm-configuration \
+ remove-openssh-server-host-keys \
+ remove-python-py \
+ remove-temporary-files \
+ remove-udev-persistent-rules \
+ update-apt-file-cache \
+ update-apt-xapian-index \
+ update-glx-alternative \
+ update-mlocate-database \
+ update-nvidia-alternative}"
# Setting interactive shell/X11/Xnest
LB_INTERACTIVE="${LB_INTERACTIVE:-false}"