mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-12-06 19:39:20 +01:00
[presets] add ROG ALLY support
This commit is contained in:
30
presets/rog-ally-plasma/overlay/rogally-post-install
Executable file
30
presets/rog-ally-plasma/overlay/rogally-post-install
Executable 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
|
||||
Reference in New Issue
Block a user