madeye

command
v3.0.0-...-66753ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

madeye merges multiple architecture u-root initramfs to form a single universal initramfs.

Synopsis:

madeye initramfs [initramfs...]

u-root was intended to be capable of function as a universal root, i.e. a root file system that you could boot from different architectures. We call this ability Multiple Architecture Device Image, or MADI, pronounced Mad-Eye. (Apologies to Harry Potter.)

Given a set of images, e.g. initramfs.linux_<arch>.cpio, madeye derives the architecture from the name. It then reads the cpio in. For a distinguished set of directories, it relocates them from / to /<arch>/, a la Plan 9. If there is a /init, it moves to /<arch>/init. It adjusts absolute path symlinks.

To boot a kernel with a MadEye, one must adjust the init= arg to prepend the architecture. For example, on arm it would be init=/arm/init. For now, this only works for bb mode.

TODO: look for conflicting dev entries, and write them out.

TODO: derive arch from the ELF file of bb instead of the name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL