Commit Graph

6 Commits (6c588d59a2d8dcaeb2cac9fe0ff69c2987635f09)

Author SHA1 Message Date
Dustin 6c588d59a2 podman-build: Mount /mnt/gentoo as a volume
Using a bind-mount instead of an overlay should marginally increase
performance.
2023-02-13 22:59:51 -06:00
Dustin 8a2bb1666d Add top-level Makefile
Building the OS is now as simple as running `make` on a Gentoo system.

Interestingly, when `make` is executed as a (grand)child process of
another `make` process, it always prints an `Entering directory ...`
message.  This breaks the `make kernelversion` command, by adding
extraneous text to the output.
2023-02-13 22:59:51 -06:00
Dustin b35ff1b85d build-rootfs: Avoid spurious boot errors
The *ldconfig.service* fails because `/etc` is not writable and thus
`/etc/ld.so.cache` cannot be generated.

The files specified in the `provision.d` *tmpfiles.d(5)* configuration
are unnecessary, and many of them cannot be created at runtime because
the root filesystem is immutable.
2023-02-13 22:59:51 -06:00
Dustin 594dc43366 build-rootfs: Create /lib and /lib64 symlinks 2023-02-13 22:59:51 -06:00
Dustin 6be78932df uboot: Apply patches outside container
When running inside a rootless Podman container on a SELinux-enabled
host, the `patch` command fails because it cannot copy SELinux labels
from the original file to the patched file.  This only happens patching
files that are located in a bind mount.
2023-02-13 22:59:51 -06:00
Dustin d6da5ca777 Initial commit 2023-02-13 22:59:51 -06:00