summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-17 00:20:50 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-17 00:22:28 +0100
commita46350d7b3a0e31d720cc3c3ac1345e012ceab2d (patch)
treedca5717fc2a5a78bd762fe9656d90535721f4ecb /functions/defaults.sh
parent9d9e343f952f1a4058b060b52bca40a11b64a63c (diff)
downloadvyos-live-build-a46350d7b3a0e31d720cc3c3ac1345e012ceab2d.tar.gz
vyos-live-build-a46350d7b3a0e31d720cc3c3ac1345e012ceab2d.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 07b8e0590..12b719fd2 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -621,44 +621,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}"