projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not build epub/pdf by default.
[grml-live.git]
/
etc
/
grml
/
fai
/
grml
/
grml_cleanup_chroot
diff --git
a/etc/grml/fai/grml/grml_cleanup_chroot
b/etc/grml/fai/grml/grml_cleanup_chroot
index
d774289
..
9e78a9f
100755
(executable)
--- a/
etc/grml/fai/grml/grml_cleanup_chroot
+++ b/
etc/grml/fai/grml/grml_cleanup_chroot
@@
-112,13
+112,6
@@
einfo "Removing pid-files"
find /var/run -name \*.pid -exec rm {} \;
eend $?
find /var/run -name \*.pid -exec rm {} \;
eend $?
-einfo "Unmounting proc, /dev/pts, /dev/capi"
- umount /proc 2>/dev/null
- umount /dev/pts 2>/dev/null
- umount /dev/capi 2>/dev/null
- umount -a 2>/dev/null
-eend $?
-
einfo "Removing /var/lib/apt/lists/*-stuff, dpkg-status-old and pkgcache.bin"
rm -f /var/lib/apt/lists/*Packages
rm -f /var/lib/apt/lists/*Release
einfo "Removing /var/lib/apt/lists/*-stuff, dpkg-status-old and pkgcache.bin"
rm -f /var/lib/apt/lists/*Packages
rm -f /var/lib/apt/lists/*Release
@@
-336,18
+329,12
@@
fi
if [ -x /usr/bin/updatedb ] ; then
einfo "Updating locate-database"
if [ -x /usr/bin/updatedb ] ; then
einfo "Updating locate-database"
- mount -t proc none /proc
updatedb --prunepaths='/tmp /usr/tmp /var/tmp /grml /root /proc /sys'
updatedb --prunepaths='/tmp /usr/tmp /var/tmp /grml /root /proc /sys'
- umount /proc
eend $?
else
ewarn "updatedb not installed" ; eend 0
fi
eend $?
else
ewarn "updatedb not installed" ; eend 0
fi
-einfo "Unmounting all filesystems"
- umount -a
-eend $?
-
################################################################################
# MISC STUFF
# ~~~~~~~~~~
################################################################################
# MISC STUFF
# ~~~~~~~~~~