make_centos
make_centos copied to clipboard
Questions after testing & CentOS 8 Stream
Hello Fabian,
thanks for sharing this code!
I've tried it, and also tried to make some changes towards CentOS 8 Stream, here are my 5 cts. Environment: CentOS 7.
Run script "as-is" for CentOS 7.9.2009
- for some reason, "fetch" says "Server denied you to change to the given directory", possibly due to changed path
- "create" still works and ISO is created
- geniso (?) seems to install packages of the local system to the new ISO. Maybe this should be a configurable option. Which params/calls do trigger that actually?
- you let the script install for example curl on the fly; on my system dnf was not available, so I installed in manually to avoid script failure.
Try for CentOS 8 Stream
The trivial changes to find and adjust (however name schemes seem to have changed in the URLs so I just pasted proper values) was rather easy going so I could start the ISO creation.
Then following problems occured:
- The path of comps.xml file / its path seem to have changed (maybe if it's only related to the cleanup, not a big issue):
"Cleaning up unpacked ...
+ find unpacked -name TRANS.TBL -exec rm '{}' ';'
+ mv 'unpacked/repodata/*-cS-x86_64-comps.xml' unpacked/repodata/comps.xml
mv: cannot stat ‘unpacked/repodata/*-cS-x86_64-comps.xml’: No such file or directory
- This file is as it seems no more availalble and the following causes another error:
discinfo=`head -1 $DVD_LAYOUT/.discinfo