Browse Source

update build scripts to 26

website
axk4545 7 years ago
parent
commit
9c0c4f8630
3 changed files with 11 additions and 11 deletions
  1. +5
    -5
      ci-build-mock.sh
  2. +1
    -1
      ci-build.sh
  3. +5
    -5
      ci-pungi.sh

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

@ -15,12 +15,12 @@ then
exit
fi
wget -O tigeros.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros.ks
mock -r fedora-25-x86_64 --init
mock -r fedora-25-x86_64 --copyin tigeros.ks ./tigeros.ks
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"
mock -r fedora-26-x86_64 --init
mock -r fedora-26-x86_64 --copyin tigeros.ks ./tigeros.ks
mock -r fedora-26-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart
mock -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 -r fedora-25-x86_64 --copyout /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
mock -r fedora-26-x86_64 --copyout /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /var/lib/mock/
cd /srv/isos
rm -rf CHECKSUM512-$(date +%Y%m%d)

+ 1
- 1
ci-build.sh View File

@ -17,7 +17,7 @@ fi
setenforce 0
rm -rf tigeros.ks
wget -O tigeros.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros.ks
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
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
cp -f /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /var/lmc/
cd /srv/isos

+ 5
- 5
ci-pungi.sh View File

@ -15,12 +15,12 @@ then
exit
fi
wget -O tigeros-source.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros-source.ks
mock -r fedora-25-x86_64 --init
mock -r fedora-25-x86_64 --copyin tigeros-source.ks ./tigeros-source.ks
mock -r fedora-25-x86_64 --install pungi
mock -r fedora-25-x86_64 --chroot "pungi -G -c tigeros-source.ks --name=TigerOS --ver 25 --force && pungi -C -c tigeros-source.ks --name=TigerOS --ver=25 --force && pungi -I -c tigeros-source.ks --name=TigerOS --ver=25 --sourceisos --force"
mock -r fedora-26-x86_64 --init
mock -r fedora-26-x86_64 --copyin tigeros-source.ks ./tigeros-source.ks
mock -r fedora-26-x86_64 --install pungi
mock -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 -r fedora-25-x86_64 --copyout /25/source/iso/TigerOS-DVD-source-25.iso /srv/isos/TigerOS-source-$(date +%Y%m%d).iso
mock -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 /var/lib/mock/
cd /srv/isos
rm -rf CHECKSUM512-source-$(date +%Y%m%d)

Loading…
Cancel
Save