Absent getting a fixed RPM, one solution is to apply a “hotfix” layer that will persist across reboots.
The command you want is ostree admin unlock --hotfix
For example, I modified /usr/bin/alias to have another line of comment text using this method:
$ head /usr/bin/alias
#!/usr/bin/sh
builtin alias "$@"
$ sudo ostree admin unlock
Development mode enabled. A writable overlayfs is now mounted on /usr.
All changes there will be discarded on reboot.
# sudo vi /usr/bin/alias
<edits happen>
$ head /usr/bin/alias
#!/usr/bin/sh
# foobar
builtin alias "$@"
I skipped the use of the --hotfix option for the example, but the whole process should be the same otherwise.
I should have known, but I am still on Work Station since I seem to have a difficult layout for the Silverblue installer to use. Is there a way that you know of to start with WS and create an rpm-ostree image from it, I mean there should be no?
As @hamrheadcorvette points out, I think the Universal Blue tooling is the best way to approach this problem.
Just to be clear, I don’t believe there is an automated way to take an Fedora Workstation install and create an ostree image from it. You’d likely need to enumerate things like packages installed, repo files, GPG keys, config file changes, etc and translate it. The Universal Blue tooling may make this easier, but I think it would still be a significant effort.