Open copumpkin opened 8 years ago
I have something similar except for step 4
which feels a bit too automagical to me. In many cases for example you might not want the -devel
/-debuginfo
packages for example.
What I am slowly iterating towards myself is having https://github.com/cgwalters/rpmdistro-gitoverlay more directly feed rpm-ostree, which gets me something closer to what gnome-continuous is doing.
But I would be happy to look at carrying your script in contrib/
or something where we can share and improve it.
What I'm looking for more ideally than putting more effort into polishing up my script is just getting more direct support for individual RPMs in the treefile.
I.e., in addition to packages
and repos
, which together today allow me to do my scary thing, I'd like an rpm-files
key or similar, which would let me do something like
{
"packages": [ "foo", "bar", "baz" ],
"repos": [ "woof", "meow" ],
"rpm-files": [ "/path/to/some/local/rpm", "/path/to/another/local/rpm" ]
}
And rpm-ostree
would take care of incorporating those RPMs I explicitly request. Basically the equivalent of running yum install /path/to/some/local/rpm
as part of the install process.
Currently I have a script that uses
createrepo_c
to build a local repository, adds that repository to therpm-ostree
repo list, and then adds the package name to thepackages
section. It would be easier to automate if I could just giverpm-ostree
a path to an RPM and it installs it for me, without needing to create an intermediate repository and then figure out what the package name is for the rpm I'm installing.Basically, situation today:
repos
list in treefilepackages
list in treefile (and watch out that they don't overlap with other repositories)What I'd like:
localrpms
list in treefile to point to a list of rpm file paths. No need to figure out package name or create virtual repositories, etc.