Commit Graph

29 Commits

Author SHA1 Message Date
Arcitec
32c06b0867 feat!: add new recipe flag which allows you to completely disable yafti
This change will allow downstream images to easily opt out of "yafti", if they want to use a different setup program instead.
2023-05-14 18:18:18 +03:00
Arcitec
8ee996722f fix!: move yafti.yml to standardized location 2023-05-10 21:44:01 +03:00
ER
ef30c752c6 docs: simplify and clear scripts: section comments 2023-05-10 20:05:57 +03:00
Arcitec
5cacb2fcd8 feat: ultimate laziness achieved with a powerful new script runner
It's so easy that even Homer Simpson could use it to automate the nuclear plant. Enjoy!
2023-05-10 18:44:25 +03:00
Arcitec
55ff6363be feat: implement a very flexible runner for "pre" and "post" scripts
This new functionality now makes it possible to execute scripts at the start or end of the build process, while also being super simple to expand to add further script stages in the future.

It also supports effortless reuse of scripts for multiple stages, since the scripts are now executed with the "current stage" as their 1st argument, to allow them to easily determine which stage they're running in.
2023-05-10 18:44:25 +03:00
Arcitec
f596f4c496 chore: move yafti's behavior explanation from recipe to readme 2023-05-10 18:44:25 +03:00
Arcitec
946f3d82ee fix: automatically determine current fedora version during build
This fixes the issue where someone specifies `fedora-version: latest`, which won't be known until build-time.

I also added a small "welcome" banner to the build log. It's really just there to retain a somewhat contrived use-case example for how to use `get_yaml_string()`, for other programmers who want to extend this in the future.
2023-05-10 18:44:25 +03:00
Arcitec
bd9104a0f2 chore: clarify comment regarding libadwaita and its use-cases 2023-05-10 18:44:25 +03:00
Arcitec
4ca33a3fe3 feat: streamlined YAML configuration for RPM-related settings
All RPM-related settings are now within their own YAML sub-category, to improve readability.
2023-05-10 18:44:25 +03:00
Arcitec
baa8c47ffa feat: automatic repo version selection via YAML configuration
You can now define your custom repos with the `%FEDORA_VERSION%` variable, to automatically use the correct repo version, so that you never have to maintain their custom URLs again in the future.
2023-05-10 18:44:25 +03:00
Arcitec
bf19fa5eca feat: implement effortless RPM removal via YAML configuration
You can now easily remove RPMs from your custom image, without having to edit the build.sh script.

This also changes the old "rpms" config key, to "rpm-install", for consistency with the new setting.
2023-05-10 18:44:25 +03:00
Arcitec
0b63c7b454 chore: clean up recipe.yml to make it easier to understand
Makes the sentences easier to understand, and explains a few confusing concepts.
2023-05-10 18:44:25 +03:00
Eino Rauhala
cd5c6c33cb docs: clarify flatpaks in recipe (#68)
* docs: minor clarification of yafti/flatpak

* docs: clarify flatpaks not installed in image
2023-05-09 14:38:58 +00:00
plata
60ddd67713 feat: use Fedora 38 (#64)
* Update Containerfile

* Update recipe.yml

* Update recipe.yml

* Update README.md
2023-05-09 14:27:49 +00:00
Eino Rauhala
c537104ba2 feat: add extra repos field to recipe (#52)
* feat: add extra repos field to recipe

* fix: semicolon before "done" keyword in shell

* fix: don't put repos in /usr/etc/
2023-04-28 13:55:37 +00:00
Eino Rauhala
1df862aae8 style!: change base-container to base-image (#49)
#34
2023-04-26 17:15:16 +00:00
Eino Rauhala
95ff830b49 fix: moving recipe back to a directory available on the host (#47)
* fix: mv recipe to a dir available on the host

* docs: add notice for recipe editing on host

* fix: replace /tmp/ublue-recipe.yml with /usr/etc/.
2023-04-26 16:19:31 +00:00
Eino Rauhala
ec91345bc7 fix: add libadwaita (#45)
yafti is currently broken without libadwaita, #37
2023-04-26 15:39:51 +00:00
Emmett Wasik (Viv)
37143b0e23 feat: add per-recipe shell script support (#38) 2023-04-24 18:40:51 +00:00
Jorge O. Castro
fd4b180364 docs: clarify and expand on sample comments (#24) 2023-04-06 14:10:37 +00:00
ER
c986ebacca docs: document the usage of "latest" in fedora ver 2023-04-03 17:34:26 +03:00
ER
c9c011d842 feat: declare image description in recipe.yml 2023-04-03 15:23:59 +03:00
ER
f9ed74f2e7 docs: document everything undocumented 2023-04-03 15:20:47 +03:00
ER
fe16187a92 feat: declare base image and fedora ver in recipe 2023-04-03 15:17:16 +03:00
ER
2b40d4b436 feat: declare image name in recipe.yml 2023-04-03 15:02:22 +03:00
ER
9e827fe6be fix: add pip for yafti, remove zenity (unneeded) 2023-04-02 12:50:53 +03:00
ER
9b3578b217 fix: add zenity to not break if th FROM is changed 2023-03-04 12:33:52 +02:00
ER
5095c9521d chore: remove rpms included upstream 2023-03-04 12:30:50 +02:00
Eino Rauhala
a5e90a588f feat: ease customization by reading flatpaks and rpms to install from a recipe.yml. (#79)
Co-authored-by: ER <eino.rauhala@proton.me>
Co-authored-by: Marco Ceppi <marco@ceppi.net>
Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com>
2023-02-28 12:08:29 -05:00