Browse Source

fix path in accordnace with directory choice changes

devel
axk4545 7 years ago
parent
commit
2fd49d7a4c
2 changed files with 10 additions and 10 deletions
  1. +5
    -5
      build-scripts/ci-build-mock.sh
  2. +5
    -5
      build-scripts/ci-pungi.sh

+ 5
- 5
build-scripts/ci-build-mock.sh View File

@ -20,13 +20,13 @@ mock --old-chroot -r fedora-26-x86_64 --copyin kickstarts/tigeros.ks ./tigeros.k
mock --old-chroot -r fedora-26-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart
mock --old-chroot -r fedora-26-x86_64 --install https://tigeros.ritlug.com/packages/x86_64/anaconda-installclass-tigeros-26-1.fc26.x86_64.rpm
mock --old-chroot -r fedora-26-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 26 --title TigerOS-live --macboot"
rm -rf /srv/isos/TigerOS-$(date +%Y%m%d).iso
mock --old-chroot -r fedora-26-x86_64 --copyout /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /usr/share/nginx/html/isos/TigerOS-$(date +%Y%m%d).iso
mock --old-chroot -r fedora-26-x86_64 --copyout /var/lmc/TigerOS.iso /usr/share/nginx/html/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /var/lib/mock/
cd /srv/isos
cd /usr/share/nginx/html/isos
rm -rf CHECKSUM512-$(date +%Y%m%d)
sha512sum TigerOS-$(date +%Y%m%d).iso > CHECKSUM512-$(date +%Y%m%d)
chown -R nginx:nginx /srv
chmod 755 /srv/isos/*.iso
chown -R nginx:nginx /usr/share/nginx/html/
chmod 755 /usr/share/nginx/html/isos/*.iso
echo "Build finished"

+ 5
- 5
build-scripts/ci-pungi.sh View File

@ -20,13 +20,13 @@ mock --old-chroot -r fedora-26-x86_64 --copyin kickstarts/tigeros-source.ks ./ti
mock --old-chroot -r fedora-26-x86_64 --install pungi
mock --old-chroot -r fedora-26-x86_64 --install https://tigeros.ritlug.com/packages/x86_64/anaconda-installclass-tigeros-26-1.fc26.x86_64.rpm
mock --old-chroot -r fedora-26-x86_64 --chroot "pungi -G -c tigeros-source.ks --name=TigerOS --ver 26 --force && pungi -C -c tigeros-source.ks --name=TigerOS --ver=26 --force && pungi -I -c tigeros-source.ks --name=TigerOS --ver=26 --sourceisos --force"
rm -rf /srv/isos/TigerOS-source-$(date +%Y%m%d).iso
mock --old-chroot -r fedora-26-x86_64 --copyout /26/source/iso/TigerOS-DVD-source-26.iso /srv/isos/TigerOS-source-$(date +%Y%m%d).iso
rm -rf /usr/share/nginx/html/isos/TigerOS-source-$(date +%Y%m%d).iso
mock --old-chroot -r fedora-26-x86_64 --copyout /26/source/iso/TigerOS-DVD-source-26.iso /usr/share/nginx/html/isos/TigerOS-source-$(date +%Y%m%d).iso
rm -rf /var/lib/mock/
cd /srv/isos
cd /usr/share/nginx/html/isos
rm -rf CHECKSUM512-source-$(date +%Y%m%d)
sha512sum TigerOS-source-$(date +%Y%m%d).iso > CHECKSUM512-source-$(date +%Y%m%d)
chown -R nginx:nginx /srv
chmod 755 /srv/isos/*.iso
chown -R nginx:nginx /usr/share/nginx/html
chmod 755 /usr/share/nginx/html/isos/*.iso
echo "Pungi finished"

Loading…
Cancel
Save