Skip to content

Commit

Permalink
feat: enable ublue-os akmods (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed May 29, 2023
1 parent ef29a6b commit df93c4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile
Expand Up @@ -13,6 +13,7 @@ ADD post-install.sh /tmp/post-install.sh
ADD packages.json /tmp/packages.json

COPY --from=ghcr.io/ublue-os/config:latest /rpms /tmp/rpms
COPY --from=ghcr.io/ublue-os/akmods:${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms

RUN /tmp/build.sh
RUN /tmp/post-install.sh
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -23,6 +23,7 @@ You should be familiar with [image-based desktops](https://silverblue.fedoraproj
- `distrobox` for terminal CLI and user package installation
- A selection of [udev rules and service units](https://github.com/ublue-os/config)
- [libratbag](https://github.com/libratbag/libratbag), to configure supported mice via [piper](https://github.com/libratbag/piper)
- Several pre-built [drivers/akmods](https://github.com/ublue-os/akmods)
- Various other tools: check out the [complete list of packages](https://github.com/ublue-os/main/blob/main/packages.json)
- Sets automatic staging of updates for the system
- Sets flatpaks to update twice a day
Expand Down
3 changes: 3 additions & 0 deletions build.sh
Expand Up @@ -24,6 +24,9 @@ rpm-ostree install \
/tmp/rpms/*.rpm \
fedora-repos-archive

rpm-ostree install \
/tmp/akmods-rpms/*.rpm

if [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -eq 0 ]]; then
rpm-ostree install \
${INCLUDED_PACKAGES[@]}
Expand Down

0 comments on commit df93c4f

Please sign in to comment.