From 649be758762baa3de4fe5a79a752b3addb33c10f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 28 Dec 2020 19:40:28 +0100 Subject: hooks: adjust to Debian Buster base system --- data/live-build-config/hooks/live/08-sysconf.chroot | 4 ---- data/live-build-config/hooks/live/10-unmountfs.chroot | 12 ------------ 2 files changed, 16 deletions(-) delete mode 100755 data/live-build-config/hooks/live/10-unmountfs.chroot (limited to 'data/live-build-config') diff --git a/data/live-build-config/hooks/live/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot index d403d04b..d0014745 100755 --- a/data/live-build-config/hooks/live/08-sysconf.chroot +++ b/data/live-build-config/hooks/live/08-sysconf.chroot @@ -1,9 +1,5 @@ #!/bin/sh -for conf in motd.tail syslog.conf; do - cp -f /opt/vyatta/etc/$conf /etc/$conf -done - cp -f /opt/vyatta/etc/default_ssh /etc/default/ssh >/etc/pam_radius_auth.conf diff --git a/data/live-build-config/hooks/live/10-unmountfs.chroot b/data/live-build-config/hooks/live/10-unmountfs.chroot deleted file mode 100755 index 7992a4d2..00000000 --- a/data/live-build-config/hooks/live/10-unmountfs.chroot +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# hack umountfs script to cleanly unmount live systems - -sed \ - -e '/proc|procfs|linprocfs/ s/)/|squashfs|iso9660)/' \ - -e '/tmpfs)/ a\ - [ "$MTPT" != "/media" ] && \ - [ "$MTPT" != "/live" ] && \ - [ "$MTPT" != "/live/cow" ] && -' \ - -i /etc/init.d/umountfs -- cgit v1.2.3