alma/presets/rog-ally-plasma/overlay/rogally-post-install
2023-06-23 22:30:32 +02:00

31 lines
685 B
Bash
Executable File

#!/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