Hi everyone! I am creating a customized version of ucore: basically this would be the same as the “ucore” image, but with a couple of packages added. My question would be: what is in your opinion the best, cleanest way to customize ucore? I could think of two ways:
* Using this repo: GitHub - ublue-os/image-template: Build your own custom Universal Blue Image! , with ucore/stable as the base image. This works for my case, but the bootc linting step gives me some warnings:–> 34d4e25840c3
[2/2] STEP 3/3: RUN bootc container lint
Lint warning: nonempty-boot: Found non-empty /boot:
symvers-6.14.11-300.fc42.x86_64.xz
Lint warning: var-tmpfiles: Found content in /var missing systemd tmpfiles.d entries:
d /var/lib/alsa 0755 root root - -
d /var/lib/dnf 0755 root root - -
d /var/lib/dnf/repos 0755 root root - -
d /var/lib/dnf/repos/updates-79babcf8637033ce 0755 root root - -
d /var/lib/geoclue 0755 geoclue geoclue - -
Found non-directory/non-symlink files in /var:
var/lib/dnf/repos/updates-79babcf8637033ce/countme
Checks passed: 10
Checks skipped: 1
Warnings: 2
[2/2] COMMIT ublue-os-ucore-vlm:stable
--> 9573fc0ca031
[Warning] one or more build args were not consumed: [SHA_HEAD_SHORT]
Successfully tagged localhost/ublue-os-ucore-vlm:stable
9573fc0ca031aebdf0e9395fa3e631a9135718ebbb73e32de59795b42812395c
This actually led me to think of a second way:
* Forking the ucore repository and directly modify the ucore build files.
Which one do you think is the smoother, cleaer? Should I ignore the linting messages?
Thank you and you all have a nice day!
Valerio
Edit: typos