cleanup fixes
This commit is contained in:
parent
ca602fab71
commit
d0d1447e2b
3
Makefile
3
Makefile
@ -25,7 +25,8 @@ update-repo-installer:
|
||||
clean:
|
||||
sudo rm -fr qubeized_images/root.img.*
|
||||
sudo rm -fr qubeized_images/$(TEMPLATE_NAME)*
|
||||
sudo rm -fr rpmbuild/*
|
||||
sudo rm -fr rpmbuild/BUILDROOT/*
|
||||
sudo rm -fr rpmbuild/tmp/*
|
||||
# We're not removing any images from fedorized_images/ intentionally
|
||||
# because the user might want to keep using the same image for a long time
|
||||
# and they are not dependent on any of the Qubes packahes
|
||||
|
@ -15,7 +15,7 @@ fi
|
||||
ls -als $IMG
|
||||
mount -o loop $IMG mnt || exit 1
|
||||
INSTALLDIR=`pwd`/mnt/
|
||||
yum clean packages --installroot=$INSTALLDIR
|
||||
yum -c $PWD/yum.conf clean packages --installroot=$INSTALLDIR
|
||||
dd if=/dev/zero of=mnt/fillme bs=1M
|
||||
sync
|
||||
rm mnt/fillme
|
||||
|
Loading…
Reference in New Issue
Block a user