From 22b9be73eec43122831a8f25f91df96da15e1478 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jun 2024 22:19:39 +0200 Subject: [PATCH] Create a new patch --- archiso/scripts/valhalla.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 archiso/scripts/valhalla.patch diff --git a/archiso/scripts/valhalla.patch b/archiso/scripts/valhalla.patch new file mode 100644 index 00000000..e2a7a765 --- /dev/null +++ b/archiso/scripts/valhalla.patch @@ -0,0 +1,25 @@ +diff -ru --no-dereference -x.git -x.gitignore -xREADME.md -xscripts -xLICENSE -xout -xvalhalla.patch /usr/bin/../share/archiso/configs/releng/airootfs/root/.zlogin ../airootfs/root/.zlogin +--- /usr/bin/../share/archiso/configs/releng/airootfs/root/.zlogin 2024-05-23 23:16:11.000000000 +0200 ++++ ../airootfs/root/.zlogin 2024-06-18 22:02:32.189465802 +0200 +@@ -4,3 +4,10 @@ + fi + + ~/.automated_script.sh ++ ++if bash -c "ls /sys/class/backlight/*/max_brightness" > /dev/null 2>&1; ++then ++ cat /sys/class/backlight/*/max_brightness > /sys/class/backlight/*/brightness ++fi; ++ ++loadkeys de_CH-latin1 +diff -ru --no-dereference -x.git -x.gitignore -xREADME.md -xscripts -xLICENSE -xout -xvalhalla.patch /usr/bin/../share/archiso/configs/releng/packages.x86_64 ../packages.x86_64 +--- /usr/bin/../share/archiso/configs/releng/packages.x86_64 2024-05-23 23:16:11.000000000 +0200 ++++ ../packages.x86_64 2024-06-18 22:18:23.338967643 +0200 +@@ -32,6 +32,7 @@ + fatresize + foot-terminfo + fsarchiver ++git + gnu-netcat + gpart + gpm