Table of Contents | ||
---|---|---|
|
...
Assuming at least some of the packages involved belong to repo modules, determine how to can/should we handle:
pkglist + packages.yaml => building tarball/ISO
Can the pkg/tar/ISO build process still create a usable ISO as it currently does, by:or will something have to change?
filtering an OS ISO down to its pkglist
Note |
---|
Possible (but involved) We can probably use dir2module to re-package just the modules we need and mergerepo_c to build them into a slimmed-down AppStream based on pkglist.txt (or a SIMP/ repo for packages.yml) Details at the end of the RPM module header examples |
adding external packages in packages.yaml
running repoclosure
Warning |
---|
Currently failing: Currently, an AppStream repo mirrored with dnf reposync fails dnf repoclosure rather badly, while the real AppStream repo only has two unresolved deps (both ursine). |
If it can be done: How?
If not: What alternatives are there?
...
How should unpack_dvd handle repos that do/may contain modules?
Tip |
---|
Recommendation: |
How does SELinux support this?
Where do the policies for the packages in various module streams come from?
Notes:
So far, the selinux-*policy RPMs have handled whatever I’ve tried
Ancient policy wiki at https://fedoraproject.org/wiki/SELinuxModularityDesign (probably outdated)
Modularity CLI examples
Simple dnf module commands
...
Code Block | ||
---|---|---|
| ||
]# dnf module info --profile nodejs:12 Last metadata expiration check: 2:59:10 ago on Thu 11 Mar 2021 11:02:32 PM UTC. Name : nodejs:12:8030020210304194546:30b713e6:x86_64 common : nodejs : npm development : nodejs : nodejs-devel : npm minimal : nodejs s2i : nodejs : nodejs-nodemon : npm |
Anchor | ||||
---|---|---|---|---|
|
Find all modular RPM files that under a directory and print their module headers
...
Code Block |
---|
find "$DIR_WITH_RPMS" -name \*.rpm \ -exec rpm -qp {} --qf '%{ModularityLabel}\n' \; \ | grep -v '^(none)' | sort | uniq -c \ | sort -nk1,1 \ | tee unique_rpm_module_streams.txt |
Anchor | ||||
---|---|---|---|---|
|
Mirror the contents of a DNF repository, preserving all modules and package groups.
...