[presets] add ROG ALLY support

This commit is contained in:
Philip Mueller
2023-06-23 19:56:03 +02:00
parent 42af023b54
commit 391c5d0cc1
10 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#!/bin/sh
# This is the post install script for ROG ALLY devices!
# Expand the filesystem
resize-fs
# Set chassis
hostnamectl set-chassis handset
# Update appstream DB
[[ -e /usr/bin/appstreamcli ]] && /usr/bin/appstreamcli refresh-cache --force
# Set locales
localectl set-locale "en_US.UTF-8"
# Disable this service, so it only gets run on first boot
systemctl disable rogally-post-install.service
# Start sddm
[[ -e /usr/bin/sddm ]] && systemctl enable --now sddm
# Add ACPI Override (this might need a reboot to work)
/usr/bin/update_rogaao
# Pacman Init
pacman-key --init
pacman-key --populate archlinuxarm manjaro manjaro-arm
# Disable the root login
passwd --lock root