Skip to content

Instantly share code, notes, and snippets.

@M4rtinK
Created December 2, 2021 16:09
Show Gist options
  • Save M4rtinK/1c3a7410aebb9999c95661b91725b160 to your computer and use it in GitHub Desktop.
Save M4rtinK/1c3a7410aebb9999c95661b91725b160 to your computer and use it in GitHub Desktop.
How to create updates image with early web ui prototype for the boot iso
git clone https://github.com/rhinstaller/anaconda
cd anaconda
git remote add mkolman https://github.com/M4rtinK/anaconda
git fetch mkolman
git checkout master-cockpit_web_ui_prototype
wget https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20211130.n.0/compose/Everything/x86_64/os/Packages/c/cockpit-ws-258-1.fc36.x86_64.rpm
./scripts/makeupdates -a cockpit-ws-258-1.fc36.x86_64.rpm -t anaconda-36.10-1
-> updates.img file in the folder is the updates image
-> the updates image can be passed to boot options from a web server via inst.updates=<URL>
-> the argument passed to -t is the tag corresponding to the Anaconda version on the boot iso
-> anaconda version can be found written tty1 on the running image or via anaconda package version in the compose tree where the given boot.iso has been downloaded from
-> to see whats inside you can use the lsinitrd tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment