Commit graph

442 commits

Author SHA1 Message Date
fiftydinar
8a040edfae
docs(yafti): Fix indentation 2025-03-18 19:07:14 +01:00
fiftydinar
0159e26bcc
docs(yafti): Add known issue about autostart not working in WMs 2025-03-18 19:06:52 +01:00
fiftydinar
4ac40ed042
fix(gnome-extensions): Don't fail if extension is supplied with empty locale folder
Fixes installation of Default Workspace extension, which is packages with an empty `locale` folder.
2025-03-13 19:27:36 +01:00
Daniel Hast
24c771c694
fix: syntax in brew-fish-completions.fish
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
2025-03-10 17:16:20 -04:00
fiftydinar
bbb90bbfe3
fix(justfiles): Log message about grep not finding 60-custom.just 2025-03-10 10:57:29 +01:00
fiftydinar
e66445df32
fix(brew): Prevent loading Homebrew if user is root (thanks to @HastD) 2025-03-10 08:32:01 +01:00
fiftydinar
92f4d285ab
chore(brew): Install zstd using dnf5 also
I only covered installing `gcc` with `dnf5`, but forgot to cover `zstd`.
2025-03-08 14:33:20 +01:00
Patrick Csikos
b09cc41ee2
fix(brew): Fix gcc check for images that already include gcc (#395)
fix(brew): Fix gcc check
2025-03-08 13:59:58 +01:00
fiftydinar
1c52771e2b
chore: Switch from using rpm-ostree to using dnf5 in some modules 2025-03-07 01:43:22 +01:00
XiaoYan Li
932a9b5bf1
chore(chezmoi): Fix log message (#393) 2025-02-28 14:35:28 +01:00
fiftydinar
d41ebff897
fix(signing): Build error due to wrong parsing of IMAGE_REGISTRY 2025-02-24 14:20:14 +01:00
xyny
944d02cf37
fix(signing): signature store namespace collision error in images derived from each other (#390) 2025-02-24 08:52:57 +01:00
fiftydinar
69b2ebf1eb
chore(initramfs): Support regenerating initramfs for multiple kernels if installed
Fixes initramfs regeneration for images which use `dnf` to install kernel, like Bazzite.
2025-02-20 08:51:44 +01:00
Mr Sticky Piston
0a11642c79
Use api for flathub app id check to reduce build fails and speedup builds (#387) 2025-02-14 11:39:10 +01:00
fiftydinar
2586223b3e
chore(default-flatpaks): Print message about checking flatpak IDs only if they are inputted 2025-02-12 12:47:09 +01:00
fiftydinar
84264cafae
chore(default-flatpaks): Revert checking flatpak flathub IDs with curl instead of wget
It was not an issue with `curl` after all, it's an issue with flathub OBS page being down with status 500.
2025-02-12 12:45:46 +01:00
fiftydinar
b592ededde
fix(default-flatpaks): Checking flatpak IDs from FlatHub (#385)
For some reason, `curl` started to specifically fail for `com.obsproject.Studio` flatpak ID, which obviously exists.

I thought it's because of Flathub downtime at the moment, but it's not & is consistently reproducible.

Maybe it's a bug introduced with `curl` or something similar, so to solve this issue, `wget --spider` will be used instead.
2025-02-11 21:03:07 +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
bri
91fb8da525
[bling/1password] add .desktop and icons to install script (#384)
* [bling/1password] add .desktop and icons to install script

Not sure if/how I missed this in the first place a long time ago, lol. just made a new image and couldn't find the menu item!

* chore: Update icon cache when copying icons

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2025-01-30 19:52:14 +01:00
Gerald Pinder
8ceb728bcd
fix(rpm-ostree): Update package list to use full path for local packages (#381) 2025-01-05 13:24:24 +01:00
Gerald Pinder
1af8f9831c feat: Create a systemd unit to create opt links on boot 2024-12-29 14:20:22 -05:00
fiftydinar
9c40055f29
fix(bling): Negativo17 repo message not being echoed, causing error 2024-12-22 09:57:33 +01:00
fiftydinar
fc4fd865da
chore(signing): Ensure that template policy is copied when signing is insecureAcceptAnything as default 2024-12-17 01:16:40 +01:00
fiftydinar
7451299a5a
fix(signing): Regression in scenario when policy.json doesn't exist in the image
`policy.json` template should be copied in that case, while existing `policy.json` should remain.
2024-12-16 22:59:57 +01:00
fiftydinar
23e36119b9
feat: initramfs module (#376)
* feat: `initramfs` module

* chore: Add `initramfs` to `modules.json`

* docs: Mention `dracut.conf.d` files as modifications which need initramfs regeneration

* docs: Style fix

* docs: Style fix

* docs: One more style fix

* docs: Add note about difference between `rpm-ostree initramfs` & this module

* docs: Further explanation of initramfs

* docs: Style fixes

* docs: Style fix

* docs: Grammar fixes

* chore: Add check for Fedora 41+

* docs: Add note about F41+ support

* docs: Add 3 dots for note

* chore: Grammar improvement in log

* chore: Some more explanations in log for old Fedora version

* chore: Add error message for cliwrapped images

* chore: Use cliwrapped dracut if available

* docs: Apply caution card suggestion

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* docs: Apply suggestion about modifications list

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* docs: Apply grammar suggestion for when this module should be used

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* chore: Make log message about initramfs regeneration state clearer

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* docs: Apply suggestion about expanded module description

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>

* docs: RAM instead of ram

* chore: Fix log typo

* docs: Update description in typeschema

* docs: Update description in module.yml

* chore: Notify of more than 1 qualified kernel before initramfs image variable

* chore: finalize shortdesc wording

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-12-15 11:02:37 +01:00
fiftydinar
902a0b1c61
chore(signing): Make a directory in /usr/etc for Ublue images if not already made pt. 2 2024-12-08 23:02:42 +01:00
fiftydinar
12d052668f
chore(signing): Make a directory in /usr/etc for Ublue images if not already made 2024-12-08 22:58:58 +01:00
fiftydinar
40cfcc6646
chore(signing): Switch fully from /usr/etc/ to /etc/ (#375)
* chore(signing): Switch fully from `/usr/etc/` to `/etc/`

Fixes: #319

I only tested this in non-Universal Blue image. With & without rechunk.

Before:
```
[11:39:42 g.i/h/rechunk:v1.0.1] => WARNING: FOUND /usr/etc. MERGING TO ETC FOR COMPATIBILITY
[11:39:42 g.i/h/rechunk:v1.0.1] => EXPECT PERMISSIONS ISSUES ON THE MERGED PATHS
[11:39:42 g.i/h/rechunk:v1.0.1] => The following files from /usr/etc will be merged to /etc:
[11:39:42 g.i/h/rechunk:v1.0.1] => ./usr/etc
[11:39:42 g.i/h/rechunk:v1.0.1] => |-- containers
[11:39:42 g.i/h/rechunk:v1.0.1] => |   |-- policy.json
[11:39:42 g.i/h/rechunk:v1.0.1] => |   `-- registries.d
[11:39:42 g.i/h/rechunk:v1.0.1] => |       `-- gidro-os.yaml
[11:39:42 g.i/h/rechunk:v1.0.1] => `-- pki
[11:39:42 g.i/h/rechunk:v1.0.1] =>     `-- containers
[11:39:42 g.i/h/rechunk:v1.0.1] =>         `-- gidro-os.pub
[11:39:42 g.i/h/rechunk:v1.0.1] => 
[11:39:42 g.i/h/rechunk:v1.0.1] => 5 directories, 3 files
```

After:
```
[18:26:31 g.i/h/rechunk:v1.0.1] => WARNING: FOUND /usr/etc. MERGING TO ETC FOR COMPATIBILITY
[18:26:31 g.i/h/rechunk:v1.0.1] => EXPECT PERMISSIONS ISSUES ON THE MERGED PATHS
[18:26:31 g.i/h/rechunk:v1.0.1] => The following files from /usr/etc will be merged to /etc:
[18:26:31 g.i/h/rechunk:v1.0.1] => ./usr/etc
[18:26:31 g.i/h/rechunk:v1.0.1] => `-- pki
[18:26:31 g.i/h/rechunk:v1.0.1] =>     `-- containers
[18:26:31 g.i/h/rechunk:v1.0.1] =>         `-- gidro-os.pub
[18:26:31 g.i/h/rechunk:v1.0.1] => 
[18:26:31 g.i/h/rechunk:v1.0.1] => 3 directories, 1 file
```

Only thing remaining is to see if copying .pub keys to `/etc/` only will work, as it caused issues before. That would get rid of all files in `/usr/etc/`.

a8cac2adc9/template/templates/Containerfile.j2 (L26)

* fix(signing): Error-out on missing image cosign key

* chore(signing): More descriptive log about missing image key

* chore(signing): Copy `policy.json` to `/usr/etc/` in Universal Blue images
2024-12-08 22:53:08 +01:00
fiftydinar
52aa593e69
chore(bling): Uninstall tainted RPMFusion repos also in negativo17 submodule 2024-12-08 16:58:56 +01:00
fiftydinar
0e7d20c2fa
docs(rpm-ostree): Explain clearly usage of optfix 2024-12-08 16:51:31 +01:00
fiftydinar
f13996bcd4
docs(rpm-ostree): Add brave.com in optfix, to reduce user confusion 2024-12-08 16:47:42 +01:00
fiftydinar
3f978df4ff
chore(bling): Some styling fixes for rpmfusion module 2024-12-08 16:42:05 +01:00
fiftydinar
7aa7a6e5f9
chore(bling): Fix log message in rpmfusion submodule 2024-12-08 16:37:42 +01:00
fiftydinar
8ab382de9a
feat(bling): Install tainted repos also in rpmfusion submodule 2024-12-08 16:35:50 +01:00
fiftydinar
27b16bc072
fix(rpm-ostree): Support install + removal for URL & local packages only, without classic packages 2024-12-08 15:42:22 +01:00
fiftydinar
0c6cb0479a
fix(rpm-ostree): Installation & removal not performing when classic & local packages are in recipe 2024-12-08 15:33:24 +01:00
fiftydinar
4803093f17
feat(akmods): Add additional available akmod options to schema 2024-12-06 20:43:59 +01:00
xyny
a044f600ca
fix(gnome-extensions): support int install with schema validation 2024-12-06 19:36:30 +02:00
Julio Gutierrez
c5a5f02858
fix(fonts): Add necessary trailing newline, to ensure fonts are processed separately (#373)
fix fonts module
2024-12-04 11:37:10 +01:00
fiftydinar
7011469432
fix(fonts): Installation of fonts not performing
I made a mistake in recipe format, I forgot to include `fonts:` as the main array, while `nerd-fonts:` & `google-fonts` are its subarrays.
2024-12-04 11:21:47 +01:00
fiftydinar
1e1cbd3c75
fix(fonts): Use readarray -t instead, to assure that mapfile works correctly with it 2024-12-04 08:19:14 +01:00
fiftydinar
4b210ff2ae
fix(fonts): Remove quotes which made module think there was more font arrays than usual 2024-12-04 08:07:49 +01:00
fiftydinar
c3532b7d30
fix(yafti): Forgot to set get_json_array pt. 2 2024-12-03 12:14:50 +01:00
fiftydinar
3af2146f36
yafti: Forgot to set get_json_array for it 2024-12-03 12:14:11 +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
ab654c9f16
chore(signing): Fix jq command for modifying policy.json 2024-12-01 21:56:24 +01:00
yacoob
c065b145de
fix: properly handle custom branch in chezmoi module (#368)
For posterity: `INIT_BRANCH_FLAG` should be set if `DOTFILE_BRANCH` is not empty and is not equal to `"null"`.
2024-11-30 22:28:26 +01:00
xyny
387a29e127
feat(bling): rpmfusion & negativo17 repo helpers (#363)
* feat(bling): rpmfusion & negativo17 repo helpers

* chore: Make adding negativo repo more robust

* chore: Make sure that priority is set when negativo repo is installed

* chore: Improve RPMFusion repo install robustness

* chore: Fix some indendation

* chore: Fix some indetation pt. 2

* chore: Install all RPMFusion repos in cases when only free or non-free repo is installed

* chore: Install all RPMFusion repos in cases when only free or non-free repo is installed pt. 2

---------

Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-11-25 09:26:10 +01:00
fiftydinar
a166afed8a
fix(chezmoi): Properly use default branch
`yq` outputs "null" string when no results are found, so it's not an empty string.

Branch "null" is passed as custom branch, which very likely doesn't exist in user's chezmoi repo.

So to solve this issue, set "if string is empty or contains string "null", disable custom branch, otherwise enable"
2024-11-19 16:41:13 +01:00