Initial commit
This commit is contained in:
commit
14064e1b1d
31
ArchLinuxArmBase.lnibuild
Normal file
31
ArchLinuxArmBase.lnibuild
Normal file
|
@ -0,0 +1,31 @@
|
|||
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"
|
||||
|
||||
}
|
46
ArchLinuxArmGnome.lnibuild
Normal file
46
ArchLinuxArmGnome.lnibuild
Normal file
|
@ -0,0 +1,46 @@
|
|||
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"
|
||||
|
||||
}
|
50
ArchLinuxArmPlasma.lnibuild
Normal file
50
ArchLinuxArmPlasma.lnibuild
Normal file
|
@ -0,0 +1,50 @@
|
|||
image_type="arch"
|
||||
name="ArchLinuxPlasma"
|
||||
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"
|
||||
"plasma"
|
||||
"grub"
|
||||
"konsole"
|
||||
"dolphin"
|
||||
"ark"
|
||||
"bluez"
|
||||
"bluez-utils"
|
||||
"xorg-xrandr"
|
||||
"xorg-xinput"
|
||||
"qt5-virtualkeyboard"
|
||||
"vulkan-freedreno"
|
||||
"networkmanager"
|
||||
)
|
||||
|
||||
post_install()
|
||||
{
|
||||
log "Enable Network Manager service"
|
||||
chroot "$imageroot" systemctl enable NetworkManager
|
||||
|
||||
log "Enable SDDM service"
|
||||
chroot "$imageroot" systemctl enable sddm
|
||||
|
||||
log "Enable bluetooth service"
|
||||
chroot "$imageroot" systemctl enable bluetooth
|
||||
|
||||
log "Configure SDDM"
|
||||
cp ./drop/sddm.nabu.Xsetup "$imageroot/usr/share/sddm/scripts/Xsetup"
|
||||
cp ./drop/sddm.nabu.conf "$imageroot/usr/lib/sddm/sddm.conf.d/nabu.conf"
|
||||
chmod 755 "$imageroot/usr/share/sddm/scripts/Xsetup"
|
||||
chmod 644 "$imageroot/usr/lib/sddm/sddm.conf.d/nabu.conf"
|
||||
|
||||
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"
|
||||
}
|
36
Debian12Gnome.lnibuild
Normal file
36
Debian12Gnome.lnibuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
image_type="deb"
|
||||
name="Debian12-Gnome"
|
||||
imgver="Bookworm-$(date '+%Y-%m-%d')"
|
||||
zram="y"
|
||||
|
||||
_branch="bookworm"
|
||||
_components="main,contrib,non-free,non-free-firmware"
|
||||
_repo="http://ftp.debian.org/debian"
|
||||
_debootstrap_flags="--exclude=pulseaudio"
|
||||
|
||||
pre_install=()
|
||||
|
||||
base_system() {
|
||||
fetch_base_system "$imageroot" "$_branch" "$_components" "$_repo" "$_debootstrap_flags"
|
||||
}
|
||||
|
||||
packages=(
|
||||
"gnome-core"
|
||||
"bash-completion"
|
||||
"sudo"
|
||||
"ssh"
|
||||
"nano"
|
||||
)
|
||||
|
||||
post_install() {
|
||||
log "Configuring gdm and GNOME"
|
||||
|
||||
mkdir -p "$imageroot/etc/skel/.config"
|
||||
cp ./drop/monitors.xml "$imageroot/etc/skel/.config/monitors.xml"
|
||||
chroot "$imageroot" bash -c 'mkdir ~Debian-gdm/.config/'
|
||||
chroot "$imageroot" bash -c 'chown Debian-gdm: ~Debian-gdm/.config/'
|
||||
chroot "$imageroot" bash -c 'chmod 700 ~Debian-gdm/.config'
|
||||
chroot "$imageroot" bash -c 'cp /etc/skel/.config/monitors.xml ~Debian-gdm/.config/'
|
||||
chroot "$imageroot" bash -c 'chmod 644 ~Debian-gdm/.config/monitors.xml'
|
||||
chroot "$imageroot" bash -c 'chown Debian-gdm: ~Debian-gdm/.config/monitors.xml'
|
||||
}
|
15
FedoraWorkstation40.lnibuild
Normal file
15
FedoraWorkstation40.lnibuild
Normal file
|
@ -0,0 +1,15 @@
|
|||
image_type="fedora"
|
||||
name="FedoraWorkstation"
|
||||
imgver="40-$(date '+%Y-%m-%d')"
|
||||
zram="y"
|
||||
|
||||
pre_install=()
|
||||
|
||||
base_system()
|
||||
{
|
||||
fetch_base_system "$imageroot" 40 1.14 Workstation
|
||||
}
|
||||
|
||||
packages=()
|
||||
|
||||
post_install=()
|
Loading…
Reference in a new issue