From 07ce345ba6c6331b0d4edb9133509d43bfe51aad Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 May 2014 15:05:31 +0200 Subject: mklive: misc tweaks to generate a proper image with runit. --- mklive.sh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mklive.sh.in') diff --git a/mklive.sh.in b/mklive.sh.in index d47f611..e1cd209 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -123,6 +123,8 @@ install_packages() { else install -Dm755 /usr/sbin/void-installer $ROOTFS/usr/sbin/void-installer fi + # Cleanup and remove useless stuff. + rm -rf $ROOTFS/var/cache/* $ROOTFS/run/* $ROOTFS/var/run/* } copy_dracut_files() { -- cgit 1.4.1