Commit graph

19 commits

Author SHA1 Message Date
fiftydinar
c1ef8cbf0f
fix(akmods): Build failure when repo's name is not hardcoded (#427)
Fixes: https://github.com/blue-build/modules/issues/418
2025-07-20 15:24:22 +02:00
fiftydinar
1c52771e2b
chore: Switch from using rpm-ostree to using dnf5 in some modules 2025-03-07 01:43:22 +01:00
fiftydinar
189048b119
chore: Remove usage of yq in favor of jq (#369)
* chore: Remove usage of `yq` in favor of `jq`

* fix: Missed bracket in `default-flatpaks`

* fix: `get_json_array` complaining about unpopulated arrays

* fix(files): Forgot to input `-r` flag for some `jq` calls

* fix(gschema-overrides): Use `try` in `get_json_array`

* chore(default-flatpaks): Replace `yq` with `jq` in run-time setup binaries

* chore: Switch to simplified `jq` syntax without brackets

* chore(default-flatpaks): Switch `repo-info` file from `yml` to `json`

* fix(default-flatpaks): Some `yq` calls

* chore: Revert back to bracket syntax for more reliable `jq` parsing

* chore(files): Missed bracket syntax

* chore: Approve bot suggestion about quoting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update modules/files/files.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(yafti): Populating custom flatpaks

It's populated in reverse order compared to the format in recipe, but it works

* fix(fonts): Variable substitution is needed

* fix: Typo

* fix(fonts): Forgot to assign FONTS variable

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-02 19:02:13 +00:00
fiftydinar
40f510467c
chore(akmods): Properly simplify syntax for akmods now
Forgot it's negative condition
2024-10-14 23:30:13 +02:00
fiftydinar
0a07a2fa01
Revert "chore(akmods): Simplify syntax for if rpmfusion condition" 2024-10-14 23:28:53 +02:00
fiftydinar
42c594bdef
chore(akmods): Simplify syntax for if rpmfusion condition 2024-10-14 23:22:54 +02:00
fiftydinar
447a9db5e2
fix(akmods): Don't install RPMFusion if it's already installed
Otherwise, it complains about package conflict.
2024-10-07 10:00:15 +02:00
fiftydinar
670fdedfd4
chore(akmods): Ditch determining akmods from RPM Fusion logic
Installing & uninstalling RPM Fusion is a quick operation anyway, so there is no need to have manual checks for which akmods require RPM Fusion.

So just install the uninstall RPM Fusion repo always.
2024-10-06 10:25:36 +02:00
fiftydinar
079ca81d45
chore(akmods): Use already available OS_VERSION string instead of manually getting one 2024-10-06 09:58:16 +02:00
fiftydinar
a7f021283c
fix(akmods): Including V4L2Loopback & WL akmod fail the build 2024-10-06 09:37:19 +02:00
fiftydinar
3b646c181a
chore(akmods): Revert using readonly
It looks less clean & readable in code
2024-10-01 18:03:49 +02:00
fiftydinar
58946ae173
chore(akmods): Utilize readonly for static variables 2024-10-01 14:26:53 +02:00
fiftydinar
82359337db fix(akmods): Syntax error due to redundant fi 2024-07-06 12:45:56 +02:00
fiftydinar
3c0fdee0db chore(akmods): Don't install kernel-devel packages
They are only needed when building the akmods, but not when shipping them.

This should considerably remove the bloat from the images without affecting the existing functionality.
2024-07-06 12:33:01 +02:00
fiftydinar
1d50642f88
fix(akmods): Make check for Surface image more reliable (#134)
Instead of depending on the base image name, it just detects if Linux Surface kernel is installed before installing Surface akmods.
2024-02-19 19:40:44 +00:00
fiftydinar
8b8fcd3144
fix(akmods): Xone installs conflicted "akmod-xone" package (#102)
* fix(akmods): Xone installs conflicted "akmod-xone" package

This sets higher priority for `akmods repo` compared to `multimedia repo`, which should fix potential issues in the future for other akmods too.

Thanks to the debugging done here:
https://github.com/ublue-os/akmods/pull/116

* fix(akmods): There is no need to revert to default, as it doesn't cause issues

On the other side, enabled multimedia repo afterwards causes issues.

* chore(akmods): Format function spacing same as other 2 functions

* chore(akmods): Make ENABLE_MULTIMEDIA_REPO more readable
2024-01-24 10:45:05 +00:00
Nick Saika
17bacbe3da
fix: Fix flag ordering in set calls in scripts (#99)
The README for scripts has an incorrect use of the `set`. Where it says
to use:

	set -oue pipefail

it should be:

	set -euo pipefail

since `pipefail` is an option consumed by `set -o`.

More information: https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
2024-01-16 06:12:08 +00:00
fiftydinar
ed83ff5ec2 fix(akmods): Failure when installing akmods from multimedia repo 2024-01-14 23:54:02 +01:00
fiftydinar
e8272a4dd1
feat: Add akmods module (#89)
* 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.

* Rename kmods installer to akmods

* Update README

Address: 

https://github.com/ublue-os/startingpoint/pull/212#issuecomment-1870156327

https://github.com/ublue-os/bling/pull/89#discussion_r1436890002

* Fix README typo

* Remove non-needed space for yml in README

* Add support for Surface & Asus images

* Clarify tagged base image warning better

* Clarify tagged base image warning better pt.2

* There is no need to fetch main-nvidia build for now

* Use simpler =~ for conditioning instead of grep & sed

This finally fixes akmods module

* Install kernel-devel-matched for all builds

* Assure that Surface installs their version of kernel-devel-matched

* Mention that framework images can be used as a base

* Delete duplicate warning message

* Remove non-needed explanation on why only Universal Blue builds are supported

* Clarify 1st warning better

* Clarify `main` akmods compatibility better

This would avoid editing README if some other compatible image gets announced or discontinued.

* docs(akmods): grammar fixes

* docs: add link to akmod tag matrix

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-01-14 16:45:20 +00:00