diff --git a/initramfs-tools/hooks/reform b/initramfs-tools/hooks/reform index 7d5fc07ea78cf0a93816cc3066621f8d7c2c37ed..cfb9600eba3a2f83dc818e176e54683d2902092b 100755 --- a/initramfs-tools/hooks/reform +++ b/initramfs-tools/hooks/reform @@ -19,11 +19,6 @@ elif [ -e /proc/device-tree/model ]; then MACHINE=$(cat /proc/device-tree/model) fi -copy_reform_font() { - copy_exec /usr/bin/setfont - 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 @@ -40,15 +35,9 @@ case $MACHINE in copy_exec /usr/bin/dmesg ;; "MNT Reform 2 with RCORE RK3588 Module") : ;; - "MNT Pocket Reform with i.MX8MP Module") - copy_reform_font - ;; - "MNT Pocket Reform with BPI-CM4 Module") - copy_reform_font - ;; - "MNT Pocket Reform with RCORE RK3588 Module") - copy_reform_font - ;; + "MNT Pocket Reform with i.MX8MP Module") : ;; + "MNT Pocket Reform with BPI-CM4 Module") : ;; + "MNT Pocket Reform with RCORE RK3588 Module") : ;; "MNT Reform Next with RCORE RK3588 Module") : ;; "") echo "W: unable to deduce target machine for reform initramfs-hook" >&2 diff --git a/initramfs-tools/scripts/reform b/initramfs-tools/scripts/reform index c39fa298338dc5f69edae742ce12ec4d6496a499..8ebcdcbd4ed6091f3ebb7b9e4ad293d6383567a0 100755 --- a/initramfs-tools/scripts/reform +++ b/initramfs-tools/scripts/reform @@ -16,9 +16,4 @@ case $MACHINE in # https://source.mnt.re/reform/reform-debian-packages/-/issues/5 dmesg -n 7 || echo "E: failed to set kernel loglevel" >&2 ;; - "MNT Pocket Reform"*) - for c in 1 2 3 4 5 6 7; do - setfont -C /dev/tty$c Uni2-TerminusBold32x16 - done - ;; esac