Commit Graph

34 Commits

Author SHA1 Message Date
gmpinder
99565fe742 Add brave and vscode installs 2023-06-03 16:41:14 -04:00
gmpinder
ca167a5d62 chore(automatic): change image name 2023-06-03 20:17:45 +00:00
Arcitec
4afc5b1b44 fix: remove duplicate flatpaks from recipe.yml
Having duplicates in the yafti.yml where a package exists in multiple groups *currently* causes subtle bugs in yafti, such as a package becoming deselected even though the entire group is "selected". That causes great confusion when users try to install "Core GNOME Apps" without realizing that they won't receive the Extension Manager (for example), since it existed in a different group too and therefore became automatically unchecked in yafti.

A future yafti update will make all duplicate flatpak names illegal (a yml validation error), so this change also prepares us for that, by removing all duplicates.

As for why I added Krita: Since there was only one unique app in the recipe.yml, I needed another random, popular app to fit the example of "this is a selection of example apps", there's nothing more to it than that. ;)
2023-05-14 18:18:18 +03:00
Arcitec
9cee4f9a13 docs: clean up leftover comment about editing "recipe.yml"
It's in an immutable location nowadays, so this comment made no sense anymore.
2023-05-14 18:18:18 +03:00
Arcitec
cec73978cf fix!: move justfile to standardized, non-conflicting new location
- The old location was conflicting with upstream images (main, nvidia, etc), and was causing the file to be overwritten.

- It was therefore decided that each image should prefix their own justfile names, to avoid clobbering, to easily allow image makers to bundle multiple "modular" justfiles, and to allow end-users to easily include the particular modules they want.

- The name `custom.just` represents a "template name" for this "custom uBlue image", while being neutral enough to use long-term (unlike the alternative name `startingpoint.just`, which doesn't flow nicely).

- All redundant commands that already existed upstream in `ublue-os/main` have been removed, to follow the new "modular inclusion" nature of uBlue's "justfile" organization, which also means that we'll never have to manually update it to match upstream anymore. No more duplicated effort! ;)

- Updated README instructions to mention the new way of including justfiles, until the upstream "just" project has finished their "include" functionality.

- The ".just" suffix is the official upstream suffix for modular justfile inclusions.
2023-05-14 18:18:18 +03:00
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