From 350f458ba01a22f4c9ce97b11abe65f333010736 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Wed, 21 May 2025 13:49:12 -0400 Subject: [PATCH] adding base-module ading udev rules and other things from ublue --- recipes/components/base-module.yml | 25 +++++++++++++++++++++++++ recipes/recipe.yml | 1 + 2 files changed, 26 insertions(+) create mode 100644 recipes/components/base-module.yml diff --git a/recipes/components/base-module.yml b/recipes/components/base-module.yml new file mode 100644 index 0000000..264ec83 --- /dev/null +++ b/recipes/components/base-module.yml @@ -0,0 +1,25 @@ +modules: + - type: containerfile + snippets: + - RUN rpm-ostree install just powerstat + - 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 / + - COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-signing.noarch.rpm / + - COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-luks.noarch.rpm / + - COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-just.noarch.rpm / + - RUN rpm -ivh /ublue-os-udev-rules.noarch.rpm + - RUN rpm -ivh /ublue-os-update-services.noarch.rpm + - RUN rpm -ivh /ublue-os-signing.noarch.rpm + - RUN rpm -ivh /ublue-os-luks.noarch.rpm + - RUN rpm -ivh /ublue-os-just.noarch.rpm + + - type: systemd + system: + enabled: + - rpm-ostreed.automatic.timer + - podman-auto-update.timer + - flatpak-system-update.timer + user: + enabled: + - podman-auto-update.timer + - flatpak-system-update.timer \ No newline at end of file diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 54f9135..a997231 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -13,6 +13,7 @@ image-version: latest # latest is also supported if you want new updates ASAP # you can include multiple instances of the same module modules: - from-file: components/sys-files-module.yml + - from-file: components/base-module.yml - from-file: components/sddm-module.yml - from-file: components/hyprland-module.yml - from-file: components/default-flatpak.yml