Commit Graph

58 Commits

Author SHA1 Message Date
fiftydinar
df4f3301ae feat: Add akmods module (#212)
* feat: Add kmods installer module

Credits: @C0dePlayer

This is not ideal as it does not support custom kernels & it involves editing Containerfile.

I believe there is no other way but to make users edit Containerfile for those files to be even pulled of.

I would like this to be through the recipe only, so I will put this as a draft until some better ideas come.

* Update Containerfile

Related to this:

d76cca4f3a/modules/akmods/README.md

* Clarify change of akmod version better

Part of adding support for Surface & Asus images.
2024-01-14 17:24:03 +00:00
fiftydinar
2b0f8fc7eb chore: Bump to Fedora 39 (#186)
* Bump release-iso workflow to Fedora 39

* Pin isogenerator version

It is recommended in order to avoid some unexpected changes to the maintainer.

* Update other recipe & containerfile to reflect Fedora 39 change
2023-11-08 16:22:25 +00:00
ER
4e0095bc96 refactor: fetch modules from bling 2023-09-10 17:31:25 +03:00
ER
15b3d394b8 docs: some docs fixes, better formatting, etc 2023-09-09 12:08:20 +03:00
gerblesh
cc90a91733 feat: added systemd and files module (#142)
* feat: add files and systemd module

* fix: yaml formatting

* fix: yaml formatting

* fix: remove comment completely

* fix: yaml formatting

* docs: add back inline comment

* reformat: rename variables

* fix: fix systemd escaped string

* fix: fix systemd service formatting with printf

* fix: attempting to fix systemd module problems

* chore: remove debug config and code from systemd module

* docs: added WIP docs for systemd, reworked files README

* docs: added more detail for systemd module

* docs: update READMEs to be more consistent

* docs: remove unneeded sentence

* docs: remove unneeded sentence

* chore: fix issues described in PR review

* docs: fix markdown formatting

* docs: fix markdown formatting

* docs: better markdown
2023-09-05 15:56:42 +00:00
ER
7b036d3d10 feat: ublue-os/bling module
this makes all bling components optional,
while making more of them accessible
2023-08-26 15:52:28 +03:00
ER
81dca63764 chore: clean up bling a bit 2023-08-26 14:57:43 +03:00
ER
38dda90a23 refactor: rename fedora version to os version
this change makes sense for when in the future it's possible to
build other OS's with this same system
it was done now, because i'm bundling a bunch of breaking changes
into a single update
2023-08-13 18:00:58 +03:00
ER
6b64c6e5a2 chore: remove wallpaper rpm installation (for now) 2023-08-09 20:50:16 +03:00
ER
40be688074 chore: also copy modules directory into img build 2023-08-09 20:37:39 +03:00
ER
4325e65c10 chore: refactor code to support new structure
* this doesn't do much yet and a lot of code was deleted,
functionality will be gradually added back
2023-08-09 20:27:42 +03:00
gerblesh
cf41e52129 refactor: fix jq, rename cosign.yaml and cosign.pub 2023-07-23 12:10:12 -07:00
gerblesh
23d8b2dddb refactor: clean up image signing to line up more with upstream 2023-07-22 22:07:25 -07:00
gerblesh
978bd6193c fix: fix build arguments 2023-07-21 09:11:59 -07:00
gerblesh
d2c98237f4 feat: add support for image signing 2023-07-20 22:35:59 -07:00
Tulili
da1b3f9ca2 feat: integrate bling repo (#105)
includes everything from the bling repository to this repository (COPY)
and removes features now ingested from bling

---------

Co-authored-by: ER
2023-06-30 09:02:23 +00:00
ER
1bf1785f2a docs: better inline docs in containerfile
* explaining ARG default values
2023-05-31 16:41:49 +00:00
plata
dd89cb7299 chore: use ./recipe.yml as default in Containerfile 2023-05-31 16:05:08 +00:00
Arcitec
e8b5be6e83 fix!: optimize container layers and reduce image size
Every individual RUN, COPY and ADD action creates an extra container layer, so there was plenty of room for improvement in our Containerfile.

This optimization gets rid of 4 useless layers from our final container image, and shrinks the final OCI download size as follows:

- Removing the "mkdir /tmp/scripts" layer. It's not necessary to manually create the target directory for the container copy action.

- Removing the manual "chmod +x" for the scripts, and putting that step inside "build.sh" instead.

- Removing the manual copying of "build.sh", by instead placing it at "scripts/build.sh" so that it's automatically copied together with all the other scripts in one layer instead.

- Removing the separate "chmod +x build.sh && run build script" step by merging it with the "cleanup temp files and then finalize the container" step, so that we don't create a pointless extra filesystem layer just for the build.sh script execution.

These changes also reduce the size of the final image, because we're cleaning up the image in the exact same step that we run the "build.sh". If we didn't combine these steps, we'd still be keeping a useless extra layer with all the /tmp/ and /var/ junk files that were left over after the build.

Most seriously, the "/var/cache" folder contained copies of ALL RPM FILES that build.sh installed via "rpm-ostree install". This meant that we were generating a very big layer with a lot of junk data that shipped in the final image.

Our build now only generates 7 layers (instead of 11), and users will have a much smaller OCI download since we aren't shipping the cached RPM "build leftovers" or temp files via useless extra layers anymore.
2023-05-20 08:07:46 +00:00
Arcitec
147932d54f chore: clean up Containerfile and document "/etc" behavior
- We don't have any files remaining in "./etc/" in this repo.

- We could add a ".gitkeep" file to it, to keep the "empty" directory, but then that file would get automatically merged as a hidden file into the final image, which is silly.

- So let's just document the proper location to place things instead, which is "usr/etc/".

- The Containerfile has also been cleaned up to be a bit easier to follow along what it's doing, such as putting the "copy scripts" step closer to the actual running of the scripts.
2023-05-14 18:18:18 +03:00
Arcitec
077e7243f2 fix!: move recipe.yml to standardized location 2023-05-10 21:44:01 +03: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
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
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
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
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
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
ER
fe16187a92 feat: declare base image and fedora ver in recipe 2023-04-03 15:17:16 +03:00
ER
e9c31aba83 chore: put ublue-recipe in /tmp
-> there's no reason to send the recipe to the client
as it is only used in the build stages
2023-04-02 15:51:18 +03:00
ER
0b669f5bb5 feat: switch to yafti for first boot
based on what's done in bluefin
& https://github.com/ublue-os/yafti#running-from-a-containerfile
2023-04-02 12:00:58 +03:00
ER
4a77f9c1fc docs: document the containerfile 2023-04-02 11:45:21 +03:00
ER
68122c87ca feat: switch to separate build script 2023-04-02 11:44:44 +03:00
ER
1af2eaf11e style: seperate firefox removal and rpms 2023-03-04 16:36:11 +02:00
ER
8b389d5f04 fix: don't copy usr as it's empty 2023-03-04 13:45:41 +02:00
ER
bd5db68387 fix: typo in /usr 2023-03-04 13:36:10 +02:00
ER
2f95c5a232 chore: rm comments which don't apply 2023-03-04 12:36:30 +02:00
ER
9c2e6ca0a7 chore: clear up unneeded cmds 2023-03-04 12:28:58 +02:00
ER
1cf1c2441c chore: change base image 2023-03-04 12:27:32 +02:00
ER
9f47c1eddf feat: add back usr folder 2023-03-04 12:26:49 +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
Jorge O. Castro
99c15be6f0 feat: split flatpak update units into user and system (#72) 2023-02-22 20:18:38 -05:00
Kyle Gospodnetich
eab9f60a63 chore: Match ublue-os/nvidia behavior (#60) 2023-02-15 16:45:27 -05:00
Jorge O. Castro
6927892581 feat: swap out custom build for RPM of vanilla-first-setup (#59) 2023-02-13 23:00:15 -05:00
Adam Israel
f8917a3258 fix: Add vte dependency for first-setup (#56) 2023-02-12 14:06:05 -05:00
Adam Israel
43ddf0a123 feat: Install VanillaOS' first-setup (#55) 2023-02-12 13:48:22 -05:00
Jorge O. Castro
52290611ed Switch to the quay.io base image
They keep adding images so this must be the place!
2023-01-23 19:03:30 -05:00
Jorge O. Castro
870916bd8a Add just task runner and example commands (#27) 2023-01-16 22:37:32 -05:00
Jorge O. Castro
7479234c5f Remove workaround for rpm-ostree fix
This package is updated in fedora now, no need to do this.
2022-12-29 13:43:01 -05:00