Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-11-08 10:40:53 +0100
committerPetter Reinholdtsen <pere@hungry.com>2014-11-08 10:40:53 +0100
commit6ef6b4e43175464c78849c9bb0544ff8240039b6 (patch)
treec3fed8a58c4e8a9c4297d155e9e6675f88f816a7 /bin/freedombox-customize
parent421aed0cff9e1c27de1643f2ce13770b52e2807d (diff)
Add code to kill leftover processes in the chroot before umounting, to work around strange issue with epmd.
Diffstat (limited to 'bin/freedombox-customize')
-rwxr-xr-xbin/freedombox-customize6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/freedombox-customize b/bin/freedombox-customize
index 9699048..51f4407 100755
--- a/bin/freedombox-customize
+++ b/bin/freedombox-customize
@@ -58,3 +58,9 @@ rm $rootdir/usr/sbin/policy-rc.d
chroot $rootdir /usr/lib/freedombox/setup 2>&1 | \
tee $rootdir/var/log/freedombox-setup.log
+
+
+cd /
+echo "info: killing leftover processes in chroot"
+# 2014-11-04 this killed /usr/lib/erlang/erts-6.2/bin/epmd
+fuser -mvk $rootdir/.