summaryrefslogtreecommitdiffstats
path: root/src/profile/proteanos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile/proteanos.sh')
-rw-r--r--src/profile/proteanos.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index 761f9b5..f322adf 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -436,10 +436,16 @@ prof_proteanos_make_initramfs()
fi
;;
esac
+
# Hack to rerun install-lilo:
session_begin . . true
session_exec run-parts /etc/kernel/postinst.d
session_end
+
+ find . -xdev -a \! -path './boot/*' -a \
+ \! -path './prokit/*' -a \! -type d | \
+ xargs rm -f
+
return 0
}