PortValhalla/archiso/scripts/valhalla.patch
2024-07-07 22:04:18 +02:00

46 lines
969 B
Diff

diff --git a/airootfs/root/.zlogin b/airootfs/root/.zlogin
index bf6bc8f..76e5893 100755
--- a/airootfs/root/.zlogin
+++ b/airootfs/root/.zlogin
@@ -4,3 +4,18 @@ if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
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;
+
+pushd "PortValhalla" > /dev/null
+
+git diff -p -R --no-ext-diff --no-color --diff-filter=M \
+ | grep -E "^(diff|(old|new) mode)" --color=never \
+ | git apply
+
+popd > /dev/null
+
+loadkeys de_CH-latin1
diff --git a/packages.x86_64 b/packages.x86_64
index 9e876e7..b89ab30 100755
--- a/packages.x86_64
+++ b/packages.x86_64
@@ -30,8 +30,10 @@ ethtool
exfatprogs
f2fs-tools
fatresize
+fish
foot-terminfo
fsarchiver
+git
gnu-netcat
gpart
gpm
@@ -75,6 +77,7 @@ nbd
ndisc6
nfs-utils
nilfs-utils
+nix
nmap
ntfs-3g
nvme-cli