-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Guide + Question] Using livemedia-creator to create an ISO in Github Actions #1362
Comments
The |
Thanks! I simplified the Would you like a PR to add an example livemedia-creator GH action to this repo? I could try pointing it at https://github.com/weldr/lorax/blob/master/docs/fedora-minimized.ks since it's already there, and it uses |
Thanks! I simplified the part / section, and the --squashfs-only flag saved ~5 minutes too. Nice! Would you like a PR to add an example livemedia-creator GH action to this repo? Sure, PR's always welcome! |
Thank you for waiting, just got back from a little vacation. I'm working on the PR in #1374. I think you can only link the issue if you're a maintainer? But feel free to close this issue too, I'm just not sure how you like to organize this project. |
I think I finally have a custom Fedora ISO built from inside Github Actions! There's a couple areas I have questions on. (Fyi it takes ~40-50min)
My command to create the image so far is:
Contents of Fedora-custom-ks.cfg so far
A working GH action, in case anyone is looking to do the same
My main goal is to have a custom ISO with extra packages installed, and (eventually) a custom Desktop Environment added to the iso. I still want users to "install" the iso to their system with setting up partitions themselves, along with the root and user accounts, etc.
It seems like with
livemedia-creator --make-iso --iso-only --no-virt ...
, thepart /
argument is still required. I can't useautopart
either to just ignore it. I want this part to be exactly like the Fedora install setup, where users customize it themselves. Maybe I don't understand what this param does? Or is livemedia-creator not the right tool for what I'm trying to do?part /
is setting up the partitions to use after the install, I want this to be completely on the user. Like fedora currently, where you have to select what drives to wipe, then click a button to add a sensible/boot
,/
,swap
, etc. But you still can override and customize that area. Does this just declare what "sensible" is maybe? With--iso-only
, I'm hoping users can still customize the install process.--no-virt
passed, so it should be doing everything inside the container. No vm needed?--size=1 --grow
. Can I just have a placeholder one like above, and ignore this key otherwise?Also I've noticed the longest step is easily when it says
Creating a squashfs+ext4 runtime
towards the end of the output to the console. Is there anything I could potentially do to speed this up? I'm going to look at adding caching to the dnf install step too, is there another directory I could try to cache too maybe?The text was updated successfully, but these errors were encountered: