From 286cdba8e88445dc7c2b616749b30925673e8c69 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> Date: Fri, 11 Oct 2024 12:54:38 +0200 Subject: [PATCH] initramfs-tools/hooks/reform: document how this hook must not get out-of-sync with the hook in reform-system-image --- initramfs-tools/hooks/reform | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/initramfs-tools/hooks/reform b/initramfs-tools/hooks/reform index dcbfcc8..7d5fc07 100755 --- a/initramfs-tools/hooks/reform +++ b/initramfs-tools/hooks/reform @@ -24,6 +24,11 @@ copy_reform_font() { copy_file Uni2-TerminusBold32x16 /usr/share/consolefonts/Uni2-TerminusBold32x16.psf.gz } +# The switch below creates device-specific initramfs depending on the platform +# that update-initramfs is run on. For the system images, we would like to +# create identical images that work on all boards. Thus, if you change anything +# below, make sure to also adjust the respective initramfs hook in the +# reform-system-image repository. case $MACHINE in "MNT Reform 2") : ;; "MNT Reform 2 HDMI") : ;; -- GitLab