Renumbering hooks.
This commit is contained in:
parent
52c72ea042
commit
7c3f244741
|
@ -600,44 +600,23 @@ Set_defaults ()
|
||||||
LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}"
|
LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}"
|
||||||
|
|
||||||
# Setting distribution hooks
|
# Setting distribution hooks
|
||||||
case "${LB_MODE}" in
|
LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \
|
||||||
*)
|
remove-adjtime-configuration \
|
||||||
LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
|
remove-apt-sources-lists \
|
||||||
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-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-dbus-machine-id \
|
||||||
remove-gnome-icon-cache \
|
remove-gnome-icon-cache \
|
||||||
|
remove-log-files \
|
||||||
|
remove-mdadm-configuration \
|
||||||
remove-openssh-server-host-keys \
|
remove-openssh-server-host-keys \
|
||||||
remove-python-py \
|
remove-python-py \
|
||||||
remove-udev-persistent-rules \
|
|
||||||
remove-mdadm-configuration \
|
|
||||||
remove-adjtime-configuration \
|
|
||||||
disable-kexec-tools \
|
|
||||||
remove-backup-files \
|
|
||||||
remove-temporary-files \
|
remove-temporary-files \
|
||||||
remove-log-files \
|
remove-udev-persistent-rules \
|
||||||
update-nvidia-alternative \
|
update-apt-file-cache \
|
||||||
update-glx-alternative}"
|
update-apt-xapian-index \
|
||||||
;;
|
update-glx-alternative \
|
||||||
esac
|
update-mlocate-database \
|
||||||
|
update-nvidia-alternative}"
|
||||||
|
|
||||||
# Setting interactive shell/X11/Xnest
|
# Setting interactive shell/X11/Xnest
|
||||||
LB_INTERACTIVE="${LB_INTERACTIVE:-false}"
|
LB_INTERACTIVE="${LB_INTERACTIVE:-false}"
|
||||||
|
|
Loading…
Reference in New Issue