|
@ -15,12 +15,12 @@ then |
|
|
exit |
|
|
exit |
|
|
fi |
|
|
fi |
|
|
wget -O tigeros-source.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/tigeros-source.ks |
|
|
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 |
|
|
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/ |
|
|
rm -rf /var/lib/mock/ |
|
|
cd /srv/isos |
|
|
cd /srv/isos |
|
|
rm -rf CHECKSUM512-source-$(date +%Y%m%d) |
|
|
rm -rf CHECKSUM512-source-$(date +%Y%m%d) |
|
|