Browse Source

reenable mock

website
axk4545 7 years ago
parent
commit
733596d9e6
2 changed files with 10 additions and 10 deletions
  1. +2
    -2
      README.md
  2. +8
    -8
      make-iso.sh

+ 2
- 2
README.md View File

@ -7,14 +7,14 @@ TigerOS
```
git clone https://github.com/RITlug/TigerOS.git
```
Install lorax-lmc-novirt
Install [mock](https://github.com/rpm-software-management/mock/wiki)
### Build the ISO
Requires current version of Fedora.x86\_64 to build.
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.
```
chmod +x make-iso.sh
bash make-iso.sh
./make-iso.sh
```
With a 3.40GHz dual core i3 CPU with hyperthreading enabled and 16GB of RAM, the build process after the initial build should take approximately 40 minutes to complete. The initial build time will vary based on specs.

+ 8
- 8
make-iso.sh View File

@ -18,13 +18,13 @@ then
echo "Please run this script as root (sudo $@$0)."
exit
fi
#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 --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
echo "${green}Beginning build process${reset}"
setenforce 0
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
#setenforce 0
#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}"
setenforce 1
#setenforce 1

Loading…
Cancel
Save