summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-28 19:40:28 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-28 19:40:28 +0100
commit649be758762baa3de4fe5a79a752b3addb33c10f (patch)
tree370310f04ff7a6c41baee25fd5616365905a7baf /data
parentf30f842b90dbd2c1c6668cfb1de366f98aa9a489 (diff)
downloadvyos-build-649be758762baa3de4fe5a79a752b3addb33c10f.tar.gz
vyos-build-649be758762baa3de4fe5a79a752b3addb33c10f.zip
hooks: adjust to Debian Buster base system
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/08-sysconf.chroot4
-rwxr-xr-xdata/live-build-config/hooks/live/10-unmountfs.chroot12
2 files changed, 0 insertions, 16 deletions
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