-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
Buidling a base image with rpm-ostree with documentation: false
baseimage-root fails when running on usr/share/doc/bootc/baseimage/base
Lines 624 to 630 in 5abda6a
| // If we have our own documentation with the expected root contents | |
| // embedded, then check that too! Mostly just because recursion is fun. | |
| if let Some(dir) = dir.open_dir_optional(BASEIMAGE_REF)? { | |
| if let Err(e) = check_baseimage_root_norecurse(&dir, config)? { | |
| return Ok(Err(e)); | |
| } | |
| } |
bootc rpm only has files marked as documentation
# rpm -qd bootc
/usr/share/doc/bootc/README.md
/usr/share/doc/bootc/baseimage/base/ostree
/usr/share/doc/bootc/baseimage/base/usr/lib/ostree/prepare-root.conf
/usr/share/doc/bootc/baseimage/dracut/usr/lib/dracut.conf.d/10-bootc-base.conf
/usr/share/doc/bootc/baseimage/systemd/usr/lib/kernel/install.conf
...
So the folders are still presents in the image, not the files
This can be fixed by not marking the %dir under /usr/share/doc/bootc in the specfile so they don't appear in rpm -q --dump bootc
Metadata
Metadata
Assignees
Labels
No labels