Dustin C. Hatch 14d0cdcec1 Configure swap space on NBD volume
Using zram to compress pages did not provide enough memory to run
Firefox, Node, and Python for an extended period of time.  Here's hoping
swap-on-NBD will be fast and reliable enough to work.

Note that systemd's default behavior with respect to swap areas is to
enable them all rather early in the boot process, before the network is
fully configured.  As such, we have to use the *noauto* flag to disable
the default dependencies and add our own in a later target.
2022-04-04 20:59:34 -05:00
2022-04-04 20:59:34 -05:00
2022-04-04 20:59:32 -05:00
2022-04-04 20:59:34 -05:00
2022-04-04 20:59:34 -05:00
2022-04-04 20:59:32 -05:00
2022-04-04 20:59:32 -05:00
2022-04-04 20:59:34 -05:00
2022-04-04 20:59:32 -05:00
2022-04-04 20:59:32 -05:00
2022-04-04 20:59:32 -05:00

Basement Hud Network-Booted OS

Customized Fedora-based operating system distributed as an immutable root filesystem image.

Building

Must run on a Fedora host or privileged container.

Build the root filesystem image:

make rootfs

This will create an _build/rootfs directory containing the root filesystem hierarchy. The _build/rootfs/boot directory contains the necessary files to boot the system:

  • efi: This directory contains the Raspberry Pi firmware files
  • initramfs.img: Early userspace image
  • vmlinuz: Kernel image
  • basementhud.squashfs: Root filesystem image

The Raspberry Pi firmware, initramfs image, and kernel image files must be served by a TFTP, while the rootfs image is served by NBD.

Build the initramfs image:

make initramfs
Description
No description provided
Readme 382 KiB
Languages
Shell 89%
Dockerfile 5.7%
Makefile 5.3%