summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/10-unmountfs.chroot
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/live-build-config/hooks/live/10-unmountfs.chroot
parentf30f842b90dbd2c1c6668cfb1de366f98aa9a489 (diff)
downloadvyos-build-649be758762baa3de4fe5a79a752b3addb33c10f.tar.gz
vyos-build-649be758762baa3de4fe5a79a752b3addb33c10f.zip
hooks: adjust to Debian Buster base system
Diffstat (limited to 'data/live-build-config/hooks/live/10-unmountfs.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/10-unmountfs.chroot12
1 files changed, 0 insertions, 12 deletions
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