From 9137e1d3bafed6853d1e77ea6c2f2cedbd7f741e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Tue, 29 Nov 2016 18:49:19 +0100 Subject: [PATCH] Handle systems without / merged in /usr debootstrap's change that enabled this feature got reverted and now our live-config scripts are no longer used. Make sure to put them back at the correct place when needed. --- kali-config/common/hooks/live/kali-hacks.chroot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kali-config/common/hooks/live/kali-hacks.chroot b/kali-config/common/hooks/live/kali-hacks.chroot index b0a30b5..557d6c5 100755 --- a/kali-config/common/hooks/live/kali-hacks.chroot +++ b/kali-config/common/hooks/live/kali-hacks.chroot @@ -1,5 +1,10 @@ #!/bin/sh +# Handle systems where /lib is not merged in /usr/lib +if [ ! -h /lib ]; then + mv /usr/lib/live/config/* /lib/live/config/ +fi + # Manually enabling pulseaudio for root since autospawning does # not work for root # See https://bugs.kali.org/view.php?id=2392