Commit graph

367 commits

Author SHA1 Message Date
fiftydinar
d863d1bede
chore(default-flatpaks): Improve reliability of Fedora flatpaks removal & logging/debugging (#345) 2024-10-14 23:18:30 +02:00
fiftydinar
22fe11d844
Actual fix for issue #342 2024-10-12 18:04:50 +02:00
fiftydinar
8124abbdd0
fix(rpm-ostree): %OS_VERSION% not properly substituted for URL when doing install only
Fixes: #342
2024-10-12 17:46:13 +02:00
fiftydinar
4d53e8159b
fix(brew): Incorrect profile.d/brew.sh file $- text writing
`$-` is now no longer writing random character, but `$-` instead to the file.
2024-10-11 08:36:08 +02:00
qoijjj
8e582d701b
fix: ensure zstd is included in the image as it's required for the in… (#341) 2024-10-11 01:48:49 +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
562b6d6bfe
docs(bling): Update documentation about dconf-update-service 2024-10-02 10:14:33 +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
c80bbcfb01
fix(script): only cd into scripts directory if scripts are defined (#335) 2024-09-19 15:15:33 +02:00
Như Bảo Trương
e781b0b1ea
Fix: rpm-ostree don't quote REPLACE_STR (#333)
rpm-ostree don't quote REPLACE_STR

Quoting ${REPLACE_STR} makes it being considered 1 package, failing pipelines
2024-09-19 08:13:46 +02:00
fiftydinar
3148cb639f
chore: Some further missed standardization 2024-09-18 10:20:31 +02:00
fiftydinar
8f9255cacd
chore: Make curl commands clearer & more standardized 2024-09-18 10:10:52 +02:00
fiftydinar
a31cc10aeb
fix: Typo for variable in gnome-vrr 2024-09-18 09:33:59 +02:00
fiftydinar
7112d80598
chore: Switch from wget to curl 2024-09-18 09:31:35 +02:00
fiftydinar
fe861fd2d0
chore(rpm-ostree): Fix useless echo 2024-09-18 08:57:25 +02:00
fiftydinar
e4279ce0a3
chore(rpm-ostree): Some style fixes for the previous commit 2024-09-18 08:48:23 +02:00
fiftydinar
c6f5309757
chore(rpm-ostree): Use link for the URL instead of repo name for non-copr repo 2024-09-18 08:43:58 +02:00
fiftydinar
53cb2982e0
fix: Brew profile.d script writing
Unrelated to this PR, but good to fix
2024-09-18 08:25:35 +02:00
Gerald Pinder
12135f7c9c fix: Set curl to silent and fail 2024-09-17 17:30:33 -04:00
fiftydinar
cb0c3bde8b chore(fonts): Force clean then regenerate font cache
Should fix some corner cases where font is not applied.

Fixes: #213
2024-09-17 13:56:58 +02:00
fiftydinar
223fc08759 chore(signing): Change cosign key path from /usr/etc/ to /etc/
Fixes #273
2024-09-17 09:20:13 +02:00
fiftydinar
54d27a1f9d fix(default-flatpaks): Default notify value not properly set
Fixes:
https://github.com/blue-build/modules/issues/268
2024-09-17 09:10:15 +02:00
Lenus Walker
cfe7dcdc8c fix(gnome-extensions): Fix workaround for PaperWM 2024-09-14 11:35:54 -04:00
fiftydinar
484ee5b57a
fix(yafti): Libadwaita isn't pulled as required dependency
RPM spec doesn't list it for some reason, so it needs to be included manually.

Fixes the issue for the affected non-Gnome users.
2024-09-09 22:01:32 +02:00
qoijjj
d1aeffc2f5
fix: backup and restore staging repo for images that already contain it
recipes with aurora/bluefin as a base image will already have the staging repo present but disabled, meaning wget won't overwrite it.

we don't want to change the repos in the base image in this module, so this backs up the original staging repo, runs the module steps, then restores the original staging repo
2024-08-21 10:42:27 -07:00
qoijjj
b4ccd7cf71
feat: switch back to rpm yafti now that it uses pydantic 2 2024-08-20 20:44:49 -07:00
fiftydinar
59c7882785
chore: Put files in /etc/ instead in /usr/etc (#315)
* docs(files): Recommend to put files in `/etc/` instead in `

This also modifies build-time part of modules to work with `/etc/` instead of `/usr/etc/`

* docs(files): Revert the `/usr/etc/` & `/etc/` docs

* chore: Revert `signing` module transition due to upstream issue

* docs: Clarify note better regarding /etc
2024-08-11 17:07:55 +00:00
David Personette
4dcc6cc353
chore: Update yafti.sh - version 0.9.0 has been released (#1) 2024-08-11 15:27:40 +00:00
xyny
ea2720ba4e
feat: support versioning modules (#240)
* feat: add nu script that generates build matrix for github action

* chore: push initial version of new github action for testing

* fix: properly close github template sequence

* chore: screw this i'll write the whole build in nu (nu build script started, continue later)

* fix: individual misspellings and such

(yeah, i'm tired)

* fix: containerfile path

* fix: docker arg syntax

* fix: docker build path?

* feat: code structure, buildx, pushing to registry

* fix: tag image properly

* fix: split arguments properly

* fix: use registry properly

* refactor: move docker build to a separate par-each

* feat: correctly tag versioned modules

* feat: cosign signing, better logging

* fix: cosign syntax

* fix: differentiate log types with more expressive colors

* chore: fix cosign syntax in logs

* fix: capture errors, colocate logs while running paraller

* chore: partly revert "fix: capture errors, colocate logs while running paraller"

This reverts commit 9238a0f1d68183e712b567fc50849964cc964c78.

* chore: bring back capture errors, keep order in logs

apparently do --capture-errors is required for nushell to catch external commands errors

* chore: Revert "chore: bring back capture errors, keep order in logs"

These changes didn't do anything...
This reverts commit 020b9a1bce9456f2167397b49aa24a65f6bec8e6.

* fix: properly tag images in PRs and secondary branches

* fix: use tags-variable instead of "tags" string

* chore: change default-flatpaks module folder structure to be versioned

* fix: also log generated tags for versioned modules

* fix: don't add tags meant for latest image for every version of versioned module

* fix: better logging and inline docs

* fix: better logging pt2

* feat: build-unified for building the legacy modules container with just the latest versions

* fix: correct workflow names

* fix: add missing ansi resets

* chore: add nushell extension to recommendations

* fix: update unified job name

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>

* chore: remove matrix output left over from a previous version

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-08-11 11:20:10 +00:00
fiftydinar
68d93e907e fix(rpm-ostree): Same-named repos are overwrited instead of being downloaded separately 2024-08-05 11:55:02 +02:00
fiftydinar
e88a44a0fd
fix(yafti): Autostart not working due to created duplicate launcher folder 2024-08-04 23:00:40 +02:00
fiftydinar
37466a71cb chore(default-flatpaks): Don't modify the remote title if it's already modified
Wanting to avoid running unnecessary setup in logs as much as possible.

Unfortunately,
`flatpak remote-add` still runs even if repo exists, as it apparently modifies the URL, no matter if it's the same.

I tried to extract & compare input URL & flatpak URL to mitigate this as an condition, but it doesn't work, as flatpak lists repo URL, while we input flatpakref URLs, which are not the same.
2024-08-04 20:37:23 +02:00
fiftydinar
992f4c5b59
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-03 20:25:13 +02:00
fiftydinar
c1685db6c4 chore(rpm-ostree): Simplify the install/remove part in code & make it clearer doc-wise 2024-08-03 20:22:44 +02:00
fiftydinar
2880d6254d
fix(yafti): Revert to pip installation method
`rpm-ostree` method is not capable of installing yafti's older version of `python3-pydantic` instead of being confused between both system's & yafti's version of that package.

I tried to increase `ublue-os staging` repo priority, where yafti resides, but that doesn't work.

Pip method while not flawless with its hardlinking errors when same system package tries to get installed, it at least finishes yafti install successfully.
2024-08-01 19:07:13 +02:00
fiftydinar
d135b77309 fix(yafti): If system package python3-pydantic is installed, then remove it
Yafti's older version of it should be installed instead
2024-08-01 18:14:41 +02:00
fiftydinar
5e174e337b
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-01 17:37:50 +02:00
fiftydinar
0a08b12ca3
docs(rpm-ostree): Remove unneeded yml example snippet pt. 2
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:36:06 +02:00
fiftydinar
f11b08d300
docs(rpm-ostree): Remove unneeded yml example snippet
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:35:56 +02:00
fiftydinar
56117afcf9
docs(rpm-ostree): Refine local file yml example pt.2
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:35:26 +02:00
fiftydinar
73160458a2
docs(rpm-ostree): Refine local file yml example
Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-01 17:34:38 +02:00
fiftydinar
571c641252 fix(yafti): Increase repo priority, so yafti & it's dependencies always get installed
As oppositely from system repos.
2024-08-01 17:27:20 +02:00
fiftydinar
f5aa38ce39
fix(ublue-update): Make sure that ublue-os staging repo is always overwritten 2024-08-01 09:49:12 +02:00
fiftydinar
155cad29f1
Merge branch 'main' into rpm-ostree-local-repo-rpm 2024-08-01 09:42:55 +02:00
fiftydinar
2cd7509344
fix(yafti): Make sure that ublue-os staging repo is always overwritten
Fixes build fails in Bluefin/Aurora-based images, since they disable this repo with same filename.
2024-08-01 09:39:37 +02:00
fiftydinar
fd4c653d42
chore(ublue-update): Install topgrade as RPM instead using pip 2024-08-01 08:29:36 +02:00