Commit graph

36 commits

Author SHA1 Message Date
Benoit
1941d5ace1
fix: akmod example make the build fail (#433) 2025-07-22 22:29:22 +02:00
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
Gerald Pinder
be0201ce76 fix: Separate models required for separate schema files 2025-01-31 18:28:33 -05:00
Gerald Pinder
d343201724
chore: Update schemas to version all types (#383) 2025-01-30 14:00:08 -05:00
fiftydinar
4803093f17
feat(akmods): Add additional available akmod options to schema 2024-12-06 20:43:59 +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
xyny
e749fe71d3 chore: remove raw github URLs from module.ymls (unneeded after recent refactor) 2024-07-26 16:02:32 +03:00
xyny
cd003ab448 fix(akmods): better docs for the base: key 2024-07-14 16:30:54 +03:00
xyny
ef396d4698 fix(akmods): document install key in tsp 2024-07-14 16:09:00 +03:00
xyny
be6e4ba5bd
feat: add typespec schemas for modules (#233)
* feat: add typespec for bling and akmods for testing

* chore: temporarily change module source to dev branch

* feat: add missing module typespecs from blue-build/schema

* feat: add schemas for default-flatpaks module

* chore: annotate some parameters as optional

* fix: typo in default-flatpaks schema

* feat: add schema for files module

* feat: add script module schema

* feat: add signing module schema

* docs: add module.yml docs etc.

* fix(default-flatpaks): don't capitalize string in typespec

* feat: add schemas for gnome-extensions

* fix(files): properly declare string: string record type

* chore: add tsp for gschema-overrides

* chore: tsp for systemd module

* chore: add link to systemd tsp to module.yml

* chore: add tsp for yafti module

* feat: add docstrings for files module

* feat: add tsp for chezmoi module

* feat: docstrings for akmods tsp

* feat: docstrings for bling tsp

* feat: docstrings for default flatpaks tsp

* fix: link to files module docs page in files module tsp

* feat: docstrings for fonts module tsp

* feat: add docstrings for gnome extensions tsp

* feat: docstrings for gschema overrides tsp

* feat: docstrings for rpm ostree tsp

* feat: docstrings for script tsp

* feat: docstrings for signing module

* feat: docstrings for systemd tsp

* feat: docstrings for yafti module

* fix: typo in files tsp

* feat: typespec for brew module

* chore: update rpm ostree tsp for keys: prop

* fix: use typespec to declare default values

* fix: errors from previous commit

* docs: add typespec instructions

* docs: chore: add typespec docs link for docs syntax

* chore: switch to semicolon for ending property definitions

* docs: fix: typo inlude -> include

* feat: tsp for justfiles module

* chore: change links to reference main branch

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-07-09 16:25:31 +00: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
50257c3a50 docs(akmods): Some better rewording 2024-06-21 22:30:47 +02:00
fiftydinar
1830c5f0d9 docs(akmods): Add note about extra akmods which use different COPR repo 2024-06-21 22:21:40 +02:00
fiftydinar
71333e281a
docs(akmods): Remove -nvidia suffix from surface & asus base entries
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-02-25 22:59:47 +01:00
fiftydinar
4afe394b1a docs(akmods): Remove mention about Fedora version 2024-02-25 22:53:12 +01:00
fiftydinar
d409fe8481 docs(akmods): Remove false Containerfile modification info
Adds info about changing base in recipe instead.
2024-02-25 22:45:28 +01:00
xynydev
c6aea9234c chore: replace URLs with ublue-os/bling 2024-02-21 16:39:34 +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
cc25f6970b
docs(akmods): Add notice when builds are failing due to upstream issue (#128)
* docs(akmods): Add notice when builds are failing due to upstream issue

* chore: add missing "a"

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-02-12 13:30:28 +00:00
xynydev
03ac42e16f fix: switch urls to fetch main branch in module.ymls 2024-02-04 18:18:35 +02:00
xyny
5e455a1477
refactor: start using module.yml for module metadata (#116)
* feat: add initial module.yml for rpm-ostree

* chore: add shortdesc to module.yml

* feat: add missing module.ymls

* feat: add website rebuild action for module reference updates

* chore: remove old readme in modules dir

* refactor: switch to a hybrid module.yml + README arrangement

* chore: switch docs to use starlight aside syntax
2024-02-04 16:05:22 +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