PortValhalla/archiso/scripts/valhalla.patch

55 lines
1.1 KiB
Diff

diff --git a/airootfs/root/.zlogin b/airootfs/root/.zlogin
index bf6bc8f..bdbe55c 100644
--- 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
+
+cd "/root/PortValhalla" || exit
+
+git diff -p -R --no-ext-diff --no-color --diff-filter=M \
+ | grep -E "^(diff|(old|new) mode)" --color=never \
+ | sed "/^diff/{ x; d; }; x; /./{ p; z; }; x;" \
+ | git apply
+
+loadkeys de_CH-latin1
+./scripts/Arch/OS/setup.fish
diff --git a/packages.x86_64 b/packages.x86_64
index 1e9a752..b807634 100644
--- a/packages.x86_64
+++ b/packages.x86_64
@@ -30,8 +30,10 @@ ethtool
exfatprogs
f2fs-tools
fatresize
+fish
foot-terminfo
fsarchiver
+git
gpart
gpm
gptfdisk
@@ -44,6 +46,7 @@ irssi
iw
iwd
jfsutils
+jq
kitty-terminfo
ldns
less
@@ -74,6 +77,7 @@ nbd
ndisc6
nfs-utils
nilfs-utils
+nix
nmap
ntfs-3g
nvme-cli