Commit Graph

5 Commits

Author SHA1 Message Date
Colin Walters a26d669340 system-configuration: Add cloud-utils-growpart
This is a relatively small shell script, and was already split out
from cloud-init to support use cases like ours.

systemd-repart is a lot nicer but it isn't yet designed
for our use case (root is not Discoverable Partition).

Also systemd-repart doesn't handle LVM which this script
tries to support.

(IMO the real solution to stuff like this is either Stratis
 or equivalent)
2024-03-04 19:40:10 -05:00
Colin Walters 8a987bb166 tier-1: Add lvm2
We expect to support this by default.
2023-11-19 15:20:26 -05:00
Colin Walters ec478a0a1b tier-1: Strip out various things not in ELN
We won't ship things not in ELN.
2023-09-29 17:59:20 -04:00
Colin Walters 7361f26eeb Introduce a tier-0 image
This is basically just:

- kernel
- systemd
- selinux-policy-targeted
- bootc

Notably it doesn't have `rpm-ostree` or `rpm`, or many other things.
It also doesn't even have `linux-firmware`.

And no `openssh`!

It's almost certain that you need to derive from this, but
it should be a suitable starting point.

TODO: Add something like

```
$ dnf-system-bootstrap
Installing packaging tools from quay.io/fedora/fedora-boot-dnf@sha256:abcd...)
 # This would be basically all the packages not in tier-0 that
 # are enough to give `dnf install`
$ dnf install cowsay
 # Install critical stuff
$ dnf system-bootstrap remove
 # Remove everything that we added for the package system, that isn't
 # a dependency of what the user wants!
```

(In theory we could make this work with multi-stage builds, but
 it's a little hard)
2023-09-15 15:11:01 -04:00
Colin Walters 380886b80a A few renames; oscore -> tier-1
Prep for multiple tiers.
2023-09-13 17:45:16 -04:00