Commit Graph

10 Commits

Author SHA1 Message Date
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 925d2a89cf Move container entrypoint to tier 0 2023-09-28 16:29:56 -04:00
Colin Walters aabca8e623 networking: But do exclude systemd-networkd 2023-09-23 09:09:02 -04:00
Colin Walters 719024a2c1 tier-1: Enable recommends, fix podman
We were missing `container-selinux`...oops.  Fix that.  While
we're here..

- Fully re-enable `recommends: true` - this is not a small image,
  and so let's not try to override things.
- Drop out the old-style compat networking packages for podman,
  since this is a new image
2023-09-23 08:27:45 -04:00
Colin Walters e67a9ca22c tier-1: Add dnf (and for -dev, fetch from copr)
Part of the aim of this project is to make `dnf` "Just work"
in a bootable container native host.

There's some details to work through, but tier-1 is already
large, and this doesn't add much more.
2023-09-22 10:57:29 -04:00
Colin Walters d6c5c14f38 tier-1: Enable persistent journal by default
The copies of this never stop!
2023-09-21 17:00:10 -04:00
Colin Walters dcebb7adac firmware: Include fwupd
I think this makes sense; in theory you can use bare metal
but not ship fwupd, but eh.
2023-09-15 17:51:21 -04:00
Colin Walters 29f6c6fcd2 manifests: Split out firmware, do use bootable-rpm-ostree 2023-09-15 17:30:44 -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