Browse Source

update to exclude mock stuff

website
axk4545 7 years ago
parent
commit
9d89ed24ad
2 changed files with 7 additions and 7 deletions
  1. +0
    -1
      README.md
  2. +7
    -6
      make-iso.sh

+ 0
- 1
README.md View File

@ -7,7 +7,6 @@ TigerOS
```
git clone https://github.com/RITlug/TigerOS.git
```
* Install [Mock](https://github.com/rpm-software-management/mock/wiki) according to your system.
### Build the ISO
From the directory where you cloned this repo run the commands below. You may need to preface it with `sudo` if you do not have root privileges.
```

+ 7
- 6
make-iso.sh View File

@ -12,11 +12,12 @@ green=`tput setaf 2`
reset=`tput sgr0`
echo "${green}Welcome to the TigerOS build script${reset}"
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 svn
mock -r fedora-25-x86_64 --chroot "svn export https://github.com/RITlug/TigerOS/trunk/scripts/"
#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 svn
#mock -r fedora-25-x86_64 --chroot "svn export https://github.com/RITlug/TigerOS/trunk/scripts/"
echo "${green}Beginning build process${reset}"
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-25-x86_64 --copyout /var/lmc/TigerOS.iso TigerOS.iso
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-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-25-x86_64 --copyout /var/lmc/TigerOS.iso TigerOS.iso
echo "${green}ISO saved to $(pwd)/TigerOS.iso${reset}"

Loading…
Cancel
Save