Skip to content

Commit

Permalink
feat: Add akmods module (blue-build#212)
Browse files Browse the repository at this point in the history
* feat: Add kmods installer module

Credits: @c0deplayer

This is not ideal as it does not support custom kernels & it involves editing Containerfile.

I believe there is no other way but to make users edit Containerfile for those files to be even pulled of.

I would like this to be through the recipe only, so I will put this as a draft until some better ideas come.

* Update Containerfile

Related to this:

https://github.com/ublue-os/bling/blob/d76cca4f3abc7e0730c45e3d820d36b236194c89/modules/akmods/README.md

* Clarify change of akmod version better

Part of adding support for Surface & Asus images.
  • Loading branch information
fiftydinar authored Jan 14, 2024
1 parent 80b3ac0 commit df4f330
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ COPY modules /tmp/modules/
# It is copied from the official container image since it's not available as an RPM.
COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq

# Change this if you want different version/tag of akmods.
COPY --from=ghcr.io/ublue-os/akmods:main-39 /rpms /tmp/rpms

# Run the build script, then clean up temp files and finalize container build.
RUN chmod +x /tmp/build.sh && /tmp/build.sh && \
rm -rf /tmp/* /var/* && ostree container commit

0 comments on commit df4f330

Please sign in to comment.