ColbyWanShinobi / config

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

Home Page:https://universal-blue.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://universal-blue.org

License:Apache License 2.0


Languages

Language:Makefile 42.6%Language:Python 36.3%Language:Dockerfile 14.6%Language:Shell 6.5%