Browse Source

Remove repkg packages from base install.

Change ISO result dir from /var/lmc to /var/lmc/TigerOS
pull/142/head
Tim Zabel 3 years ago
parent
commit
72e78166c8
No known key found for this signature in database GPG Key ID: BCF88DA26C612113
2 changed files with 7 additions and 7 deletions
  1. +0
    -2
      kickstarts/tigeros.ks
  2. +7
    -5
      make-iso.sh

+ 0
- 2
kickstarts/tigeros.ks View File

@ -433,8 +433,6 @@ tigeros-dash-to-dock
tigeros-ff-profile
tigeros-logos
tigeros-release
tigeros-repkg-jflap
tigeros-repkg-logisim
tigeros-repos
tigeros-scripts
tigeros-ui-tweaks

+ 7
- 5
make-iso.sh View File

@ -11,6 +11,8 @@ set -eu
green=`tput setaf 2`
reset=`tput sgr0`
vers=28
result_dir=/var/lmc/TigerOS
#to use mock comment out lines 25, $vers and 30 and uncomment all lines beginning with mock
echo "${green}Welcome to the TigerOS build script${reset}"
# Check that the current user is root
@ -19,15 +21,15 @@ then
echo "Please run this script as root (sudo $@$0)."
exit
fi
# /var/lmc cannot exist before building
if [ -d /var/lmc ]
# /var/lmc/TigerOS cannot exist before building
if [ -d $result_dir ]
then
rm -rf /var/lmc
rm -rf $result_dir
fi
dnf install -y lorax-lmc-novirt git vim-minimal pykickstart
dnf install -y https://mirrors.ritlug.com/TigerOS/$vers/packages/x86_64/anaconda-installclass-tigeros-$vers-1.fc$vers.x86_64.rpm
echo "${green}Beginning build process${reset}"
setenforce 0
livemedia-creator --ks kickstarts/tigeros.ks --no-virt --resultdir /var/lmc --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever $vers --title TigerOS-live --macboot
echo "${green}ISO saved to /var/lmc/TigerOS.iso${reset}"
livemedia-creator --ks kickstarts/tigeros.ks --no-virt --resultdir $result_dir --project TigerOS-Live --make-iso --volid TigerOS --iso-only --iso-name TigerOS.iso --releasever $vers --title TigerOS-live --macboot
echo "${green}ISO saved to $result_dir/TigerOS.iso${reset}"
setenforce 1

Loading…
Cancel
Save