New target: make clean_repos
This commit is contained in:
parent
8ded5f9a31
commit
572f775f8f
4
Makefile
4
Makefile
@ -111,6 +111,10 @@ iso:
|
|||||||
isohybrid build/ISO/qubes-x86_64/iso/*.iso
|
isohybrid build/ISO/qubes-x86_64/iso/*.iso
|
||||||
rpm_verify build/work/revisor-install/*/qubes-x86_64/x86_64/os/Packages/*.rpm
|
rpm_verify build/work/revisor-install/*/qubes-x86_64/x86_64/os/Packages/*.rpm
|
||||||
|
|
||||||
|
clean-repos:
|
||||||
|
@echo "--> Removing old rpms from the installer repos..."
|
||||||
|
@(cd yum && ./clean_repos.sh)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr rpm/SOURCES/*.bz2
|
rm -fr rpm/SOURCES/*.bz2
|
||||||
rm -fr rpm/noarch/*.rpm
|
rm -fr rpm/noarch/*.rpm
|
||||||
|
8
yum/clean_repos.sh
Executable file
8
yum/clean_repos.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
for repo in dom0-updates installer qubes-dom0 ; do
|
||||||
|
echo "---> Cleaning up repo: $repo..."
|
||||||
|
rm -f $repo/rpm/*.rpm
|
||||||
|
rm -f $repo/repodata/*
|
||||||
|
createrepo -q $repo
|
||||||
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user