Arcitec
33ab88f794
feat: add function for reading individual YAML strings
...
The recipe file is now also moved to a separate variable, and we use `--` to ensure that yq never misinterprets any custom arguments as `-flags`.
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
Arcitec
5f072b8b67
fix: faster installation of custom RPMs
...
Thanks to leveraging Bash arrays, we are now able to use parameter expansion to perform every package installation as one rpm-ostree operation instead of individual ones. This will give us a huge build speedup.
Bash properly expands every array element as safely quoted arguments, complete with support for spaces and special characters.
2023-05-10 18:44:25 +03:00
Arcitec
07cbe2cc08
fix: extremely robust handling for YAML data fetching
...
This new technique is way easier to use, more maintainable, and safely handles special characters and spaces in the YAML data. It will also enable other features, such as the rpm-ostree improvement coming in the next commit.
The function name is `get_yaml_array()` because it literally reads it into a Bash array, by the way. Don't change the function name in the future. We may need other functions to read values into strings, etc.
2023-05-10 18:44:25 +03:00
Arcitec
20e0a06588
fix: remove extremely verbose "x" flag
...
The debug "x" flag that prints every command is really excessive.
2023-05-10 18:44:25 +03:00
Arcitec
d09dd76243
feat: install repos first, so that they're available for scripting
...
This ensures that custom scripts have the flexibility to work with the repos that have been added.
2023-05-10 18:44:25 +03:00
Arcitec
f24c4072fd
fix: use proper shebang line
...
This is the most portable shebang line and should always be used.
2023-05-10 18:44:25 +03:00
Arcitec
44660085eb
chore: clean up sentences to make them easier to expand
...
Lowercase, run-on sentences are a nightmare to expand later, because the lack of sentence structure means you can't just add more lines and have a nice flow anymore.
Let's add some punctuation and grammar.
2023-05-10 18:44:25 +03:00
Arcitec
4b9fe0b05b
fix: add flags to ensure that build aborts if there are errors
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
Frederik Zorn
0a04aac233
docs: explain just nix-me-up and extrarepos: (and COPR) in README ( #63 )
...
* docs: add just nix-me-up command explanation
* docs: explain extrarepos in recipe.yml
* docs: explain copr and how repos work
* What is copr?
* Make clear that you nedd .repo files.
* Show what it does.
* docs: minor grammar & clarity improvements
* docs: restructure COPR section
no need for it to be too long
and copying from the COPR docs is not as useful
as explaining it in more simple terms
---------
Co-authored-by: @EinoHR
2023-05-02 13:52:26 +00:00
dependabot[bot]
7bcbf37cd7
build(deps): bump sigstore/cosign-installer from 3.0.2 to 3.0.3 ( #62 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.2...v3.0.3 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 10:06:04 +00:00
Jorge O. Castro
b67e70eb44
Merge pull request #61 from tunix/readme-fix
...
fix: corrected readme
2023-04-30 16:52:17 -04:00
Alper Kanat
9d831ac736
fix: corrected readme
2023-04-30 23:47:04 +03:00
Eino Rauhala
4a62e134a0
docs: clarify and clean the basic description ( #58 )
2023-04-30 12:30:04 +00:00
Eino Rauhala
1d208f6eae
feat: add a just setup command for setting up nix ( #48 )
...
* feat: add nix install script from bluefin / dnkmmr
* feat: add nix-me-up just cmd from bluefin
* feat: just update nix if installed
* feat: add nix-app-icons.sh
enables desktop icon support by adding to XDG_DATA_DIRS
* chore: remove nix update for now
this will be added in a later PR
2023-04-29 11:08:17 +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
5f4ac049a7
feat: add cosign.key to gitignore ( #51 )
...
wouldn't want somebody accidentally committing their private key into the public repo
2023-04-26 18:27:53 +00:00
Eino Rauhala
eecd78fbfb
docs: add sections in README for scripts and a small explanation of /usr/etc/ ( #50 )
...
* docs: add section about scripts
* docs: add note about /usr/etc/
2023-04-26 17:28:22 +00:00
Eino Rauhala
1df862aae8
style!: change base-container to base-image ( #49 )
...
#34
2023-04-26 17:15:16 +00:00
Eino Rauhala
b3f7f07d6c
fix: only create yafti grp when flatpaks defined ( #46 )
2023-04-26 16:49:26 +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
Eino Rauhala
085d26aa1a
fix: prevent /etc/ merge issues ( #43 )
...
* fix: prevent /etc/ merge issues
discussed at length in #28
also including tons of comments about the issue
* fix: change references of /etc/ to /usr/etc
2023-04-26 15:23:43 +00:00
Emmett Wasik (Viv)
37143b0e23
feat: add per-recipe shell script support ( #38 )
2023-04-24 18:40:51 +00:00
Eino Rauhala
a9c15ac306
fix: chore: manual merge action updates from main ( #41 )
...
all changes from the main repo applied,
except those explicitly different in startingpoint
2023-04-24 18:06:27 +00:00
Jorge O. Castro
328595b77d
refactor: avoid subshell, sign image with env. var ( #30 )
...
Works in main, propagating here.
Co-authored-by: xnasero@posteo.net
2023-04-24 17:31:03 +00:00
dependabot[bot]
56a1d24a83
build(deps): bump mikefarah/yq from 4.33.2 to 4.33.3 ( #33 )
...
Bumps [mikefarah/yq](https://github.com/mikefarah/yq ) from 4.33.2 to 4.33.3.
- [Release notes](https://github.com/mikefarah/yq/releases )
- [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt )
- [Commits](https://github.com/mikefarah/yq/compare/v4.33.2...v4.33.3 )
---
updated-dependencies:
- dependency-name: mikefarah/yq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-22 17:30:16 +00:00
Eino Rauhala
91d4c3877c
fix: update cosign installer version ( #32 )
...
i hear there's problems with 3.0.1 that are fixed in 3.0.2
that can affect people using this repository as a template
2023-04-22 15:22:44 +00:00
Jorge O. Castro
693320df20
Merge pull request #26 from bpbeatty/recipe-arg
...
fix: use RECIPE arg
2023-04-13 13:49:46 -04:00
Brian Beatty
6d778859c8
fix: use RECIPE arg
...
The RECIPE arg in the Containerfile is empty when it is before the
FROM statement. This moves the arg so that it can be used.
2023-04-08 13:18:45 -05:00
Jorge O. Castro
fd4b180364
docs: clarify and expand on sample comments ( #24 )
2023-04-06 14:10:37 +00:00
bpbeatty
a27e3cfa13
fix: add recipe build arg ( #23 )
...
startingpoint has been updated to use multiple recipes. currently
this process is broken as the default recipe is always used. this
fixes this by adding a build arg to the containerfile and github
workflow build.
2023-04-06 14:04:53 +00:00
Eino Rauhala
6f095f8bfa
docs: add link to create-ublue-image ( #22 )
2023-04-04 15:58:47 +00:00
Eino Rauhala
b6c28e40a8
Merge pull request #21 from ublue-os/multibuild-docs
...
docs: section about multibuilds
2023-04-04 18:49:22 +03:00
ER
eec8561646
docs: section about multibuilds
2023-04-04 18:48:57 +03:00
Eino Rauhala
fb70b2f481
Merge pull request #19 from ublue-os/docss
...
fix: change img to startingpoint in verification
2023-04-03 17:56:18 +03:00
ER
21eafaa3c0
fix: change img to startingpoint in verification
...
this makes it so that the create-ublue-script automatically replaces it
2023-04-03 17:55:50 +03:00
Eino Rauhala
e87f260fa1
Merge pull request #18 from ublue-os/docss
...
docs: overhaul readme for more clarity and info
2023-04-03 17:54:17 +03:00
ER
2012e2443b
docs: section about yafti
2023-04-03 17:53:22 +03:00
ER
12497d394d
docs: simplify redundant signing info
2023-04-03 17:44:23 +03:00
ER
8310669bf2
docs: rm unfullfilled promises of ublue-firstboot
2023-04-03 17:42:05 +03:00
ER
c986ebacca
docs: document the usage of "latest" in fedora ver
2023-04-03 17:34:26 +03:00
ER
ba12a9cf88
docs: cleanup some incorrect info
2023-04-03 17:32:01 +03:00
ER
095434581e
docs: move note to getting started
2023-04-03 17:22:42 +03:00
ER
2e1499b332
docs: full simple customization section
2023-04-03 17:20:50 +03:00
ER
0f457747ad
docs: getting started & start of customization
2023-04-03 17:12:05 +03:00
ER
0f3da15109
docs: streamline readme introduction
2023-04-03 17:03:22 +03:00