Skip to content

Instantly share code, notes, and snippets.

@danielhams
Created August 8, 2020 14:07
Show Gist options
  • Save danielhams/d9315e2af747398e6a754750f8682455 to your computer and use it in GitHub Desktop.
Save danielhams/d9315e2af747398e6a754750f8682455 to your computer and use it in GitHub Desktop.
How to generate the world builder and minimal install set scripts
# Make some directories where stuff will be dumped
mkdir -p ~/build0.0.6/SCRIPTS
mkdir -p ~/build0.0.6/OUTPUT
cd ~/build0.0.6/SCRIPTS
# Run the world builder to generate a script that will build the world
# Be careful that the sgug-rse GIT repo should be on the release branch
# and up to date (you must do this manually)
sgug_world_builder -i /path/to/the/0.0.6/SRPMS -o ~/build0.0.6/OUTPUT -g ~/sgug-rse.git
# (It will run for a while)
# Now edit the generated file - it will remove everything under ~/rpmbuild when run - so
# you must edit the script to agree to this. BACK UP ANYTHING YOU WANT TO KEEP UNDER ~/rpmbuild
nano ./worldrebuilder.sh
# Make it executable
chmod u+x ./worldrebuilder.sh
# Launch it as your user, not root
# CARE - this will take a LONG time
./worldrebuilder.sh
@dillera
Copy link

dillera commented Aug 8, 2020

make sure you extract the rse rpms/srpms somewhere not ~/rpmbuild and point -i to that dir i.e.

~/rse6-rpms/[RPMS SRPMS]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment