/ublue-config

A layer to provide configuration files (udev rules, service units, etc)

Primary LanguageMakefileApache License 2.0Apache-2.0

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

Repography logo / Recent activity Time period

Timeline graph Issue status graph Pull request status graph Trending topics Top contributors Activity map