Commit Graph

22 Commits

Author SHA1 Message Date
Colin Walters c5995391b2 manifests: Add descriptions
This is generally useful for the same reason dpkg/rpm packages
have descriptions. But it's also specifically preparation
for the base image builder having a list operation to show
available configurations.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-21 18:13:35 -05:00
Jonathan Lebon 83542ad32e
tier-1: drop a bunch of redundant packages
These are all included in tier-x or tier-0 already.

Though it does drop bsdtar. This isn't really well-known enough to
belong here. It's included in FCOS because we use it in our scripts,
but it's not a requirement for any tier-1 logic AFAIK and I would be
surprised if users expected it there.
2024-09-18 15:32:40 -04:00
Jonathan Lebon 034cf4bf28
tier-1: inherit from tier-x
We want tier-1 to be another consumer of tier-x, kind of like its own
top-level Fedora variant. That way, tier-1 is now a strict superset of
tier-x, just like the other variants.
2024-09-18 15:16:46 -04:00
Colin Walters (Red Hat) 39240d2848 Merge branch 'pr/iptables-nft' into 'main'
Drop iptables-legacy from tier-0, drop iptables-legacy alternatives hack from tier-1

See merge request fedora/bootc/base-images!46
2024-09-17 18:14:41 +00:00
Jonathan Lebon e89c5542ea
Move automatic updates by default from tier-0 to tier-1
tier-1 is more opinionated and automatic updates by default is
definitely a very strong opinion.

This makes it easier to inherit from tier-0 without having to undo that
knob if it's not desirable.

Prep for !48.
2024-09-17 13:56:47 -04:00
Jonathan Lebon f4eba96aef
tier-1: drop iptables alternatives hack
We only ship iptables-nft, so there's no need to explicitly
override the symlinks anymore. To enforce this remains the case, add
`iptables-legacy` to the exclusion list.
2024-09-16 16:06:13 -04:00
Jonathan Lebon 9410195760
tier-1: drop redundant tier-0 symlinks
Instead of re-symlinking every tier-0 manifest, just include the tier-0
manifest directly. That way, rpm-ostree will already know to resolve its
manifests within the tier-0 directory.
2024-09-16 09:18:05 -04:00
Paul Whalen b0fa1f1dcd tier-0: add dnf for building derived images
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2024-05-08 08:14:30 -04:00
Colin Walters b69e7d90bf user-experience: Resync with FCOS
I don't entirely remember what happened here when forking from
CoreOS, but we definitely want toolbox and lsof at least, just
looking at the differences.

While we're here I did readd sos, but in another section.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-05-03 16:34:22 -04:00
Colin Walters ae9118576b Add bootc-generic-growpart
This service is a backfill for lack of a better option
as a baseline to run in cloud/virt environments:

- Without cloud-init
- Even with cloud-init, as it doesn't yet support growing
  on ostree/composefs

Signed-off-by: Colin Walters <walters@verbum.org>
2024-05-01 10:31:12 -04:00
Colin Walters 5179418ee4 manifest: Add vim-minimal
This got lost in the shuffling.
2024-04-11 13:42:46 -04:00
Colin Walters 13f01e6735 Swap to nfs-utils, not nfs-utils-coreos
The `nfs-utils-coreos` package was created to not depend on
Python mainly, but we are way deep into many other packages
that do at this point.

There's some other package that `Requires: nfs-utils` that
this should fix.
2024-02-14 08:03:03 -05:00
Colin Walters 1bfa82ef77 tier-1: Enable lvm dracut module
Right now we have an "allowlist" effectively for our dracut modules
because we specify a configuration in `/usr/lib/dracut/dracut.conf.d`
which seems to turn off autodetection.

Add in lvm which we definitely want to support.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-01-25 09:20:41 -05:00
Colin Walters 929e3e58e4 Add subscription-manager
We need this to access RHEL RPM content today.

(I would like longer term to be able to fetch RPMs from registries
 with a pull secret, xref https://github.com/coreos/rpm-ostree/issues/4155 )
2023-12-13 14:39:28 -05:00
Colin Walters f53dd4966e tier-1: Drop qemu emulators
These don't exist in C9S/ELN, and break the build on non-x86_64
on those.
2023-10-29 10:17:18 -04: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 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 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