Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Files

Latest commit

bc2e21f · Jul 27, 2024

History

History
Cannot retrieve ahead/behind information for this branch.

Folders and files

NameName
Last commit message
Last commit date
May 15, 2024
Jul 27, 2024
May 15, 2023
Jul 14, 2024
Jul 14, 2024
Jul 2, 2024
Mar 13, 2024
Mar 2, 2023
Apr 29, 2024
Mar 2, 2023
Jul 14, 2024
Jul 2, 2024

build-ublue

ublue-os configs

A layer for adding enhancements to your image. Use these for better hardware support and automatic updates!

Usage

Add this to your Containerfile to copy the rules over:

COPY --from=ghcr.io/ublue-os/config:latest /files/ublue-os/udev-rules /
COPY --from=ghcr.io/ublue-os/config:latest /files/ublue-os/update-services /

Or if you prefer to install via an RPM package:

COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-udev-rules.noarch.rpm /
COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-update-services.noarch.rpm /
RUN rpm -ivh /ublue-os-udev-rules.noarch.rpm
RUN rpm -ivh /ublue-os-update-services.noarch.rpm

Additionally, there is support for building custom RPMs:

COPY --from=ghcr.io/ublue-os/config:latest /build /tmp/build
COPY justfile /tmp/build/ublue-os-just/justfile
RUN /tmp/build/ublue-os-just/build.sh
RUN rpm -ivh /tmp/ublue-os/rpmbuild/RPMS/noarch/ublue-os-just-*.noarch.rpm

Features

Feel free to PR more rules into this repo! Ideally as they get added upstream we can remove them here. Note that this image only contains the udev rules, you must still install and configure the software that needs these rules.

udev-rules

Note: udev rules are placed in /usr/lib/udev/rules.d/, it's normal for /etc/udev/rules.d to be empty on initial installation.

Automatic updates

  • Background flatpak updates
  • Background rpm-ostree updates

Custom RPM builds

Adding rules

If you have a rule you want to contribute send a pull request by adding the rule into files/etc/udev/rules.d

Verification

These images are signed with sisgstore's cosign. You can verify the signature by downloading the cosign.pub key from this repo and running the following command:

cosign verify --key cosign.pub ghcr.io/ublue-os/config

Stats

Alt