Skip to content

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

License

Notifications You must be signed in to change notification settings

pwoodward/ublue-config

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 45.1%
  • Just 33.8%
  • Python 11.6%
  • Dockerfile 5.3%
  • JSON 4.0%
  • YAML 0.2%