Browse Source

fix date in iso

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

+ 2
- 2
ci-build.sh View File

@ -18,10 +18,10 @@ setenforce 0
rm -rf tigeros.ks rm -rf tigeros.ks
wget -O tigeros.ks https://raw.githubusercontent.com/RITlug/TigerOS/master/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 25 --title TigerOS-live --macboot
cp -f /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%d%m).iso
cp -f /var/lmc/TigerOS.iso /srv/isos/TigerOS-$(date +%Y%m%d).iso
rm -rf /var/lmc/ rm -rf /var/lmc/
cd /srv/isos cd /srv/isos
sha512sum TigerOS-$(date +%Y%d%m).iso > CHECKSUM512-$(date +%Y%d%m)
sha512sum TigerOS-$(date +%Y%m%d).iso > CHECKSUM512-$(date +%Y%m%d)
chown -R nginx:nginx /srv chown -R nginx:nginx /srv
chmod 755 /srv/isos/*.iso chmod 755 /srv/isos/*.iso
cd /home/build cd /home/build

Loading…
Cancel
Save