Browse Source

remove /var/lib/mock after build

website
axk4545 7 years ago
parent
commit
dd0ede72d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ci-build-mock.sh

+ 1
- 1
ci-build-mock.sh View File

@ -21,7 +21,7 @@ mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart
mock -r fedora-25-x86_64 --chroot "livemedia-creator --ks tigeros.ks --no-virt --resultdir /var/lmc --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever 25 --title TigerOS-live --macboot"
rm -rf /srv/isos/TigerOS-$(date +%Y%m%d).iso
mock -r fedora-25-x86_64 --copyout /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /var/lmc/
rm -rf /var/lib/mock/
cd /srv/isos
rm -rf CHECKSUM512-$(date +%Y%m%d)
sha512sum TigerOS-$(date +%Y%m%d).iso > CHECKSUM512-$(date +%Y%m%d)

Loading…
Cancel
Save