UNPKG

penguins-eggs

Version:

A remaster system tool, compatible with Almalinux, Alpine, Arch, Debian, Devuan, Fedora, Manjaro, Opensuse, Ubuntu and derivatives

18 lines (17 loc) 782 B
/** * ./src/classes/ovary.d/luks-root-initrd.ts * penguins-eggs v.25.10.x / ecmascript 2020 * author: Piero Proietti * email: piero.proietti@gmail.com * license: MIT */ import Ovary from '../ovary.js'; /** * Creates a streamlined initrd image for Debian/Ubuntu with LUKS support using mkinitramfs within a temporary chroot. * Copies the necessary unlock script, ensures losetup is included via a hook, and wraps /scripts/live for debugging. * Assumes live-boot and cryptsetup packages are installed in the chroot. * No cleanup of /etc modifications is performed as the chroot is temporary. * @param this - Ovary instance context * @param verbose - Whether to show verbose output */ export declare function luksRootInitrd(this: Ovary, verbose?: boolean): Promise<void>;