summaryrefslogtreecommitdiffstats
path: root/gentoox_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gentoox_build.sh')
-rwxr-xr-xgentoox_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoox_build.sh b/gentoox_build.sh
index 071100b..c972a46 100755
--- a/gentoox_build.sh
+++ b/gentoox_build.sh
@@ -515,6 +515,8 @@ if [[ ! -z $build_iso ]]; then
cat <<HEREDOC | chroot .
rm -f /tmp/*
rm -rf /var/tmp/portage/*
+ rm -f /usr/src/linux/.tmp*
+ find /usr/src/linux/ -name "*.o" -exec rm -f {} \;
history -c
history -w
HEREDOC