lnibuilds/ArchLinuxArmBase.lnibuild

32 lines
656 B
Plaintext
Raw Normal View History

2024-11-02 19:42:56 +00:00
image_type="arch"
name="ArchLinuxBase"
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"
"bluez"
"bluez-utils"
"vulkan-freedreno"
"networkmanager"
)
post_install()
{
log "Enable Network Manager service"
chroot "$imageroot" systemctl enable NetworkManager
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"
}