summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-01-22 22:31:27 +0100
committerDaniel Baumann <daniel@debian.org>2012-02-06 23:15:10 +0100
commitee58b8ab8d1b469679fb080fb08a4b30ea0b4aaa (patch)
tree813ddcf9f13a0725eb1f0233ece7ac3d18ca12e3 /functions
parentdb064f3787b55d4c2a5c8b5217971fd8d7bdc5ce (diff)
downloadvyos-live-build-ee58b8ab8d1b469679fb080fb08a4b30ea0b4aaa.tar.gz
vyos-live-build-ee58b8ab8d1b469679fb080fb08a4b30ea0b4aaa.zip
Applying patch from Ivailo Monev to remove stage files for pseudo-filesystems helpers in exit function.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/exit.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/exit.sh b/functions/exit.sh
index 8bf19aaac..a692312e8 100755
--- a/functions/exit.sh
+++ b/functions/exit.sh
@@ -35,6 +35,11 @@ Exit ()
done
fi
+ rm -f .stage/chroot_devpts
+ rm -f .stage/chroot_proc
+ rm -f .stage/chroot_selinuxfs
+ rm -f .stage/chroot_sysfs
+
Echo_message "Saving caches..."
# We can't really know at which part we're failing,