Skip to content
Snippets Groups Projects
Commit ef522951 authored by Michal Suchanek's avatar Michal Suchanek Committed by Johannes Schauer Marin Rodrigues
Browse files

Revert "initramfs: Load font early on Pocket Reform"

This reverts commit 3aa0b0e3.

Obsoleted by u-boot passing the font on commandline.
parent 158619c5
No related branches found
No related tags found
2 merge requests!95reform-tools 1.58,!91Revert "initramfs: Load font early on Pocket Reform"
Pipeline #2977 passed
......@@ -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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment