This creates a systemd unit file that will execute on boot and create
symlinks in `/var/opt/` for every directory that exists in
`/usr/lib/opt/`. This removes the need for users to manually create
these links to get programs working like the Brave browser.
* 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>
* 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
* 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>
* 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>
`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"
* feat(gschema-overrides): Make `include` array truly optional & include all gschemas by default
* chore(gschema-overrides): Make recipe input matching log a bit clearer
* docs(gschema-overrides): Make some points clearer
* docs(gschema-overrides): Fix some unfinished line
* docs(gschema-override): Some indentation fixes
* docs(gschema-overrides): Remove redundant comment in module.yml
* fix(default-flatpaks): Allow usage of Fedora flatpak remote
* docs(default-flatpaks): Some further clarifications for retaining Fedora flatpak remote
On Fedora 41, which has systemd v256, `--output=json` no longer displays `json`, but classic output.
Using `-j` instead of `--output=json` fixes this issue.