lnibuilds/ArchLinuxArmGnome.lnibuild
2024-11-03 00:42:56 +05:00

47 lines
1,012 B
Plaintext

image_type="arch"
name="ArchLinuxGnome"
imgver="$(date '+%Y-%m-%d')"
zram="y"
pre_install=()
base_system()
{
fetch_base_system "$imageroot" "https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz"
}
packages=(
"sudo"
"gdm"
"gnome-menus"
"gnome-backgrounds"
"gnome-control-center"
"gnome-keyring"
"xdg-user-dirs-gtk"
"nautilus"
"xdg-desktop-portal-gnome"
"gnome-console"
"bluez"
"bluez-utils"
"vulkan-freedreno"
"networkmanager"
)
post_install()
{
log "Enable Network Manager service"
chroot "$imageroot" systemctl enable NetworkManager
log "Enable GDM service"
chroot "$imageroot" systemctl enable gdm
log "Enable bluetooth service"
chroot "$imageroot" systemctl enable bluetooth
log "Generating en_US locale"
sed -i "s/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" "$imageroot/etc/locale.gen"
chroot "$imageroot" locale-gen
echo "LANG=en_US.UTF-8" > "$imageroot/etc/locale.conf"
}