From fd7ab427389b3c38c20ca06fb32a6cc0a05594ad Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Wed, 13 Oct 2021 16:13:17 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20new=20version=20of=20archiso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 30-build-the-iso-the-first-time.sh | 138 ++ 40-build-the-iso-local-again.sh | 126 ++ README.md | 12 +- airootfs/etc/environment | 10 - airootfs/etc/group | 8 - airootfs/etc/gshadow | 2 - airootfs/etc/hostname | 3 - airootfs/etc/lightdm/lightdm-gtk-greeter.conf | 14 - airootfs/etc/locale.conf | 4 - airootfs/etc/machine-id | 0 airootfs/etc/passwd | 1 - airootfs/etc/shadow | 1 - airootfs/etc/skel/.bashrc | 188 --- airootfs/etc/skel/.config/qt5ct/qt5ct.conf | 28 - airootfs/etc/skel/.nanorc | 1 - airootfs/etc/skel/xed.dconf | 6 - .../journald.conf.d/volatile-storage.conf | 5 - .../getty@tty1.service.d/autologin.conf | 6 - .../share/X11/xorg.conf.d/30-touchpad.conf | 5 - archiso/airootfs/etc/default/grub | 54 + archiso/airootfs/etc/group | 16 + archiso/airootfs/etc/gshadow | 16 + archiso/airootfs/etc/hostname | 1 + archiso/airootfs/etc/locale.conf | 1 + {airootfs => archiso/airootfs}/etc/localtime | 0 .../airootfs}/etc/mkinitcpio.conf | 9 +- .../airootfs}/etc/mkinitcpio.d/linux.preset | 3 - .../airootfs}/etc/modprobe.d/broadcom-wl.conf | 0 {airootfs => archiso/airootfs}/etc/motd | 0 .../airootfs/etc/pacman-more.conf | 1 - archiso/airootfs/etc/pacman.conf | 107 ++ archiso/airootfs/etc/pacman.d/gnupg/gpg.conf | 12 + .../etc/pacman.d/hooks/40-locale-gen.hook | 13 + .../etc/pacman.d/hooks/uncomment-mirrors.hook | 13 + ...z99-remove-custom-hooks-from-airootfs.hook | 18 + archiso/airootfs/etc/pacman.d/mirrorlist | 660 ++++++++ archiso/airootfs/etc/passwd | 2 + .../polkit-1/rules.d/49-nopasswd_global.rules | 9 + .../airootfs/etc/sddm.conf.d/autologin.conf | 7 + archiso/airootfs/etc/shadow | 2 + archiso/airootfs/etc/skel/.Xresources | 34 + .../airootfs}/etc/skel/.bash_profile | 0 archiso/airootfs/etc/skel/.bashrc | 15 + .../airootfs/etc/skel/.config/Trolltech.conf | 17 + .../etc/skel/.config/alacritty/alacritty.yml | 155 ++ .../.config/autostart/cachyos-hello.desktop | 20 + .../etc/skel/.config/kdedefaults/kcminputrc | 2 + .../etc/skel/.config/kdedefaults/kdeglobals | 8 + .../skel/.config/kdedefaults/kscreenlockerrc | 2 + .../etc/skel/.config/kdedefaults/ksplashrc | 3 + .../etc/skel/.config/kdedefaults/kwinrc | 8 + .../etc/skel/.config/kdedefaults/plasmarc | 2 + archiso/airootfs/etc/skel/.config/kdeglobals | 150 ++ .../plasma-org.kde.plasma.desktop-appletsrc | 207 +++ .../etc/skel/.config/qt5ct/qt5ct.conf | 28 + archiso/airootfs/etc/skel/.xinitrc | 2 + .../airootfs}/etc/skel/.xprofile | 0 .../airootfs}/etc/skel/.xsession | 0 .../airootfs}/etc/ssh/sshd_config | 10 +- .../airootfs}/etc/sudoers.d/g_wheel | 0 archiso/airootfs/etc/systemd/journald.conf | 44 + .../journald.conf.d/volatile-storage.conf | 2 + archiso/airootfs/etc/systemd/logind.conf | 38 + .../systemd/logind.conf.d/do-not-suspend.conf | 3 - .../etc/systemd/network/20-ethernet.network | 18 + .../etc/systemd/network/20-wlan.network | 17 + .../etc/systemd/network/20-wwan.network | 17 + .../etc/systemd/system/choose-mirror.service | 10 + .../cloud-config.service | 1 + .../cloud-final.service | 1 + .../cloud-init-local.service | 1 + .../cloud-init.service | 1 + ...dbus-org.freedesktop.ModemManager1.service | 1 + .../dbus-org.freedesktop.network1.service | 1 + ...dbus-org.freedesktop.nm-dispatcher.service | 1 + .../dbus-org.freedesktop.resolve1.service | 1 + .../etc/systemd/system/default.target | 1 + .../systemd/system/display-manager.service | 1 + .../systemd/system/etc-pacman.d-gnupg.mount | 8 + .../getty@tty1.service.d/autologin.conf | 3 + .../system/livecd-alsa-unmuter.service | 13 + .../etc/systemd/system/livecd-talk.service | 20 + .../ModemManager.service | 1 + .../NetworkManager.service | 1 + .../choose-mirror.service | 1 + .../multi-user.target.wants/iwd.service | 1 + .../livecd-talk.service | 1 + .../pacman-init.service | 1 + .../qemu-guest-agent.service | 1 + .../multi-user.target.wants/reflector.service | 1 + .../multi-user.target.wants/sshd.service | 1 + .../systemd-networkd.service | 1 + .../systemd-resolved.service | 1 + .../vboxservice.service | 1 + .../NetworkManager-wait-online.service | 1 + .../systemd-networkd-wait-online.service | 1 + .../etc/systemd/system/pacman-init.service | 13 + .../system/reflector.service.d/archiso.conf | 6 + .../systemd-networkd.socket | 1 + .../livecd-alsa-unmuter.service | 1 + .../wait-for-only-one-interface.conf | 6 + .../airootfs/etc/xdg/reflector/reflector.conf | 6 + .../airootfs}/root/.automated_script.sh | 2 +- {airootfs => archiso/airootfs}/root/.zlogin | 0 .../airootfs/usr/local/bin/Installation_guide | 5 + .../usr/local/bin/alci-displaymanager-check | 33 + .../usr/local/bin/calamares-offline.sh | 20 + .../usr/local/bin/calamares-online.sh | 55 + archiso/airootfs/usr/local/bin/choose-mirror | 28 + archiso/airootfs/usr/local/bin/livecd-sound | 248 +++ .../local/share/livecd-sound/asound.conf.in | 3 + archiso/bootstrap_packages.x86_64 | 2 + .../entries/01-archiso-x86_64-linux.conf | 2 +- .../entries/02-archiso-x86_64-linux-nv.conf | 2 +- .../efiboot}/loader/loader.conf | 0 packages.x86_64 => archiso/packages.x86_64 | 482 +++--- .../packages_xfce.x86_64 | 0 pacman.conf => archiso/pacman.conf | 14 +- profiledef.sh => archiso/profiledef.sh | 13 +- .../syslinux}/archiso_head.cfg | 0 .../syslinux}/archiso_pxe-linux.cfg | 6 +- .../syslinux}/archiso_pxe.cfg | 0 .../syslinux}/archiso_sys-linux.cfg | 11 +- .../syslinux}/archiso_sys.cfg | 2 +- .../syslinux}/archiso_tail.cfg | 0 {syslinux => archiso/syslinux}/splash.png | Bin {syslinux => archiso/syslinux}/syslinux.cfg | 0 fix_permissions.sh | 11 - mirrorlist | 76 - mkarchiso | 1332 ----------------- run_before_squashfs.sh | 115 -- 131 files changed, 2792 insertions(+), 2085 deletions(-) create mode 100755 30-build-the-iso-the-first-time.sh create mode 100755 40-build-the-iso-local-again.sh delete mode 100755 airootfs/etc/environment delete mode 100755 airootfs/etc/group delete mode 100755 airootfs/etc/gshadow delete mode 100755 airootfs/etc/hostname delete mode 100755 airootfs/etc/lightdm/lightdm-gtk-greeter.conf delete mode 100755 airootfs/etc/locale.conf delete mode 100755 airootfs/etc/machine-id delete mode 100755 airootfs/etc/passwd delete mode 100755 airootfs/etc/shadow delete mode 100755 airootfs/etc/skel/.bashrc delete mode 100755 airootfs/etc/skel/.config/qt5ct/qt5ct.conf delete mode 100644 airootfs/etc/skel/.nanorc delete mode 100755 airootfs/etc/skel/xed.dconf delete mode 100755 airootfs/etc/systemd/journald.conf.d/volatile-storage.conf delete mode 100755 airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf delete mode 100755 airootfs/usr/share/X11/xorg.conf.d/30-touchpad.conf create mode 100644 archiso/airootfs/etc/default/grub create mode 100644 archiso/airootfs/etc/group create mode 100644 archiso/airootfs/etc/gshadow create mode 100644 archiso/airootfs/etc/hostname create mode 100644 archiso/airootfs/etc/locale.conf rename {airootfs => archiso/airootfs}/etc/localtime (100%) rename {airootfs => archiso/airootfs}/etc/mkinitcpio.conf (90%) mode change 100755 => 100644 rename {airootfs => archiso/airootfs}/etc/mkinitcpio.d/linux.preset (80%) mode change 100755 => 100644 rename {airootfs => archiso/airootfs}/etc/modprobe.d/broadcom-wl.conf (100%) mode change 100755 => 100644 rename {airootfs => archiso/airootfs}/etc/motd (100%) mode change 100755 => 100644 rename airootfs/etc/pacman.conf => archiso/airootfs/etc/pacman-more.conf (99%) mode change 100755 => 100644 create mode 100644 archiso/airootfs/etc/pacman.conf create mode 100644 archiso/airootfs/etc/pacman.d/gnupg/gpg.conf create mode 100644 archiso/airootfs/etc/pacman.d/hooks/40-locale-gen.hook create mode 100644 archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook create mode 100644 archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook create mode 100644 archiso/airootfs/etc/pacman.d/mirrorlist create mode 100644 archiso/airootfs/etc/passwd create mode 100644 archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules create mode 100644 archiso/airootfs/etc/sddm.conf.d/autologin.conf create mode 100644 archiso/airootfs/etc/shadow create mode 100644 archiso/airootfs/etc/skel/.Xresources rename {airootfs => archiso/airootfs}/etc/skel/.bash_profile (100%) create mode 100644 archiso/airootfs/etc/skel/.bashrc create mode 100644 archiso/airootfs/etc/skel/.config/Trolltech.conf create mode 100644 archiso/airootfs/etc/skel/.config/alacritty/alacritty.yml create mode 100755 archiso/airootfs/etc/skel/.config/autostart/cachyos-hello.desktop create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/kcminputrc create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/kdeglobals create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/kscreenlockerrc create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/ksplashrc create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/kwinrc create mode 100644 archiso/airootfs/etc/skel/.config/kdedefaults/plasmarc create mode 100644 archiso/airootfs/etc/skel/.config/kdeglobals create mode 100644 archiso/airootfs/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc create mode 100644 archiso/airootfs/etc/skel/.config/qt5ct/qt5ct.conf create mode 100644 archiso/airootfs/etc/skel/.xinitrc rename {airootfs => archiso/airootfs}/etc/skel/.xprofile (100%) mode change 100755 => 100644 rename {airootfs => archiso/airootfs}/etc/skel/.xsession (100%) rename {airootfs => archiso/airootfs}/etc/ssh/sshd_config (91%) mode change 100755 => 100644 rename {airootfs => archiso/airootfs}/etc/sudoers.d/g_wheel (100%) create mode 100644 archiso/airootfs/etc/systemd/journald.conf create mode 100644 archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf create mode 100644 archiso/airootfs/etc/systemd/logind.conf rename {airootfs => archiso/airootfs}/etc/systemd/logind.conf.d/do-not-suspend.conf (63%) mode change 100755 => 100644 create mode 100644 archiso/airootfs/etc/systemd/network/20-ethernet.network create mode 100644 archiso/airootfs/etc/systemd/network/20-wlan.network create mode 100644 archiso/airootfs/etc/systemd/network/20-wwan.network create mode 100644 archiso/airootfs/etc/systemd/system/choose-mirror.service create mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service create mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service create mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service create mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service create mode 120000 archiso/airootfs/etc/systemd/system/default.target create mode 120000 archiso/airootfs/etc/systemd/system/display-manager.service create mode 100644 archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount create mode 100644 archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf create mode 100644 archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service create mode 100644 archiso/airootfs/etc/systemd/system/livecd-talk.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service create mode 120000 archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service create mode 120000 archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service create mode 100644 archiso/airootfs/etc/systemd/system/pacman-init.service create mode 100644 archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf create mode 120000 archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket create mode 120000 archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service create mode 100644 archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf create mode 100644 archiso/airootfs/etc/xdg/reflector/reflector.conf rename {airootfs => archiso/airootfs}/root/.automated_script.sh (87%) rename {airootfs => archiso/airootfs}/root/.zlogin (100%) mode change 100755 => 100644 create mode 100755 archiso/airootfs/usr/local/bin/Installation_guide create mode 100755 archiso/airootfs/usr/local/bin/alci-displaymanager-check create mode 100755 archiso/airootfs/usr/local/bin/calamares-offline.sh create mode 100755 archiso/airootfs/usr/local/bin/calamares-online.sh create mode 100755 archiso/airootfs/usr/local/bin/choose-mirror create mode 100755 archiso/airootfs/usr/local/bin/livecd-sound create mode 100644 archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in create mode 100644 archiso/bootstrap_packages.x86_64 rename {efiboot => archiso/efiboot}/loader/entries/01-archiso-x86_64-linux.conf (69%) rename {efiboot => archiso/efiboot}/loader/entries/02-archiso-x86_64-linux-nv.conf (70%) rename {efiboot => archiso/efiboot}/loader/loader.conf (100%) rename packages.x86_64 => archiso/packages.x86_64 (51%) rename packages_xfce.x86_64 => archiso/packages_xfce.x86_64 (100%) rename pacman.conf => archiso/pacman.conf (95%) rename profiledef.sh => archiso/profiledef.sh (66%) rename {syslinux => archiso/syslinux}/archiso_head.cfg (100%) rename {syslinux => archiso/syslinux}/archiso_pxe-linux.cfg (96%) rename {syslinux => archiso/syslinux}/archiso_pxe.cfg (100%) rename {syslinux => archiso/syslinux}/archiso_sys-linux.cfg (71%) rename {syslinux => archiso/syslinux}/archiso_sys.cfg (85%) rename {syslinux => archiso/syslinux}/archiso_tail.cfg (100%) rename {syslinux => archiso/syslinux}/splash.png (100%) rename {syslinux => archiso/syslinux}/syslinux.cfg (100%) delete mode 100755 fix_permissions.sh delete mode 100755 mirrorlist delete mode 100755 mkarchiso delete mode 100755 run_before_squashfs.sh diff --git a/30-build-the-iso-the-first-time.sh b/30-build-the-iso-the-first-time.sh new file mode 100755 index 0000000..6ab5157 --- /dev/null +++ b/30-build-the-iso-the-first-time.sh @@ -0,0 +1,138 @@ +#!/bin/bash +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 58-1" + currentFolder=$(pwd) + buildFolder="${currentFolder}/build" + outFolder="${currentFolder}/out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Making mkarchiso verbose" +tput sgr0 +echo "################################################################## " +echo + + package="archiso" + + #---------------------------------------------------------------------------------- + + #checking if application is already installed or else install with aur helpers + if pacman -Qi $package &> /dev/null; then + + echo "Archiso is already installed" + + else + + #checking which helper is installed + if pacman -Qi yay &> /dev/null; then + + echo "################################################################" + echo "######### Installing with yay" + echo "################################################################" + yay -S --noconfirm $package + + elif pacman -Qi trizen &> /dev/null; then + + echo "################################################################" + echo "######### Installing with trizen" + echo "################################################################" + trizen -S --noconfirm --needed --noedit $package + + fi + + # Just checking if installation was successful + if pacman -Qi $package &> /dev/null; then + + echo "################################################################" + echo "######### "$package" has been installed" + echo "################################################################" + + else + + echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + echo "!!!!!!!!! "$package" has NOT been installed" + echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + exit 1 + fi + + fi + + echo + echo "Making mkarchiso verbose" + sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 3 :" +echo "- Deleting the build folder if one exists" +echo "- Copying the Archiso folder to build folder" +tput sgr0 +echo "################################################################## " +echo + + echo "Deleting the build folder if one exists - takes some time" + [ -d $buildFolder ] && sudo rm -rf $buildFolder + echo + echo "Copying the Archiso folder to build work" + echo + mkdir $buildFolder + cp -r archiso $buildFolder/archiso + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 6 :" +echo "- Cleaning the cache from /var/cache/pacman/pkg/" +tput sgr0 +echo "################################################################## " +echo + + echo "Cleaning the cache from /var/cache/pacman/pkg/" + yes | sudo pacman -Scc + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 7 :" +echo "- Building the iso - this can take a while - be patient" +tput sgr0 +echo "################################################################## " +echo + + [ -d $outFolder ] || mkdir $outFolder + cd $buildFolder/archiso/ + sudo mkarchiso -v -w $buildFolder -o $outFolder $buildFolder/archiso/ + + + echo "Moving pkglist.x86_64.txt" + echo "########################" + rename=$(date +%Y-%m-%d) + cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/archlinux-$rename-pkglist.txt + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/40-build-the-iso-local-again.sh b/40-build-the-iso-local-again.sh new file mode 100755 index 0000000..6856b58 --- /dev/null +++ b/40-build-the-iso-local-again.sh @@ -0,0 +1,126 @@ +#!/bin/bash +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 58-1" + currentFolder=$(pwd) + buildFolder="${currentFolder}/build" + outFolder="${currentFolder}/out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Making mkarchiso verbose" +tput sgr0 +echo "################################################################## " +echo + + package="archiso" + + #---------------------------------------------------------------------------------- + + #checking if application is already installed or else install with aur helpers + if pacman -Qi $package &> /dev/null; then + + echo "Archiso is already installed" + + else + + #checking which helper is installed + if pacman -Qi yay &> /dev/null; then + + echo "################################################################" + echo "######### Installing with yay" + echo "################################################################" + yay -S --noconfirm $package + + elif pacman -Qi trizen &> /dev/null; then + + echo "################################################################" + echo "######### Installing with trizen" + echo "################################################################" + trizen -S --noconfirm --needed --noedit $package + + fi + + # Just checking if installation was successful + if pacman -Qi $package &> /dev/null; then + + echo "################################################################" + echo "######### "$package" has been installed" + echo "################################################################" + + else + + echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + echo "!!!!!!!!! "$package" has NOT been installed" + echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + exit 1 + fi + + fi + + echo + echo "Making mkarchiso verbose" + sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 3 :" +echo "- Deleting the build folder if one exists" +echo "- Copying the Archiso folder to build folder" +tput sgr0 +echo "################################################################## " +echo + + echo "Deleting the build folder if one exists - takes some time" + [ -d $buildFolder ] && sudo rm -rf $buildFolder + echo + echo "Copying the Archiso folder to build work" + echo + mkdir $buildFolder + cp -r archiso $buildFolder/archiso + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 7 :" +echo "- Building the iso - this can take a while - be patient" +tput sgr0 +echo "################################################################## " +echo + + [ -d $outFolder ] || mkdir $outFolder + cd $buildFolder/archiso/ + sudo mkarchiso -v -w $buildFolder -o $outFolder $buildFolder/archiso/ + + + echo "Moving pkglist.x86_64.txt" + echo "########################" + rename=$(date +%Y-%m-%d) + cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/archlinux-$rename-pkglist.txt + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/README.md b/README.md index e81482d..3a4a9bc 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,14 @@ These are the basic needed files and folders to build CachyOS system. `sudo pacman -S archiso mkinitcpio-archiso git squashfs-tools --needed` Clone:\ -`git clone https://gitlab.com/cachyos/cachyos-archiso.git` +`git clone https://github.com/CachyOS/CachyOS-Live-ISO.git` -`cd cachyos-archiso` - -## Run fix permissions script -`sudo ./fix_permissions.sh` +`cd CachyOS-Live-ISO` ## Build -`sudo ./mkarchiso /path/to/profile` +`./30-build-the-iso-the-first-time.sh` + +#### if you want rebuild +`./40-build-the-iso-local-again.sh` ## The iso appears at out folder diff --git a/airootfs/etc/environment b/airootfs/etc/environment deleted file mode 100755 index 39b5a92..0000000 --- a/airootfs/etc/environment +++ /dev/null @@ -1,10 +0,0 @@ - -# -# This file is parsed by pam_env module -# -# Syntax: simple "KEY=VAL" pairs on separate lines -# -QT_QPA_PLATFORMTHEME=qt5ct -#QT_STYLE_OVERRIDE=kvantum -BROWSER=cachy-browser -EDITOR=nano diff --git a/airootfs/etc/group b/airootfs/etc/group deleted file mode 100755 index 7d05d17..0000000 --- a/airootfs/etc/group +++ /dev/null @@ -1,8 +0,0 @@ -root:x:0:root -adm:x:4:cachyos -wheel:x:10:cachyos -uucp:x:14:cachyos -nopasswdlogin:x:966:cachyos -rfkill:x:983:cachyos -sys:x:3:bin,cachyos -cachyos:x:1000: diff --git a/airootfs/etc/gshadow b/airootfs/etc/gshadow deleted file mode 100755 index 2f136de..0000000 --- a/airootfs/etc/gshadow +++ /dev/null @@ -1,2 +0,0 @@ -root:!*::root -cachyos:!*:: diff --git a/airootfs/etc/hostname b/airootfs/etc/hostname deleted file mode 100755 index 73c3973..0000000 --- a/airootfs/etc/hostname +++ /dev/null @@ -1,3 +0,0 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later -CachyOS diff --git a/airootfs/etc/lightdm/lightdm-gtk-greeter.conf b/airootfs/etc/lightdm/lightdm-gtk-greeter.conf deleted file mode 100755 index 5729ac3..0000000 --- a/airootfs/etc/lightdm/lightdm-gtk-greeter.conf +++ /dev/null @@ -1,14 +0,0 @@ -[greeter] -indicators = ~~CachyOS;~spacer;~clock;~spacer;~language;~session;~a11y;~power -theme-name = Arc-Darker -icon-theme-name = Arc-X-D -font-name = Noto Sans 11 -cursor-theme-name = capitaine-cursors-light -cursor-theme-size = 14 -background = /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png -user-background = false -hide-user-image = false -#xft-antialias= -#xft-dpi= -#xft-hintstyle= - diff --git a/airootfs/etc/locale.conf b/airootfs/etc/locale.conf deleted file mode 100755 index 9bf7aef..0000000 --- a/airootfs/etc/locale.conf +++ /dev/null @@ -1,4 +0,0 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - -LANG=en_US.UTF-8 diff --git a/airootfs/etc/machine-id b/airootfs/etc/machine-id deleted file mode 100755 index e69de29..0000000 diff --git a/airootfs/etc/passwd b/airootfs/etc/passwd deleted file mode 100755 index aebc492..0000000 --- a/airootfs/etc/passwd +++ /dev/null @@ -1 +0,0 @@ -root:x:0:0:root:/root:/bin/bash diff --git a/airootfs/etc/shadow b/airootfs/etc/shadow deleted file mode 100755 index 7edfd69..0000000 --- a/airootfs/etc/shadow +++ /dev/null @@ -1 +0,0 @@ -root::14871:::::: diff --git a/airootfs/etc/skel/.bashrc b/airootfs/etc/skel/.bashrc deleted file mode 100755 index 6ff8a1b..0000000 --- a/airootfs/etc/skel/.bashrc +++ /dev/null @@ -1,188 +0,0 @@ -# -# ~/.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -[[ -f ~/.welcome_screen ]] && . ~/.welcome_screen - -_set_my_PS1() { - PS1='[\u@\h \W]\$ ' - if [ "$(whoami)" = "liveuser" ] ; then - local iso_version="$(grep ^VERSION= /usr/lib/endeavouros-release 2>/dev/null | cut -d '=' -f 2)" - if [ -n "$iso_version" ] ; then - local prefix="eos-" - local iso_info="$prefix$iso_version" - PS1="[\u@$iso_info \W]\$ " - fi - fi -} -_set_my_PS1 -unset -f _set_my_PS1 - -ShowInstallerIsoInfo() { - local file=/usr/lib/endeavouros-release - if [ -r $file ] ; then - cat $file - else - echo "Sorry, installer ISO info is not available." >&2 - fi -} - - -alias ls='ls --color=auto' -alias ll='ls -lav --ignore=..' # show long listing of all except ".." -alias l='ls -lav --ignore=.?*' # show long listing but no hidden dotfiles except "." - -[[ "$(whoami)" = "root" ]] && return - -[[ -z "$FUNCNEST" ]] && export FUNCNEST=100 # limits recursive functions, see 'man bash' - -## Use the up and down arrow keys for finding a command in history -## (you can write some initial letters of the command first). -bind '"\e[A":history-search-backward' -bind '"\e[B":history-search-forward' - -################################################################################ -## Some generally useful functions. -## Consider uncommenting aliases below to start using these functions. - - -_GeneralCmdCheck() { - # A helper for functions UpdateArchPackages and UpdateAURPackages. - - echo "$@" >&2 - "$@" || { - echo "Error: '$*' failed." >&2 - exit 1 - } -} - -_CheckInternetConnection() { - # curl --silent --connect-timeout 8 https://8.8.8.8 >/dev/null - eos-connection-checker - local result=$? - test $result -eq 0 || echo "No internet connection!" >&2 - return $result -} - -_CheckArchNews() { - local conf=/etc/eos-update-notifier.conf - - if [ -z "$CheckArchNewsForYou" ] && [ -r $conf ] ; then - source $conf - fi - - if [ "$CheckArchNewsForYou" = "yes" ] ; then - local news="$(yay -Pw)" - if [ -n "$news" ] ; then - echo "Arch news:" >&2 - echo "$news" >&2 - echo "" >&2 - # read -p "Press ENTER to continue (or Ctrl-C to stop): " - else - echo "No Arch news." >&2 - fi - fi -} - -UpdateArchPackages() { - # Updates Arch packages. - - _CheckInternetConnection || return 1 - - _CheckArchNews - - #local updates="$(yay -Qu --repo)" - local updates="$(checkupdates)" - if [ -n "$updates" ] ; then - echo "Updates from upstream:" >&2 - echo "$updates" | sed 's|^| |' >&2 - _GeneralCmdCheck sudo pacman -Syu "$@" - return 0 - else - echo "No upstream updates." >&2 - return 1 - fi -} - -UpdateAURPackages() { - # Updates AUR packages. - - _CheckInternetConnection || return 1 - - local updates - if [ -x /usr/bin/yay ] ; then - updates="$(yay -Qua)" - if [ -n "$updates" ] ; then - echo "Updates from AUR:" >&2 - echo "$updates" | sed 's|^| |' >&2 - _GeneralCmdCheck yay -Syua "$@" - else - echo "No AUR updates." >&2 - fi - else - echo "Warning: /usr/bin/yay does not exist." >&2 - fi -} - -UpdateAllPackages() { - # Updates all packages in the system. - # Upstream (i.e. Arch) packages are updated first. - # If there are Arch updates, you should run - # this function a second time to update - # the AUR packages too. - - UpdateArchPackages || UpdateAURPackages -} - - -_open_files_for_editing() { - # Open any given document file(s) for editing (or just viewing). - # Note1: Do not use for executable files! - # Note2: uses mime bindings, so you may need to use - # e.g. a file manager to make some file bindings. - - if [ -x /usr/bin/exo-open ] ; then - echo "exo-open $*" >&2 - /usr/bin/exo-open "$@" >& /dev/null & - return - fi - if [ -x /usr/bin/xdg-open ] ; then - for file in "$@" ; do - echo "xdg-open $file" >&2 - /usr/bin/xdg-open "$file" >& /dev/null & - done - return - fi - - echo "Sorry, none of programs [$progs] is found." >&2 - echo "Tip: install one of packages" >&2 - for prog in $progs ; do - echo " $(pacman -Qqo "$prog")" >&2 - done -} - -_Pacdiff() { - local differ pacdiff=/usr/bin/pacdiff - - if [ -n "$(echo q | DIFFPROG=diff $pacdiff)" ] ; then - for differ in kdiff3 meld diffuse ; do - if [ -x /usr/bin/$differ ] ; then - DIFFPROG=$differ su-c_wrapper $pacdiff - break - fi - done - fi -} - -#------------------------------------------------------------ - -## Aliases for the functions above. -## Uncomment an alias if you want to use it. -## - -# alias ef='_open_files_for_editing' # 'ef' opens given file(s) for editing -# alias pacdiff=_Pacdiff -################################################################################ diff --git a/airootfs/etc/skel/.config/qt5ct/qt5ct.conf b/airootfs/etc/skel/.config/qt5ct/qt5ct.conf deleted file mode 100755 index dfda865..0000000 --- a/airootfs/etc/skel/.config/qt5ct/qt5ct.conf +++ /dev/null @@ -1,28 +0,0 @@ -[Appearance] -color_scheme_path=/usr/share/qt5ct/colors/darker.conf -custom_palette=false -icon_theme=Arc-X-D -standard_dialogs=default -style=kvantum - -[Fonts] -fixed=@Variant(\0\0\0@\0\0\0\x1e\0S\0o\0u\0r\0\x63\0\x65\0 \0\x43\0o\0\x64\0\x65\0 \0P\0r\0o@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) -general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) - -[Interface] -activate_item_on_single_click=1 -buttonbox_layout=0 -cursor_flash_time=1000 -dialog_buttons_have_icons=1 -double_click_interval=400 -gui_effects=@Invalid() -keyboard_scheme=2 -menus_have_icons=true -show_shortcuts_in_context_menus=true -stylesheets=/usr/share/qt5ct/qss/scrollbar-simple.qss, /usr/share/qt5ct/qss/sliders-simple.qss, /usr/share/qt5ct/qss/tooltip-simple.qss, /usr/share/qt5ct/qss/traynotification-simple.qss -toolbutton_style=4 -underline_shortcut=1 -wheel_scroll_lines=3 - -[SettingsWindow] -geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x6\xc0\0\0\x3;\0\0\t\xa2\0\0\x6\xe\0\0\x6\xc2\0\0\x3W\0\0\t\xa0\0\0\x6\f\0\0\0\0\0\0\0\0\a\x80\0\0\x6\xc2\0\0\x3W\0\0\t\xa0\0\0\x6\f)" diff --git a/airootfs/etc/skel/.nanorc b/airootfs/etc/skel/.nanorc deleted file mode 100644 index 7fa0d6c..0000000 --- a/airootfs/etc/skel/.nanorc +++ /dev/null @@ -1 +0,0 @@ -include /usr/share/nano/*.nanorc diff --git a/airootfs/etc/skel/xed.dconf b/airootfs/etc/skel/xed.dconf deleted file mode 100755 index 50ee2c6..0000000 --- a/airootfs/etc/skel/xed.dconf +++ /dev/null @@ -1,6 +0,0 @@ -[org/x/editor/preferences/editor] -bracket-matching=false -display-line-numbers=true -prefer-dark-theme=true -scheme='cobalt' -wrap-mode='none' diff --git a/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf deleted file mode 100755 index 3104779..0000000 --- a/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf +++ /dev/null @@ -1,5 +0,0 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - -[Journal] -Storage=volatile diff --git a/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf deleted file mode 100755 index 85caf3a..0000000 --- a/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf +++ /dev/null @@ -1,6 +0,0 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - -[Service] -ExecStart= -ExecStart=-/sbin/agetty --autologin cachyos --noclear %I 38400 linux diff --git a/airootfs/usr/share/X11/xorg.conf.d/30-touchpad.conf b/airootfs/usr/share/X11/xorg.conf.d/30-touchpad.conf deleted file mode 100755 index 398554e..0000000 --- a/airootfs/usr/share/X11/xorg.conf.d/30-touchpad.conf +++ /dev/null @@ -1,5 +0,0 @@ -Section "InputClass" - Identifier "devname" - Driver "libinput" - Option "Tapping" "on" -EndSection diff --git a/archiso/airootfs/etc/default/grub b/archiso/airootfs/etc/default/grub new file mode 100644 index 0000000..a66cb70 --- /dev/null +++ b/archiso/airootfs/etc/default/grub @@ -0,0 +1,54 @@ +# GRUB boot loader configuration + +GRUB_DEFAULT=0 +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="CachyOS" +GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet" +GRUB_CMDLINE_LINUX="" + +# Preload both GPT and MBR modules so that they are not missed +GRUB_PRELOAD_MODULES="part_gpt part_msdos" + +# Uncomment to enable booting from LUKS encrypted devices +GRUB_ENABLE_CRYPTODISK=y + +# Set to 'countdown' or 'hidden' to change timeout behavior, +# press ESC key to display menu. +GRUB_TIMEOUT_STYLE=menu + +# Uncomment to use basic console +GRUB_TERMINAL_INPUT=console + +# Uncomment to disable graphical terminal +#GRUB_TERMINAL_OUTPUT=console + +# The resolution used on graphical terminal +# note that you can use only modes which your graphic card supports via VBE +# you can see them in real GRUB with the command `vbeinfo' +GRUB_GFXMODE=auto + +# Uncomment to allow the kernel use the same resolution used by grub +GRUB_GFXPAYLOAD_LINUX=keep + +# Uncomment if you want GRUB to pass to the Linux kernel the old parameter +# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" +#GRUB_DISABLE_LINUX_UUID=true + +# Uncomment to disable generation of recovery mode menu entries +GRUB_DISABLE_RECOVERY=true + +# Uncomment and set to the desired menu colors. Used by normal and wallpaper +# modes only. Entries specified as foreground/background. +#GRUB_COLOR_NORMAL="light-blue/black" +#GRUB_COLOR_HIGHLIGHT="light-cyan/blue" + +# Uncomment one of them for the gfx desired, a image background or a gfxtheme +#GRUB_BACKGROUND="/path/to/wallpaper" +#GRUB_THEME="/path/to/gfxtheme" + +# Uncomment to get a beep at GRUB start +#GRUB_INIT_TUNE="480 440 1" + +# Uncomment to make GRUB remember the last selection. This requires +# setting 'GRUB_DEFAULT=saved' above. +#GRUB_SAVEDEFAULT="true" diff --git a/archiso/airootfs/etc/group b/archiso/airootfs/etc/group new file mode 100644 index 0000000..2f50b54 --- /dev/null +++ b/archiso/airootfs/etc/group @@ -0,0 +1,16 @@ +root:x:0:root +sys:x:3:bin,liveuser +network:x:90:liveuser +power:x:98:liveuser +adm:x:999:liveuser +wheel:x:998:liveuser +uucp:x:987:liveuser +optical:x:990:liveuser +rfkill:x:983:liveuser +video:x:986:liveuser +storage:x:988:liveuser +audio:x:995:liveuser +users:x:985:liveuser +nopasswdlogin:x:966:liveuser +autologin:x:967:liveuser +liveuser:x:1000: \ No newline at end of file diff --git a/archiso/airootfs/etc/gshadow b/archiso/airootfs/etc/gshadow new file mode 100644 index 0000000..8bf2275 --- /dev/null +++ b/archiso/airootfs/etc/gshadow @@ -0,0 +1,16 @@ +root:::root +sys:!!::liveuser +network:!!::liveuser +power:!!::liveuser +adm:!!::liveuser +wheel:!!::liveuser +uucp:!!::liveuser +optical:!!::liveuser +rfkill:!!::liveuser +video:!!::liveuser +storage:!!::liveuser +audio:!!::liveuser +users:!!::liveuser +nopasswdlogin:!::liveuser +autologin:!::liveuser +liveuser:!:: diff --git a/archiso/airootfs/etc/hostname b/archiso/airootfs/etc/hostname new file mode 100644 index 0000000..7580bbe --- /dev/null +++ b/archiso/airootfs/etc/hostname @@ -0,0 +1 @@ +CachyOS diff --git a/archiso/airootfs/etc/locale.conf b/archiso/airootfs/etc/locale.conf new file mode 100644 index 0000000..01ec548 --- /dev/null +++ b/archiso/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=en_US.UTF-8 diff --git a/airootfs/etc/localtime b/archiso/airootfs/etc/localtime similarity index 100% rename from airootfs/etc/localtime rename to archiso/airootfs/etc/localtime diff --git a/airootfs/etc/mkinitcpio.conf b/archiso/airootfs/etc/mkinitcpio.conf old mode 100755 new mode 100644 similarity index 90% rename from airootfs/etc/mkinitcpio.conf rename to archiso/airootfs/etc/mkinitcpio.conf index a376034..2de9623 --- a/airootfs/etc/mkinitcpio.conf +++ b/archiso/airootfs/etc/mkinitcpio.conf @@ -1,6 +1,3 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - # vim:set ft=sh # MODULES # The following modules are loaded before any boot hooks are @@ -52,18 +49,18 @@ FILES=() # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr, fsck and shutdown hooks. -HOOKS=(base udev memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard) +HOOKS=(base udev modconf memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard) # COMPRESSION # Use this to compress the initramfs image. By default, gzip compression # is used. Use 'cat' to create an uncompressed image. -COMPRESSION="zstd" #COMPRESSION="gzip" #COMPRESSION="bzip2" #COMPRESSION="lzma" -#COMPRESSION="xz" +COMPRESSION="xz" #COMPRESSION="lzop" #COMPRESSION="lz4" +#COMPRESSION="zstd" # COMPRESSION_OPTIONS # Additional options for the compressor diff --git a/airootfs/etc/mkinitcpio.d/linux.preset b/archiso/airootfs/etc/mkinitcpio.d/linux.preset old mode 100755 new mode 100644 similarity index 80% rename from airootfs/etc/mkinitcpio.d/linux.preset rename to archiso/airootfs/etc/mkinitcpio.d/linux.preset index d35f137..9f67184 --- a/airootfs/etc/mkinitcpio.d/linux.preset +++ b/archiso/airootfs/etc/mkinitcpio.d/linux.preset @@ -1,6 +1,3 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - # mkinitcpio preset file for the 'linux' package on archiso PRESETS=('archiso') diff --git a/airootfs/etc/modprobe.d/broadcom-wl.conf b/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf old mode 100755 new mode 100644 similarity index 100% rename from airootfs/etc/modprobe.d/broadcom-wl.conf rename to archiso/airootfs/etc/modprobe.d/broadcom-wl.conf diff --git a/airootfs/etc/motd b/archiso/airootfs/etc/motd old mode 100755 new mode 100644 similarity index 100% rename from airootfs/etc/motd rename to archiso/airootfs/etc/motd diff --git a/airootfs/etc/pacman.conf b/archiso/airootfs/etc/pacman-more.conf old mode 100755 new mode 100644 similarity index 99% rename from airootfs/etc/pacman.conf rename to archiso/airootfs/etc/pacman-more.conf index c323579..e4009cc --- a/airootfs/etc/pacman.conf +++ b/archiso/airootfs/etc/pacman-more.conf @@ -97,7 +97,6 @@ Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist [cachyos] -SigLevel = PackageRequired Include = /etc/pacman.d/cachyos-mirrorlist # An example of a custom package repository. See the pacman manpage for diff --git a/archiso/airootfs/etc/pacman.conf b/archiso/airootfs/etc/pacman.conf new file mode 100644 index 0000000..f133ba4 --- /dev/null +++ b/archiso/airootfs/etc/pacman.conf @@ -0,0 +1,107 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +#UseDelta = 0.7 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +ILoveCandy +#NoProgressBar +#CheckSpace +VerbosePkgLists +DisableDownloadTimeout +ParallelDownloads = 10 + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +[multilib] +Include = /etc/pacman.d/mirrorlist + +[cachyos] +SigLevel = Optional TrustAll +Include = /etc/pacman.d/cachyos-mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf b/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf new file mode 100644 index 0000000..04b992e --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf @@ -0,0 +1,12 @@ +no-greeting +no-permission-warning +lock-never +keyserver-options timeout=10 +keyserver-options import-clean +keyserver-options no-self-sigs-only + +keyserver hkp://pool.sks-keyservers.net:80 +keyserver hkps://hkps.pool.sks-keyservers.net:443 +keyserver hkp://ipv4.pool.sks-keyservers.net:11371 + + diff --git a/archiso/airootfs/etc/pacman.d/hooks/40-locale-gen.hook b/archiso/airootfs/etc/pacman.d/hooks/40-locale-gen.hook new file mode 100644 index 0000000..82dd199 --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/hooks/40-locale-gen.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Type = Package +Target = glibc + +[Action] +Description = Uncommenting en_US.UTF-8 locale and running locale-gen... +When = PostTransaction +Depends = glibc +Depends = sed +Depends = sh +Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" diff --git a/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist... +When = PostTransaction +Depends = pacman-mirrorlist +Depends = sed +Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist diff --git a/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook @@ -0,0 +1,18 @@ +# remove from airootfs! +# As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. +# If not, they would be used when pacstrap is run in the live environment. + +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = * + +[Action] +Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... +When = PostTransaction +Depends = sh +Depends = coreutils +Depends = grep +Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" diff --git a/archiso/airootfs/etc/pacman.d/mirrorlist b/archiso/airootfs/etc/pacman.d/mirrorlist new file mode 100644 index 0000000..a0a29be --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/mirrorlist @@ -0,0 +1,660 @@ +## +## Arch Linux repository mirrorlist +## Generated on 2020-09-07 +## + +## Worldwide +Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch +Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch +Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch + +## Australia +Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch +Server = https://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch +Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch +Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch +Server = http://syd.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://syd.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch + +## Austria +Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch +Server = http://mirror.easyname.at/archlinux/$repo/os/$arch +Server = http://mirror.reisenbauer.ee/archlinux/$repo/os/$arch +Server = https://mirror.reisenbauer.ee/archlinux/$repo/os/$arch + +## Bangladesh +Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch + +## Belarus +Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch +Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch + +## Belgium +Server = http://archlinux.cu.be/$repo/os/$arch +Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch +Server = http://mirror.tiguinet.net/arch/$repo/os/$arch + +## Bosnia and Herzegovina +Server = http://archlinux.mirror.ba/$repo/os/$arch + +## Brazil +Server = http://br.mirror.archlinux-br.org/$repo/os/$arch +Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch +Server = http://www.caco.ic.unicamp.br/archlinux/$repo/os/$arch +Server = https://www.caco.ic.unicamp.br/archlinux/$repo/os/$arch +Server = http://linorg.usp.br/archlinux/$repo/os/$arch +Server = http://archlinux.pop-es.rnp.br/$repo/os/$arch +Server = http://mirror.ufam.edu.br/archlinux/$repo/os/$arch +Server = http://mirror.ufscar.br/archlinux/$repo/os/$arch + +## Bulgaria +Server = http://mirror.host.ag/archlinux/$repo/os/$arch +Server = http://mirrors.netix.net/archlinux/$repo/os/$arch +Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch +Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch + +## Canada +Server = http://mirror.cedille.club/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.colo-serv.net/$repo/os/$arch +Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch +Server = https://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch +Server = http://mirror2.evolution-host.com/archlinux/$repo/os/$arch +Server = https://mirror2.evolution-host.com/archlinux/$repo/os/$arch +Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch +Server = http://muug.ca/mirror/archlinux/$repo/os/$arch +Server = https://muug.ca/mirror/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch +Server = http://mirror.scd31.com/arch/$repo/os/$arch +Server = https://mirror.scd31.com/arch/$repo/os/$arch +Server = http://mirror.sergal.org/archlinux/$repo/os/$arch +Server = https://mirror.sergal.org/archlinux/$repo/os/$arch + +## Chile +Server = http://mirror.anquan.cl/archlinux/$repo/os/$arch +Server = http://mirror.archlinux.cl/$repo/os/$arch +Server = http://mirror1.cl.netactuate.com/archlinux/$repo/os/$arch +Server = https://mirror1.cl.netactuate.com/archlinux/$repo/os/$arch +Server = http://mirror.ufro.cl/archlinux/$repo/os/$arch +Server = https://mirror.ufro.cl/archlinux/$repo/os/$arch + +## China +Server = http://mirrors.163.com/archlinux/$repo/os/$arch +Server = http://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch +Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.nju.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.nju.edu.cn/archlinux/$repo/os/$arch +Server = http://mirror.redrock.team/archlinux/$repo/os/$arch +Server = https://mirror.redrock.team/archlinux/$repo/os/$arch +Server = https://mirrors.sjtug.sjtu.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch +Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch +Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch + +## Colombia +Server = http://mirrors.udenar.edu.co/archlinux/$repo/os/$arch + +## Croatia +Server = http://archlinux.iskon.hr/$repo/os/$arch + +## Czechia +Server = http://mirror.dkm.cz/archlinux/$repo/os/$arch +Server = https://mirror.dkm.cz/archlinux/$repo/os/$arch +Server = http://ftp.fi.muni.cz/pub/linux/arch/$repo/os/$arch +Server = http://ftp.linux.cz/pub/linux/arch/$repo/os/$arch +Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch +Server = https://gluttony.sin.cvut.cz/arch/$repo/os/$arch +Server = http://mirrors.nic.cz/archlinux/$repo/os/$arch +Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch +Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch +Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch + +## Denmark +Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch +Server = https://mirrors.dotsrc.org/archlinux/$repo/os/$arch +Server = http://mirror.one.com/archlinux/$repo/os/$arch +Server = https://mirror.one.com/archlinux/$repo/os/$arch + +## Ecuador +Server = http://mirror.cedia.org.ec/archlinux/$repo/os/$arch +Server = http://mirror.espoch.edu.ec/archlinux/$repo/os/$arch +Server = http://mirror.uta.edu.ec/archlinux/$repo/os/$arch + +## Finland +Server = http://arch.mirror.far.fi/$repo/os/$arch +Server = http://mirror.hosthink.net/archlinux/$repo/os/$arch +Server = http://mirror.pseudoform.org/$repo/os/$arch +Server = https://mirror.pseudoform.org/$repo/os/$arch +Server = https://mirror.srv.fail/archlinux/$repo/os/$arch +Server = http://mirror.wuki.li/archlinux/$repo/os/$arch +Server = https://mirror.wuki.li/archlinux/$repo/os/$arch + +## France +Server = http://archlinux.de-labrusse.fr/$repo/os/$arch +Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch +Server = http://archlinux.vi-di.fr/$repo/os/$arch +Server = http://archlinux.mirrors.benatherton.com/$repo/os/$arch +Server = http://mirror.cyberbits.eu/archlinux/$repo/os/$arch +Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch +Server = https://mirrors.eric.ovh/arch/$repo/os/$arch +Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch +Server = http://mirror.lastmikoi.net/archlinux/$repo/os/$arch +Server = https://arch-mirror.cloud.louifox.house/$repo/os/$arch +Server = http://archlinux.mailtunnel.eu/$repo/os/$arch +Server = https://archlinux.mailtunnel.eu/$repo/os/$arch +Server = http://mir.archlinux.fr/$repo/os/$arch +Server = http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch +Server = https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch +Server = http://arch.nimukaito.net/$repo/os/$arch +Server = https://arch.nimukaito.net/$repo/os/$arch +Server = http://mirror.oldsql.cc/archlinux/$repo/os/$arch +Server = https://mirror.oldsql.cc/archlinux/$repo/os/$arch +Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch +Server = http://archlinux.polymorf.fr/$repo/os/$arch +Server = http://archlinux.rezopole.net/$repo/os/$arch +Server = https://mirrors.slaanesh.org/archlinux/$repo/os/$arch +Server = http://mirrors.standaloneinstaller.com/archlinux/$repo/os/$arch +Server = https://mirror.sysa.tech/archlinux/$repo/os/$arch +Server = https://mirror.thekinrar.fr/archlinux/$repo/os/$arch +Server = http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch +Server = https://mirror.wormhole.eu/archlinux/$repo/os/$arch +Server = http://mirroir.wptheme.fr/archlinux/$repo/os/$arch +Server = https://mirroir.wptheme.fr/archlinux/$repo/os/$arch +Server = http://arch.yourlabs.org/$repo/os/$arch +Server = https://arch.yourlabs.org/$repo/os/$arch + +## Georgia +Server = http://archlinux.grena.ge/$repo/os/$arch +Server = https://archlinux.grena.ge/$repo/os/$arch + +## Germany +Server = http://mirror.23media.com/archlinux/$repo/os/$arch +Server = https://mirror.23media.com/archlinux/$repo/os/$arch +Server = https://appuals.com/archlinux/$repo/os/$arch +Server = http://artfiles.org/archlinux.org/$repo/os/$arch +Server = https://mirror.bethselamin.de/$repo/os/$arch +Server = http://mirror.chaoticum.net/arch/$repo/os/$arch +Server = https://mirror.chaoticum.net/arch/$repo/os/$arch +Server = http://mirror.checkdomain.de/archlinux/$repo/os/$arch +Server = https://mirror.checkdomain.de/archlinux/$repo/os/$arch +Server = http://mirror.f4st.host/archlinux/$repo/os/$arch +Server = https://mirror.f4st.host/archlinux/$repo/os/$arch +Server = http://ftp.fau.de/archlinux/$repo/os/$arch +Server = https://ftp.fau.de/archlinux/$repo/os/$arch +Server = https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch +Server = http://mirror.fsrv.services/archlinux/$repo/os/$arch +Server = https://mirror.fsrv.services/archlinux/$repo/os/$arch +Server = https://mirror.gnomus.de/$repo/os/$arch +Server = http://www.gutscheindrache.com/mirror/archlinux/$repo/os/$arch +Server = http://ftp.gwdg.de/pub/linux/archlinux/$repo/os/$arch +Server = http://archlinux.honkgong.info/$repo/os/$arch +Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch +Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.iphh.net/$repo/os/$arch +Server = http://arch.jensgutermuth.de/$repo/os/$arch +Server = https://arch.jensgutermuth.de/$repo/os/$arch +Server = http://mirror.kumi.systems/archlinux/$repo/os/$arch +Server = https://mirror.kumi.systems/archlinux/$repo/os/$arch +Server = http://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch +Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch +Server = https://mirror.metalgamer.eu/archlinux/$repo/os/$arch +Server = http://mirror.mikrogravitation.org/archlinux/$repo/os/$arch +Server = https://mirror.mikrogravitation.org/archlinux/$repo/os/$arch +Server = https://ger.mirror.pkgbuild.com/$repo/os/$arch +Server = https://mirror.pkgbuild.com/$repo/os/$arch +Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch +Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch +Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch +Server = https://mirror.netcologne.de/archlinux/$repo/os/$arch +Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch +Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch +Server = http://mirror.orbit-os.com/archlinux/$repo/os/$arch +Server = https://mirror.orbit-os.com/archlinux/$repo/os/$arch +Server = http://packages.oth-regensburg.de/archlinux/$repo/os/$arch +Server = https://packages.oth-regensburg.de/archlinux/$repo/os/$arch +Server = http://phinau.de/arch/$repo/os/$arch +Server = https://phinau.de/arch/$repo/os/$arch +Server = https://www.ratenzahlung.de/mirror/archlinux/$repo/os/$arch +Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch +Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch +Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch +Server = http://mirror.satis-faction.de/archlinux/$repo/os/$arch +Server = https://mirror.satis-faction.de/archlinux/$repo/os/$arch +Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch +Server = https://mirror.selfnet.de/archlinux/$repo/os/$arch +Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch +Server = https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch +Server = http://archlinux.thaller.ws/$repo/os/$arch +Server = https://archlinux.thaller.ws/$repo/os/$arch +Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch +Server = http://mirror.ubrco.de/archlinux/$repo/os/$arch +Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch +Server = http://mirror.undisclose.de/archlinux/$repo/os/$arch +Server = https://mirror.undisclose.de/archlinux/$repo/os/$arch +Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch +Server = http://ftp.uni-hannover.de/archlinux/$repo/os/$arch +Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch +Server = http://mirror.united-gameserver.de/archlinux/$repo/os/$arch +Server = https://arch.unixpeople.org/$repo/os/$arch +Server = http://ftp.wrz.de/pub/archlinux/$repo/os/$arch +Server = https://ftp.wrz.de/pub/archlinux/$repo/os/$arch +Server = http://mirror.wtnet.de/arch/$repo/os/$arch +Server = https://mirror.wtnet.de/arch/$repo/os/$arch + +## Greece +Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch +Server = http://mirrors.myaegean.gr/linux/archlinux/$repo/os/$arch +Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch +Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch + +## Hong Kong +Server = http://mirror-hk.koddos.net/archlinux/$repo/os/$arch +Server = https://mirror-hk.koddos.net/archlinux/$repo/os/$arch +Server = http://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://arch-mirror.wtako.net/$repo/os/$arch +Server = http://mirror.xtom.com.hk/archlinux/$repo/os/$arch +Server = https://mirror.xtom.com.hk/archlinux/$repo/os/$arch + +## Hungary +Server = http://ftp.energia.mta.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch +Server = http://archmirror.hbit.sztaki.hu/archlinux/$repo/os/$arch +Server = http://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch +Server = http://quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch +Server = http://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch +Server = https://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch +Server = https://quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch +Server = https://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch + +## Iceland +Server = http://mirror.system.is/arch/$repo/os/$arch +Server = https://mirror.system.is/arch/$repo/os/$arch + +## India +Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch +Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch +Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch + +## Indonesia +Server = http://mirror.gi.co.id/archlinux/$repo/os/$arch +Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch +Server = http://mirror.labkom.id/archlinux/$repo/os/$arch +Server = http://mirror.papua.go.id/archlinux/$repo/os/$arch +Server = https://mirror.papua.go.id/archlinux/$repo/os/$arch +Server = http://mirror.poliwangi.ac.id/archlinux/$repo/os/$arch +Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch +Server = http://mirror.telkomuniversity.ac.id/archlinux/$repo/os/$arch +Server = https://mirror.telkomuniversity.ac.id/archlinux/$repo/os/$arch + +## Iran +Server = http://repo.iut.ac.ir/repo/archlinux/$repo/os/$arch +Server = http://mirrors.mirjamali.ir/archlinux/$repo/os/$arch +Server = https://mirrors.mirjamali.ir/archlinux/$repo/os/$arch +Server = http://mirror.nak-mci.ir/arch/$repo/os/$arch +Server = http://mirror.rasanegar.com/archlinux/$repo/os/$arch +Server = https://mirror.rasanegar.com/archlinux/$repo/os/$arch + +## Ireland +Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch +Server = https://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch + +## Israel +Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch +Server = https://archlinux.mivzakim.net/$repo/os/$arch + +## Italy +Server = https://archlinux.beccacervello.it/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch +Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch + +## Japan +Server = http://mirrors.cat.net/archlinux/$repo/os/$arch +Server = https://mirrors.cat.net/archlinux/$repo/os/$arch +Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch +Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch +Server = https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch + +## Kazakhstan +Server = http://mirror.ps.kz/archlinux/$repo/os/$arch +Server = https://mirror.ps.kz/archlinux/$repo/os/$arch + +## Kenya +Server = http://archlinux.mirror.liquidtelecom.com/$repo/os/$arch +Server = https://archlinux.mirror.liquidtelecom.com/$repo/os/$arch + +## Latvia +Server = http://archlinux.koyanet.lv/archlinux/$repo/os/$arch + +## Lithuania +Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch +Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch +Server = http://mirrors.ims.nksc.lt/archlinux/$repo/os/$arch +Server = https://mirrors.ims.nksc.lt/archlinux/$repo/os/$arch + +## Luxembourg +Server = http://archlinux.mirror.root.lu/$repo/os/$arch + +## Netherlands +Server = https://mirrors.daan.vodka/archlinux/$repo/os/$arch +Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch +Server = https://mirror.i3d.net/pub/archlinux/$repo/os/$arch +Server = https://arch.jeweet.net/$repo/os/$arch +Server = http://mirror.koddos.net/archlinux/$repo/os/$arch +Server = https://mirror.koddos.net/archlinux/$repo/os/$arch +Server = http://arch.mirrors.lavatech.top/$repo/os/$arch +Server = https://arch.mirrors.lavatech.top/$repo/os/$arch +Server = http://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.liteserver.nl/$repo/os/$arch +Server = https://archlinux.mirror.liteserver.nl/$repo/os/$arch +Server = http://mirror.lyrahosting.com/archlinux/$repo/os/$arch +Server = https://mirror.lyrahosting.com/archlinux/$repo/os/$arch +Server = http://mirror.mijn.host/archlinux/$repo/os/$arch +Server = https://mirror.mijn.host/archlinux/$repo/os/$arch +Server = http://mirror.neostrada.nl/archlinux/$repo/os/$arch +Server = https://mirror.neostrada.nl/archlinux/$repo/os/$arch +Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.pcextreme.nl/$repo/os/$arch +Server = https://archlinux.mirror.pcextreme.nl/$repo/os/$arch +Server = http://mirror.serverion.com/archlinux/$repo/os/$arch +Server = https://mirror.serverion.com/archlinux/$repo/os/$arch +Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch +Server = http://mirror.tarellia.net/distr/archlinux/$repo/os/$arch +Server = https://mirror.tarellia.net/distr/archlinux/$repo/os/$arch +Server = http://archlinux.mirror.wearetriple.com/$repo/os/$arch +Server = https://archlinux.mirror.wearetriple.com/$repo/os/$arch +Server = http://mirror-archlinux.webruimtehosting.nl/$repo/os/$arch +Server = https://mirror-archlinux.webruimtehosting.nl/$repo/os/$arch +Server = http://mirrors.xtom.nl/archlinux/$repo/os/$arch +Server = https://mirrors.xtom.nl/archlinux/$repo/os/$arch + +## New Caledonia +Server = http://mirror.lagoon.nc/pub/archlinux/$repo/os/$arch +Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch +Server = https://archlinux.nautile.nc/archlinux/$repo/os/$arch + +## New Zealand +Server = http://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +Server = http://mirror.smith.geek.nz/archlinux/$repo/os/$arch +Server = https://mirror.smith.geek.nz/archlinux/$repo/os/$arch + +## North Macedonia +Server = http://arch.softver.org.mk/archlinux/$repo/os/$arch +Server = http://mirror.onevip.mk/archlinux/$repo/os/$arch +Server = http://mirror.t-home.mk/archlinux/$repo/os/$arch +Server = https://mirror.t-home.mk/archlinux/$repo/os/$arch + +## Norway +Server = http://mirror.archlinux.no/$repo/os/$arch +Server = https://mirror.archlinux.no/$repo/os/$arch +Server = http://archlinux.uib.no/$repo/os/$arch +Server = http://mirror.neuf.no/archlinux/$repo/os/$arch +Server = https://mirror.neuf.no/archlinux/$repo/os/$arch +Server = http://mirror.terrahost.no/linux/archlinux/$repo/os/$arch + +## Paraguay +Server = http://archlinux.mirror.py/archlinux/$repo/os/$arch + +## Philippines +Server = http://mirror.rise.ph/archlinux/$repo/os/$arch + +## Poland +Server = http://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch +Server = https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch +Server = http://arch.midov.pl/arch/$repo/os/$arch +Server = http://arch.nixlab.pl/$repo/os/$arch +Server = https://arch.nixlab.pl/$repo/os/$arch +Server = http://mirror.onet.pl/pub/mirrors/archlinux/$repo/os/$arch +Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch +Server = http://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch +Server = https://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch +Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch + +## Portugal +Server = http://glua.ua.pt/pub/archlinux/$repo/os/$arch +Server = https://glua.ua.pt/pub/archlinux/$repo/os/$arch +Server = http://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch +Server = https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch + +## Romania +Server = http://mirrors.chroot.ro/archlinux/$repo/os/$arch +Server = https://mirrors.chroot.ro/archlinux/$repo/os/$arch +Server = http://mirror.efect.ro/archlinux/$repo/os/$arch +Server = https://mirror.efect.ro/archlinux/$repo/os/$arch +Server = http://archlinux.mirrors.linux.ro/$repo/os/$arch +Server = http://mirrors.m247.ro/archlinux/$repo/os/$arch +Server = http://mirrors.nav.ro/archlinux/$repo/os/$arch +Server = http://mirrors.nxthost.com/archlinux/$repo/os/$arch +Server = https://mirrors.nxthost.com/archlinux/$repo/os/$arch +Server = http://mirrors.pidginhost.com/arch/$repo/os/$arch +Server = https://mirrors.pidginhost.com/arch/$repo/os/$arch + +## Russia +Server = http://mirrors.powernet.com.ru/archlinux/$repo/os/$arch +Server = http://mirror.rol.ru/archlinux/$repo/os/$arch +Server = https://mirror.rol.ru/archlinux/$repo/os/$arch +Server = http://mirror.truenetwork.ru/archlinux/$repo/os/$arch +Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch +Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch +Server = http://archlinux.zepto.cloud/$repo/os/$arch + +## Serbia +Server = http://arch.petarmaric.com/$repo/os/$arch +Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch + +## Singapore +Server = http://mirror.0x.sg/archlinux/$repo/os/$arch +Server = https://mirror.0x.sg/archlinux/$repo/os/$arch +Server = http://mirror.aktkn.sg/archlinux/$repo/os/$arch +Server = https://mirror.aktkn.sg/archlinux/$repo/os/$arch +Server = https://download.nus.edu.sg/mirror/archlinux/$repo/os/$arch +Server = http://mirror.nus.edu.sg/archlinux/$repo/os/$arch + +## Slovakia +Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch +Server = https://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch +Server = http://tux.rainside.sk/archlinux/$repo/os/$arch + +## Slovenia +Server = http://archimonde.ts.si/archlinux/$repo/os/$arch +Server = https://archimonde.ts.si/archlinux/$repo/os/$arch + +## South Africa +Server = http://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch +Server = https://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch +Server = http://za.mirror.archlinux-br.org/$repo/os/$arch +Server = http://mirror.is.co.za/mirror/archlinux.org/$repo/os/$arch +Server = http://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch +Server = https://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch + +## South Korea +Server = http://ftp.harukasan.org/archlinux/$repo/os/$arch +Server = https://ftp.harukasan.org/archlinux/$repo/os/$arch +Server = http://ftp.lanet.kr/pub/archlinux/$repo/os/$arch +Server = https://ftp.lanet.kr/pub/archlinux/$repo/os/$arch +Server = http://mirror.premi.st/archlinux/$repo/os/$arch +Server = https://mirror.premi.st/archlinux/$repo/os/$arch + +## Spain +Server = https://mirror.cloroformo.org/archlinux/$repo/os/$arch +Server = http://mirror.librelabucm.org/archlinux/$repo/os/$arch +Server = https://mirror.librelabucm.org/archlinux/$repo/os/$arch +Server = https://osl.ugr.es/archlinux/$repo/os/$arch +Server = http://ftp.rediris.es/mirror/archlinux/$repo/os/$arch +Server = http://sharing.thelinuxsect.com/archlinux/$repo/os/$arch + +## Sweden +Server = http://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch +Server = https://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch +Server = http://archlinux.dynamict.se/$repo/os/$arch +Server = https://archlinux.dynamict.se/$repo/os/$arch +Server = http://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch +Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch +Server = https://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch +Server = http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch +Server = https://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch +Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch + +## Switzerland +Server = http://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch +Server = https://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch +Server = http://mirror.init7.net/archlinux/$repo/os/$arch +Server = https://mirror.init7.net/archlinux/$repo/os/$arch +Server = http://mirror.puzzle.ch/archlinux/$repo/os/$arch +Server = https://mirror.puzzle.ch/archlinux/$repo/os/$arch +Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch + +## Taiwan +Server = http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch +Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch +Server = http://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch +Server = https://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch +Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch +Server = http://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch +Server = https://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch + +## Thailand +Server = http://mirror.kku.ac.th/archlinux/$repo/os/$arch +Server = https://mirror.kku.ac.th/archlinux/$repo/os/$arch +Server = http://mirror2.totbb.net/archlinux/$repo/os/$arch + +## Turkey +Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch +Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch + +## Ukraine +Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch +Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch +Server = http://mirror.mirohost.net/archlinux/$repo/os/$arch +Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch +Server = http://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch +Server = https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch + +## United Kingdom +Server = http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch +Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch +Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch +Server = https://mirror.bytemark.co.uk/archlinux/$repo/os/$arch +Server = http://mirrors.gethosted.online/archlinux/$repo/os/$arch +Server = https://mirrors.gethosted.online/archlinux/$repo/os/$arch +Server = http://mirrors.manchester.m247.com/arch-linux/$repo/os/$arch +Server = http://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch +Server = https://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch +Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch +Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch +Server = http://mirror.netweaver.uk/archlinux/$repo/os/$arch +Server = https://mirror.netweaver.uk/archlinux/$repo/os/$arch +Server = http://lon.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://lon.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = http://arch.serverspace.co.uk/arch/$repo/os/$arch +Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch +Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch + +## United States +Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch +Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch +Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch +Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch +Server = http://il.us.mirror.archlinux-br.org/$repo/os/$arch +Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch +Server = https://archlinux.surlyjake.com/archlinux/$repo/os/$arch +Server = http://mirror.arizona.edu/archlinux/$repo/os/$arch +Server = https://mirror.arizona.edu/archlinux/$repo/os/$arch +Server = http://arlm.tyzoid.com/$repo/os/$arch +Server = https://arlm.tyzoid.com/$repo/os/$arch +Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch +Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch +Server = http://arch.mirror.constant.com/$repo/os/$arch +Server = https://arch.mirror.constant.com/$repo/os/$arch +Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch +Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch +Server = http://distro.ibiblio.org/archlinux/$repo/os/$arch +Server = http://mirror.es.its.nyu.edu/archlinux/$repo/os/$arch +Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch +Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch +Server = http://mirror.dc02.hackingand.coffee/arch/$repo/os/$arch +Server = https://mirror.dc02.hackingand.coffee/arch/$repo/os/$arch +Server = https://mirror.hodgepodge.dev/archlinux/$repo/os/$arch +Server = http://arch.hu.fo/archlinux/$repo/os/$arch +Server = https://arch.hu.fo/archlinux/$repo/os/$arch +Server = http://repo.ialab.dsu.edu/archlinux/$repo/os/$arch +Server = https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch +Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch +Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch +Server = http://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch +Server = http://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch +Server = http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch +Server = http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch +Server = https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch +Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch +Server = http://mirror.lty.me/archlinux/$repo/os/$arch +Server = https://mirror.lty.me/archlinux/$repo/os/$arch +Server = http://reflector.luehm.com/arch/$repo/os/$arch +Server = https://reflector.luehm.com/arch/$repo/os/$arch +Server = http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch +Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch +Server = http://mirror.math.princeton.edu/pub/archlinux/$repo/os/$arch +Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch +Server = http://mirror.kaminski.io/archlinux/$repo/os/$arch +Server = https://mirror.kaminski.io/archlinux/$repo/os/$arch +Server = http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch +Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch +Server = http://repo.miserver.it.umich.edu/archlinux/$repo/os/$arch +Server = http://mirrors.mit.edu/archlinux/$repo/os/$arch +Server = https://mirrors.mit.edu/archlinux/$repo/os/$arch +Server = http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch +Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch +Server = http://archmirror1.octyl.net/$repo/os/$arch +Server = https://archmirror1.octyl.net/$repo/os/$arch +Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch +Server = http://arch.mirrors.pair.com/$repo/os/$arch +Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = http://iad.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch +Server = http://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch +Server = https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch +Server = http://mirrors.rit.edu/archlinux/$repo/os/$arch +Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch +Server = https://arch.rrig.gs/$repo/os/$arch +Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch +Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch +Server = http://mirror.siena.edu/archlinux/$repo/os/$arch +Server = http://mirrors.sonic.net/archlinux/$repo/os/$arch +Server = https://mirrors.sonic.net/archlinux/$repo/os/$arch +Server = http://arch.mirror.square-r00t.net/$repo/os/$arch +Server = https://arch.mirror.square-r00t.net/$repo/os/$arch +Server = http://mirror.stephen304.com/archlinux/$repo/os/$arch +Server = https://mirror.stephen304.com/archlinux/$repo/os/$arch +Server = http://ftp.sudhip.com/archlinux/$repo/os/$arch +Server = https://ftp.sudhip.com/archlinux/$repo/os/$arch +Server = http://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch +Server = https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch +Server = http://mirror.umd.edu/archlinux/$repo/os/$arch +Server = http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch +Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch +Server = http://mirrors.xtom.com/archlinux/$repo/os/$arch +Server = https://mirrors.xtom.com/archlinux/$repo/os/$arch + +## Vietnam +Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch diff --git a/archiso/airootfs/etc/passwd b/archiso/airootfs/etc/passwd new file mode 100644 index 0000000..0917446 --- /dev/null +++ b/archiso/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/bin/bash +liveuser:x:1000:1000::/home/liveuser:/bin/bash diff --git a/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules new file mode 100644 index 0000000..afc8670 --- /dev/null +++ b/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules @@ -0,0 +1,9 @@ +/* Allow members of the wheel group to execute any actions + * without password authentication, similar to "sudo NOPASSWD:" + */ +polkit.addRule(function(action, subject) { + if (subject.isInGroup("wheel")) { + return polkit.Result.YES; + } +}); + diff --git a/archiso/airootfs/etc/sddm.conf.d/autologin.conf b/archiso/airootfs/etc/sddm.conf.d/autologin.conf new file mode 100644 index 0000000..3163d6f --- /dev/null +++ b/archiso/airootfs/etc/sddm.conf.d/autologin.conf @@ -0,0 +1,7 @@ +[Autologin] +Relogin=false +User=liveuser +Session=dwmalci + +[Theme] +Current=breeze diff --git a/archiso/airootfs/etc/shadow b/archiso/airootfs/etc/shadow new file mode 100644 index 0000000..3692488 --- /dev/null +++ b/archiso/airootfs/etc/shadow @@ -0,0 +1,2 @@ +root::14871:::::: +liveuser::14871:::::: \ No newline at end of file diff --git a/archiso/airootfs/etc/skel/.Xresources b/archiso/airootfs/etc/skel/.Xresources new file mode 100644 index 0000000..368ec2c --- /dev/null +++ b/archiso/airootfs/etc/skel/.Xresources @@ -0,0 +1,34 @@ +! ------------------------------------------------------------------------------ +! xterm standard arcolinux theme +! ------------------------------------------------------------------------------ +! https://critical.ch/xterm/ +! ------------------------------------------------------------------------------ + +xterm*faceName: Monospace +xterm*faceSize: 13 +xterm*loginShell: true +xterm*saveLines: 4000 +xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 +xterm*termName: xterm-color +xterm*eightBitInput: false +xterm*foreground: rgb:d9/d4/d4 +xterm*background: rgb:32/32/32 +xterm*color0: rgb:00/00/00 +xterm*color1: rgb:a8/00/00 +xterm*color2: rgb:00/a8/00 +xterm*color3: rgb:a8/54/00 +xterm*color4: rgb:5f/81/9d +xterm*color5: rgb:a8/00/a8 +xterm*color6: rgb:00/a8/a8 +xterm*color7: rgb:70/78/80 +xterm*color8: rgb:54/54/54 +xterm*color9: rgb:fc/54/54 +xterm*color10: rgb:54/fc/54 +xterm*color11: rgb:fc/fc/54 +xterm*color12: rgb:81/a2/be +xterm*color13: rgb:fc/54/fc +xterm*color14: rgb:54/fc/fc +xterm*color15: rgb:c5/c8/c6 +xterm*boldMode: false + + diff --git a/airootfs/etc/skel/.bash_profile b/archiso/airootfs/etc/skel/.bash_profile similarity index 100% rename from airootfs/etc/skel/.bash_profile rename to archiso/airootfs/etc/skel/.bash_profile diff --git a/archiso/airootfs/etc/skel/.bashrc b/archiso/airootfs/etc/skel/.bashrc new file mode 100644 index 0000000..3a70979 --- /dev/null +++ b/archiso/airootfs/etc/skel/.bashrc @@ -0,0 +1,15 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias la='ls -a' +alias ll='ls -la' +alias l='ls' +alias l.="ls -A | egrep '^\.'" +PS1='[\u@\h \W]\$ ' + +#neofetch diff --git a/archiso/airootfs/etc/skel/.config/Trolltech.conf b/archiso/airootfs/etc/skel/.config/Trolltech.conf new file mode 100644 index 0000000..5aad4f3 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/Trolltech.conf @@ -0,0 +1,17 @@ +[qt] +GUIEffects=none +KDE\contrast=0 +KWinPalette\activeBackground=#0c0e14 +KWinPalette\activeBlend=#161925 +KWinPalette\activeForeground=#69c3db +KWinPalette\activeTitleBtnBg=#181b28 +KWinPalette\frame=#181b28 +KWinPalette\inactiveBackground=#161925 +KWinPalette\inactiveBlend=#161925 +KWinPalette\inactiveForeground=#417c8c +KWinPalette\inactiveFrame=#181b28 +KWinPalette\inactiveTitleBtnBg=#181b28 +Palette\active=#66c2f2, #1e2233, #262b40, #202435, #11131c, #161824, #47adda, #ffffff, #31b5eb, #161925, #181b28, #0c0e14, #47add6, #0a0b0c, #4595ff, #7cb7ff, #141a21, #000000, #353945, #31b5eb, #47adda +Palette\disabled=#31516a, #1d2031, #262a3f, #1f2334, #10121b, #151723, #254960, #ffffff, #23516e, #151823, #171a26, #0c0d13, #171a26, #31516a, #25416c, #374d6c, #13191f, #000000, #353945, #31b5eb, #47adda +Palette\inactive=#66c2f2, #1e2233, #262b40, #202435, #11131c, #161824, #47adda, #ffffff, #31b5eb, #161925, #181b28, #0c0e14, #1c3d4d, #66c2f2, #4595ff, #7cb7ff, #141a21, #000000, #353945, #31b5eb, #47adda +font="Noto Sans,10,-1,0,50,0,0,0,0,0" diff --git a/archiso/airootfs/etc/skel/.config/alacritty/alacritty.yml b/archiso/airootfs/etc/skel/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..6b18a3b --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/alacritty/alacritty.yml @@ -0,0 +1,155 @@ +env: + TERM: xterm-256color + WINIT_X11_SCALE_FACTOR: "1" + +window: + dimensions: + columns: 80 + lines: 24 + + decorations: full + + startup_mode: Windowed +scrolling: + history: 2500 + multiplier: 3 + +# Colors (Oceanic Next) +#colors: +# # Default colors +# primary: +# background: '#1b2b34' +# foreground: '#d8dee9' +# +# # Normal colors +# normal: +# black: '#343d46' +# red: '#EC5f67' +# green: '#99C794' +# yellow: '#FAC863' +# blue: '#6699cc' +# magenta: '#c594c5' +# cyan: '#5fb3b3' +# white: '#d8dee9' +# +# # Bright colors +# bright: +# black: '#343d46' +# red: '#EC5f67' +# green: '#99C794' +# yellow: '#FAC863' +# blue: '#6699cc' +# magenta: '#c594c5' +# cyan: '#5fb3b3' +# white: '#d8dee9' + +# Colors (Nord) +colors: + # Default colors + primary: + background: '0x2E3440' + foreground: '0xD8DEE9' + + # Normal colors + normal: + black: '0x3B4252' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x88C0D0' + white: '0xE5E9F0' + + # Bright colors + bright: + black: '0x4C566A' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x8FBCBB' + white: '0xECEFF4' + +# Font configuration +font: + # Normal (roman) font face + normal: + # Font family + # + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: monospace + style: Regular + + # Bold font face + bold: + family: monospace + style: Bold + + # Italic font face + italic: + family: monospace + style: Italic + + # Bold italic font face + bold_italic: + family: monospace + style: Bold Italic + + # Point size + size: 10 + +draw_bold_text_with_bright_colors: false + +background_opacity: 0.95 + +selection: + semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + save_to_clipboard: false + +cursor: + style: Block + vi_mode_style: None + unfocused_hollow: true + thickness: 0.15 + +live_config_reload: true + +working_directory: None + +alt_send_esc: true + +mouse: + double_click: { threshold: 300 } + triple_click: { threshold: 300 } + + hide_when_typing: true + +hints: + launcher: + program: xdg-open + + modifiers: None + +mouse_bindings: + - { mouse: Middle, action: PasteSelection } + +key_bindings: + - { key: Paste, action: Paste } + - { key: Copy, action: Copy } + - { key: L, mods: Control, action: ClearLogNotice } + - { key: L, mods: Control, mode: ~Vi, chars: "\x0c" } + - { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } + - { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } + - { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } + - { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } + - { key: V, mods: Control|Shift, action: Paste } + - { key: C, mods: Control|Shift, action: Copy } + - { key: F, mods: Control|Shift, action: SearchForward } + - { key: B, mods: Control|Shift, action: SearchBackward } + - { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection } + - { key: Key0, mods: Control, action: ResetFontSize } diff --git a/archiso/airootfs/etc/skel/.config/autostart/cachyos-hello.desktop b/archiso/airootfs/etc/skel/.config/autostart/cachyos-hello.desktop new file mode 100755 index 0000000..af02900 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/autostart/cachyos-hello.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Terminal=false +Type=Application +Categories=GNOME;GTK;System; +StartupNotify=false +Name=CachyOS Hello +Exec=/usr/bin/cachyos-hello +Icon=cachyos +Comment=A tool providing access to documentation and support for new CachyOS users. +Comment[da]=En app med adgang til dokumentation og support for nye CachyOS brugere. +Comment[de]=Ein Tool für schnellen Zugriff auf Support und Dokumentation für neue CachyOS-Nutzer. +Comment[es]=Una herramienta que provee acceso a la documentación y soporte para nuevos usuarios de CachyOS. +Comment[fr]=Outil d'accès à la documentation et support aux nouveaux utilisateurs de CachyOS. +Comment[nl]=Een manier voor nieuwe CachyOS gebruikers om toegang tot documentatie en support te krijgen. +Comment[pl]=Narzędzie ułatwiające dostęp do dokumentacji i pomocy przeznaczone dla nowych użytkowników CachyOS. +Comment[pt_BR]=Uma ferramenta que fornece acesso à documentação e suporte para novos usuários CachyOS. +Comment[pt_PT]=Uma ferramenta que fornece acesso à documentação e suporte para novos usuários CachyOS. +Comment[ru]=Средство доступа к документации и поддержке для новых пользователей CachyOS. +Comment[it]=Strumento per accedere alla documentazione e supporto per nuovi utenti CachyOS. +Comment[tr]=Yeni CachyOS kullanıcıları için dökümantasyon ve destek sağlayan bir araç. \ No newline at end of file diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/kcminputrc b/archiso/airootfs/etc/skel/.config/kdedefaults/kcminputrc new file mode 100644 index 0000000..e376a98 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/kcminputrc @@ -0,0 +1,2 @@ +[Mouse] +cursorTheme=capitaine-cursors diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/kdeglobals b/archiso/airootfs/etc/skel/.config/kdedefaults/kdeglobals new file mode 100644 index 0000000..f7f4614 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/kdeglobals @@ -0,0 +1,8 @@ +[General] +ColorScheme=CachyOSNord + +[Icons] +Theme=char-white + +[KDE] +widgetStyle=Breeze diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/kscreenlockerrc b/archiso/airootfs/etc/skel/.config/kdedefaults/kscreenlockerrc new file mode 100644 index 0000000..4cb6e3f --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/kscreenlockerrc @@ -0,0 +1,2 @@ +[Greeter] +Theme=com.cachyos.ddh4r4m.nord diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/ksplashrc b/archiso/airootfs/etc/skel/.config/kdedefaults/ksplashrc new file mode 100644 index 0000000..d039d17 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/ksplashrc @@ -0,0 +1,3 @@ +[KSplash] +Engine=KSplashQML +Theme=com.cachyos.ddh4r4m.nord diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/kwinrc b/archiso/airootfs/etc/skel/.config/kdedefaults/kwinrc new file mode 100644 index 0000000..a700194 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/kwinrc @@ -0,0 +1,8 @@ +[TabBox] +DesktopLayout=big_icons +DesktopListLayout=big_icons +LayoutName=big_icons + +[org.kde.kdecoration2] +library=org.kde.breeze +theme=Breeze diff --git a/archiso/airootfs/etc/skel/.config/kdedefaults/plasmarc b/archiso/airootfs/etc/skel/.config/kdedefaults/plasmarc new file mode 100644 index 0000000..092164f --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdedefaults/plasmarc @@ -0,0 +1,2 @@ +[Theme] +name=CachyOS-Nord-round diff --git a/archiso/airootfs/etc/skel/.config/kdeglobals b/archiso/airootfs/etc/skel/.config/kdeglobals new file mode 100644 index 0000000..029dd45 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/kdeglobals @@ -0,0 +1,150 @@ +[ColorEffects:Disabled] +Color=23,23,23 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=112,111,110 +ColorAmount=0.025000000000000001 +ColorEffect=2 +ContrastAmount=0.10000000000000001 +ContrastEffect=2 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=64,69,82 +BackgroundNormal=30,34,51 +DecorationFocus=109,188,209 +DecorationHover=102,194,242 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=49,181,235 +ForegroundPositive=24,165,222 +ForegroundVisited=77,0,250 + +[Colors:Complementary] +BackgroundAlternate=64,69,82 +BackgroundNormal=30,34,51 +DecorationFocus=109,188,209 +DecorationHover=136,192,209 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=49,181,235 +ForegroundPositive=24,165,222 +ForegroundVisited=77,0,250 + +[Colors:Header] +BackgroundAlternate=64,69,82 +BackgroundNormal=30,34,51 +DecorationFocus=109,188,209 +DecorationHover=136,192,207 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=49,181,235 +ForegroundPositive=24,165,222 +ForegroundVisited=77,0,250 + +[Colors:Header][Inactive] +BackgroundAlternate=64,69,82 +BackgroundNormal=30,34,51 +DecorationFocus=109,188,209 +DecorationHover=136,192,206 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=49,181,235 +ForegroundPositive=24,165,222 +ForegroundVisited=77,0,250 + +[Colors:Selection] +BackgroundAlternate=109,188,220 +BackgroundNormal=71,173,214 +DecorationFocus=66,14,210 +DecorationHover=66,14,210 +ForegroundActive=252,252,252 +ForegroundInactive=211,218,227 +ForegroundLink=253,188,75 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=10,11,12 +ForegroundPositive=24,165,222 +ForegroundVisited=189,195,199 + +[Colors:Tooltip] +BackgroundAlternate=22,25,37 +BackgroundNormal=53,57,69 +DecorationFocus=109,188,220 +DecorationHover=109,188,200 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=49,181,235 +ForegroundPositive=24,165,222 +ForegroundVisited=77,0,250 + +[Colors:View] +BackgroundAlternate=20,26,33 +BackgroundNormal=22,25,37 +DecorationFocus=109,188,220 +DecorationHover=109,188,209 +ForegroundActive=0,193,228 +ForegroundInactive=102,106,115 +ForegroundLink=69,149,255 +ForegroundNegative=223,252,0 +ForegroundNeutral=255,106,0 +ForegroundNormal=71,173,218 +ForegroundPositive=24,165,222 +ForegroundVisited=124,183,255 + +[Colors:Window] +BackgroundAlternate=22,25,37 +BackgroundNormal=24,27,40 +DecorationFocus=109,188,220 +DecorationHover=109,188,205 +ForegroundActive=61,174,233 +ForegroundInactive=102,106,115 +ForegroundLink=0,168,255 +ForegroundNegative=72,172,199 +ForegroundNeutral=255,106,0 +ForegroundNormal=102,194,242 +ForegroundPositive=24,165,222 +ForegroundVisited=179,13,191 + +[General] +Name=CachyOSNord +shadeSortColumn=true +widgetStyle=Breeze + +[KDE] +ColorScheme=BreezeLight +LookAndFeelPackage=com.cachyos.ddh4r4m.nord +contrast=0 +widgetStyle=qt5ct-style + +[WM] +activeBackground=12,14,20 +activeBlend=22,25,37 +activeForeground=105,195,219 +inactiveBackground=22,25,37 +inactiveBlend=22,25,37 +inactiveForeground=65,124,140 diff --git a/archiso/airootfs/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc b/archiso/airootfs/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc new file mode 100644 index 0000000..6c39bb8 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc @@ -0,0 +1,207 @@ +[ActionPlugins][0] +MiddleButton;NoModifier=org.kde.paste +RightButton;NoModifier=org.kde.contextmenu +wheel:Vertical;NoModifier=org.kde.switchdesktop + +[ActionPlugins][1] +RightButton;NoModifier=org.kde.contextmenu + +[Containments][16] +ItemGeometries-1024x768= +ItemGeometriesHorizontal= +activityId=746826e6-7a16-44a2-ae6a-ae47880c9de9 +formfactor=0 +immutability=1 +lastScreen=0 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin=org.kde.image + +[Containments][16][ConfigDialog] +DialogHeight=558 +DialogWidth=720 + +[Containments][16][Configuration] +PreloadWeight=0 + +[Containments][16][Wallpaper][org.kde.image][General] +Image=file:///usr/share/wallpapers/BlueFeathers/contents/images/3840x2160.png + +[Containments][17] +activityId= +formfactor=2 +immutability=1 +lastScreen=0 +location=4 +plugin=org.kde.panel +wallpaperplugin=org.kde.image + +[Containments][17][Applets][18] +immutability=1 +plugin=org.kde.plasma.kickoff + +[Containments][17][Applets][18][Configuration] +PreloadWeight=100 +immutability=1 + +[Containments][17][Applets][18][Configuration][Configuration] +PreloadWeight=100 + +[Containments][17][Applets][18][Configuration][Configuration][ConfigDialog] +DialogHeight=480 +DialogWidth=640 + +[Containments][17][Applets][18][Configuration][Configuration][General] +favoritesPortedToKAstats=true +icon=start-here-kde + +[Containments][17][Applets][18][Configuration][General] +favoritesPortedToKAstats=true +systemApplications=systemsettings.desktop + +[Containments][17][Applets][18][Configuration][Shortcuts] +global=Alt+F1 + +[Containments][17][Applets][19] +immutability=1 +plugin=org.kde.plasma.panelspacer + +[Containments][17][Applets][19][Configuration] +PreloadWeight=42 +immutability=1 + +[Containments][17][Applets][19][Configuration][Configuration] +PreloadWeight=0 + +[Containments][17][Applets][19][Configuration][Configuration][General] +length=1108 + +[Containments][17][Applets][19][Configuration][General] +length=1108 + +[Containments][17][Applets][20] +immutability=1 +plugin=org.kde.plasma.icontasks + +[Containments][17][Applets][20][Configuration] +PreloadWeight=42 +immutability=1 + +[Containments][17][Applets][20][Configuration][Configuration] +PreloadWeight=0 + +[Containments][17][Applets][21] +immutability=1 +plugin=org.kde.plasma.panelspacer + +[Containments][17][Applets][21][Configuration] +PreloadWeight=42 +immutability=1 + +[Containments][17][Applets][21][Configuration][Configuration] +PreloadWeight=0 + +[Containments][17][Applets][21][Configuration][Configuration][General] +length=1108 + +[Containments][17][Applets][21][Configuration][General] +length=1108 + +[Containments][17][Applets][22] +immutability=1 +plugin=org.kde.plasma.systemtray + +[Containments][17][Applets][22][Configuration] +PreloadWeight=47 +SystrayContainmentId=23 +immutability=1 + +[Containments][17][Applets][22][Configuration][Configuration] +PreloadWeight=0 + +[Containments][17][Applets][29] +immutability=1 +plugin=org.kde.plasma.digitalclock + +[Containments][17][Applets][29][Configuration] +PreloadWeight=42 +immutability=1 +showDate=false + +[Containments][17][Applets][29][Configuration][Appearance] +showDate=false + +[Containments][17][Applets][29][Configuration][Configuration] +PreloadWeight=0 + +[Containments][17][ConfigDialog] +DialogHeight=82 +DialogWidth=1366 + +[Containments][17][Configuration] +PreloadWeight=0 + +[Containments][17][General] +AppletOrder=18;19;20;21;22;29 + +[Containments][23] +activityId= +formfactor=2 +immutability=1 +lastScreen=0 +location=4 +plugin=org.kde.plasma.private.systemtray +wallpaperplugin=org.kde.image + +[Containments][23][Applets][24] +immutability=1 +plugin=org.kde.plasma.clipboard + +[Containments][23][Applets][24][Configuration] +PreloadWeight=42 + +[Containments][23][Applets][25] +immutability=1 +plugin=org.kde.plasma.devicenotifier + +[Containments][23][Applets][25][Configuration] +PreloadWeight=42 + +[Containments][23][Applets][26] +immutability=1 +plugin=org.kde.plasma.keyboardlayout + +[Containments][23][Applets][26][Configuration] +PreloadWeight=42 + +[Containments][23][Applets][27] +immutability=1 +plugin=org.kde.plasma.notifications + +[Containments][23][Applets][27][Configuration] +PreloadWeight=42 + +[Containments][23][Applets][28] +immutability=1 +plugin=org.kde.plasma.volume + +[Containments][23][Applets][28][Configuration] +PreloadWeight=42 + +[Containments][23][Applets][30] +immutability=1 +plugin=org.kde.plasma.networkmanagement + +[Containments][23][Applets][30][Configuration] +PreloadWeight=42 + +[Containments][23][Configuration] +PreloadWeight=42 + +[Containments][23][General] +extraItems=org.kde.plasma.battery,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardlayout,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.volume +knownItems=org.kde.plasma.battery,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardlayout,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.volume + +[ScreenMapping] +itemsOnDisabledScreens= +screenMapping=desktop:/calamares.desktop,0 diff --git a/archiso/airootfs/etc/skel/.config/qt5ct/qt5ct.conf b/archiso/airootfs/etc/skel/.config/qt5ct/qt5ct.conf new file mode 100644 index 0000000..4d8a367 --- /dev/null +++ b/archiso/airootfs/etc/skel/.config/qt5ct/qt5ct.conf @@ -0,0 +1,28 @@ +[Appearance] +color_scheme_path=/usr/share/qt5ct/colors/airy.conf +custom_palette=false +icon_theme=char-white +standard_dialogs=default +style=Breeze + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\x1e\0\x44\0\x65\0j\0\x61\0V\0u\0 \0L\0G\0\x43\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0\x1e\0\x44\0\x65\0j\0\x61\0V\0u\0 \0L\0G\0\x43\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=2 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +keyboard_scheme=2 +menus_have_icons=true +show_shortcuts_in_context_menus=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x9a\0\0\0\x1f\0\0\x3x\0\0\x2\xd8\0\0\0\x9a\0\0\0\x44\0\0\x3x\0\0\x2\xd8\0\0\0\0\0\0\0\0\x4\0\0\0\0\x9a\0\0\0\x44\0\0\x3x\0\0\x2\xd8) diff --git a/archiso/airootfs/etc/skel/.xinitrc b/archiso/airootfs/etc/skel/.xinitrc new file mode 100644 index 0000000..b578fad --- /dev/null +++ b/archiso/airootfs/etc/skel/.xinitrc @@ -0,0 +1,2 @@ +[ -f ~/.xprofile ] && . ~/.xprofile && dbus-launch startplasma-x11 +#[ -f ~/.xprofile ] && . ~/.xprofile && dbus-launch xfce4-session diff --git a/airootfs/etc/skel/.xprofile b/archiso/airootfs/etc/skel/.xprofile old mode 100755 new mode 100644 similarity index 100% rename from airootfs/etc/skel/.xprofile rename to archiso/airootfs/etc/skel/.xprofile diff --git a/airootfs/etc/skel/.xsession b/archiso/airootfs/etc/skel/.xsession similarity index 100% rename from airootfs/etc/skel/.xsession rename to archiso/airootfs/etc/skel/.xsession diff --git a/airootfs/etc/ssh/sshd_config b/archiso/airootfs/etc/ssh/sshd_config old mode 100755 new mode 100644 similarity index 91% rename from airootfs/etc/ssh/sshd_config rename to archiso/airootfs/etc/ssh/sshd_config index 8ef1758..93f7d63 --- a/airootfs/etc/ssh/sshd_config +++ b/archiso/airootfs/etc/ssh/sshd_config @@ -1,4 +1,4 @@ -# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $ +# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. @@ -58,7 +58,7 @@ AuthorizedKeysFile .ssh/authorized_keys #PermitEmptyPasswords no # Change to no to disable s/key passwords -ChallengeResponseAuthentication no +#KbdInteractiveAuthentication yes # Kerberos options #KerberosAuthentication no @@ -72,13 +72,13 @@ ChallengeResponseAuthentication no # Set this to 'yes' to enable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will -# be allowed through the ChallengeResponseAuthentication and +# be allowed through the KbdInteractiveAuthentication and # PasswordAuthentication. Depending on your PAM configuration, -# PAM authentication via ChallengeResponseAuthentication may bypass +# PAM authentication via KbdInteractiveAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication -# and ChallengeResponseAuthentication to 'no'. +# and KbdInteractiveAuthentication to 'no'. UsePAM yes #AllowAgentForwarding yes diff --git a/airootfs/etc/sudoers.d/g_wheel b/archiso/airootfs/etc/sudoers.d/g_wheel similarity index 100% rename from airootfs/etc/sudoers.d/g_wheel rename to archiso/airootfs/etc/sudoers.d/g_wheel diff --git a/archiso/airootfs/etc/systemd/journald.conf b/archiso/airootfs/etc/systemd/journald.conf new file mode 100644 index 0000000..6e11247 --- /dev/null +++ b/archiso/airootfs/etc/systemd/journald.conf @@ -0,0 +1,44 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See journald.conf(5) for details. + +[Journal] +Storage=volatile +#Compress=yes +#Seal=yes +#SplitMode=uid +#SyncIntervalSec=5m +#RateLimitIntervalSec=30s +#RateLimitBurst=10000 +#SystemMaxUse= +#SystemKeepFree= +#SystemMaxFileSize= +#SystemMaxFiles=100 +#RuntimeMaxUse= +#RuntimeKeepFree= +#RuntimeMaxFileSize= +#RuntimeMaxFiles=100 +#MaxRetentionSec= +#MaxFileSec=1month +#ForwardToSyslog=no +#ForwardToKMsg=no +#ForwardToConsole=no +#ForwardToWall=yes +#TTYPath=/dev/console +#MaxLevelStore=debug +#MaxLevelSyslog=debug +#MaxLevelKMsg=notice +#MaxLevelConsole=info +#MaxLevelWall=emerg +#LineMax=48K +#ReadKMsg=yes +#Audit=yes diff --git a/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf new file mode 100644 index 0000000..b69850d --- /dev/null +++ b/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf @@ -0,0 +1,2 @@ +[Journal] +Storage=volatile diff --git a/archiso/airootfs/etc/systemd/logind.conf b/archiso/airootfs/etc/systemd/logind.conf new file mode 100644 index 0000000..72b3254 --- /dev/null +++ b/archiso/airootfs/etc/systemd/logind.conf @@ -0,0 +1,38 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See logind.conf(5) for details. + +[Login] +#NAutoVTs=6 +#ReserveVT=6 +#KillUserProcesses=no +#KillOnlyUsers= +#KillExcludeUsers=root +#InhibitDelayMaxSec=5 +#HandlePowerKey=poweroff +HandleSuspendKey=ignore +HandleHibernateKey=ignore +HandleLidSwitch=ignore +#HandleLidSwitchExternalPower=suspend +#HandleLidSwitchDocked=ignore +#PowerKeyIgnoreInhibited=no +#SuspendKeyIgnoreInhibited=no +#HibernateKeyIgnoreInhibited=no +#LidSwitchIgnoreInhibited=yes +#HoldoffTimeoutSec=30s +#IdleAction=ignore +#IdleActionSec=30min +#RuntimeDirectorySize=10% +#RuntimeDirectoryInodes=400k +#RemoveIPC=yes +#InhibitorsMax=8192 +#SessionsMax=8192 diff --git a/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf old mode 100755 new mode 100644 similarity index 63% rename from airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf rename to archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf index c6b17a4..f3ecb39 --- a/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf +++ b/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf @@ -1,6 +1,3 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - [Login] HandleSuspendKey=ignore HandleHibernateKey=ignore diff --git a/archiso/airootfs/etc/systemd/network/20-ethernet.network b/archiso/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 0000000..f2a7d60 --- /dev/null +++ b/archiso/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,18 @@ +[Match] +Name=en* +Name=eth* + +[Network] +DHCP=yes +IPv6PrivacyExtensions=yes + +# systemd-networkd does not set per-interface-type default route metrics +# https://github.com/systemd/systemd/issues/17698 +# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. +# Use values from NetworkManager. From nm_device_get_route_metric_default in +# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c +[DHCPv4] +RouteMetric=100 + +[IPv6AcceptRA] +RouteMetric=100 diff --git a/archiso/airootfs/etc/systemd/network/20-wlan.network b/archiso/airootfs/etc/systemd/network/20-wlan.network new file mode 100644 index 0000000..601d5b8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/network/20-wlan.network @@ -0,0 +1,17 @@ +[Match] +Name=wl* + +[Network] +DHCP=yes +IPv6PrivacyExtensions=yes + +# systemd-networkd does not set per-interface-type default route metrics +# https://github.com/systemd/systemd/issues/17698 +# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. +# Use values from NetworkManager. From nm_device_get_route_metric_default in +# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c +[DHCPv4] +RouteMetric=600 + +[IPv6AcceptRA] +RouteMetric=600 diff --git a/archiso/airootfs/etc/systemd/network/20-wwan.network b/archiso/airootfs/etc/systemd/network/20-wwan.network new file mode 100644 index 0000000..9104c24 --- /dev/null +++ b/archiso/airootfs/etc/systemd/network/20-wwan.network @@ -0,0 +1,17 @@ +[Match] +Name=ww* + +[Network] +DHCP=yes +IPv6PrivacyExtensions=yes + +# systemd-networkd does not set per-interface-type default route metrics +# https://github.com/systemd/systemd/issues/17698 +# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. +# Use values from NetworkManager. From nm_device_get_route_metric_default in +# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c +[DHCPv4] +RouteMetric=700 + +[IPv6AcceptRA] +RouteMetric=700 diff --git a/archiso/airootfs/etc/systemd/system/choose-mirror.service b/archiso/airootfs/etc/systemd/system/choose-mirror.service new file mode 100644 index 0000000..b6a3562 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/choose-mirror.service @@ -0,0 +1,10 @@ +[Unit] +Description=Choose mirror from the kernel command line +ConditionKernelCommandLine=mirror + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/choose-mirror + +[Install] +WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service new file mode 120000 index 0000000..ebc50f0 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-config.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service new file mode 120000 index 0000000..80fa3c8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-final.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service new file mode 120000 index 0000000..dd8e9f1 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-init-local.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service new file mode 120000 index 0000000..24c7a26 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-init.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service new file mode 120000 index 0000000..a7e5cd4 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager-dispatcher.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/default.target b/archiso/airootfs/etc/systemd/system/default.target new file mode 120000 index 0000000..cf9fa51 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/default.target @@ -0,0 +1 @@ +/usr/lib/systemd/system/graphical.target \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/display-manager.service b/archiso/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/display-manager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/sddm.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 0000000..4eab551 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount @@ -0,0 +1,8 @@ +[Unit] +Description=Temporary /etc/pacman.d/gnupg directory + +[Mount] +What=tmpfs +Where=/etc/pacman.d/gnupg +Type=tmpfs +Options=mode=0755 diff --git a/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf new file mode 100644 index 0000000..6fba7e5 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin liveuser --noclear %I 38400 linux diff --git a/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service new file mode 100644 index 0000000..03db4b9 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service @@ -0,0 +1,13 @@ +[Unit] +Description=Unmute All Sound Card Controls For Use With The Live Arch Environment +# This needs to run after the audio device becomes available. +Wants=systemd-udev-settle.service +After=systemd-udev-settle.service sound.target +ConditionKernelCommandLine=accessibility=on + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/livecd-sound -u + +[Install] +WantedBy=sound.target diff --git a/archiso/airootfs/etc/systemd/system/livecd-talk.service b/archiso/airootfs/etc/systemd/system/livecd-talk.service new file mode 100644 index 0000000..b38df22 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/livecd-talk.service @@ -0,0 +1,20 @@ +[Unit] +Description=Screen reader service +After=livecd-alsa-unmuter.service +Before=getty@tty1.service +ConditionKernelCommandLine=accessibility=on + +[Service] +Type=oneshot +TTYPath=/dev/tty13 +ExecStartPre=/usr/bin/chvt 13 +ExecStart=/usr/local/bin/livecd-sound -p +ExecStartPost=/usr/bin/chvt 1 +ExecStartPost=systemctl start espeakup.service +StandardInput=tty +TTYVHangup=yes +TTYVTDisallocate=yes +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service new file mode 120000 index 0000000..2d8d256 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service @@ -0,0 +1 @@ +../choose-mirror.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service new file mode 120000 index 0000000..3625abd --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/iwd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service new file mode 120000 index 0000000..b917481 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service @@ -0,0 +1 @@ +/etc/systemd/system/livecd-talk.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service new file mode 120000 index 0000000..d09eec6 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service @@ -0,0 +1 @@ +../pacman-init.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service new file mode 120000 index 0000000..8e3ff80 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/qemu-guest-agent.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service new file mode 120000 index 0000000..d372729 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/reflector.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service new file mode 120000 index 0000000..d21ebd9 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/sshd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service new file mode 120000 index 0000000..cb2d560 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vboxservice.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager-wait-online.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service new file mode 120000 index 0000000..7d6ad92 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd-wait-online.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/pacman-init.service b/archiso/airootfs/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..b18f7f8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/pacman-init.service @@ -0,0 +1,13 @@ +[Unit] +Description=Initializes Pacman keyring +Requires=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pacman-key --init +ExecStart=/usr/bin/pacman-key --populate + +[Install] +WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf new file mode 100644 index 0000000..de6664d --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf @@ -0,0 +1,6 @@ +[Unit] +ConditionKernelCommandLine=!mirror + +[Service] +Restart=on-failure +RestartSec=10 diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 0000000..51942c8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.socket \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service new file mode 120000 index 0000000..98c0fc8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service @@ -0,0 +1 @@ +../livecd-alsa-unmuter.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf new file mode 100644 index 0000000..c9f9bce --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf @@ -0,0 +1,6 @@ +# Allow systemd-networkd-wait-online to succeed with one interface, otherwise, if multiple network interfaces exist, +# network-online.target gets needlessly delayed. +# See https://wiki.archlinux.org/title/systemd-networkd#systemd-networkd-wait-online +[Service] +ExecStart= +ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any diff --git a/archiso/airootfs/etc/xdg/reflector/reflector.conf b/archiso/airootfs/etc/xdg/reflector/reflector.conf new file mode 100644 index 0000000..9a72b0d --- /dev/null +++ b/archiso/airootfs/etc/xdg/reflector/reflector.conf @@ -0,0 +1,6 @@ +# Reflector configuration file for the systemd service. + +--save /etc/pacman.d/mirrorlist +--protocol https +--latest 20 +--sort rate diff --git a/airootfs/root/.automated_script.sh b/archiso/airootfs/root/.automated_script.sh similarity index 87% rename from airootfs/root/.automated_script.sh rename to archiso/airootfs/root/.automated_script.sh index ed3a924..5c0c316 100755 --- a/airootfs/root/.automated_script.sh +++ b/archiso/airootfs/root/.automated_script.sh @@ -16,7 +16,7 @@ automated_script () script="$(script_cmdline)" if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then - curl "${script}" --retry-connrefused -s -o /tmp/startup_script >/dev/null + curl "${script}" --location --retry-connrefused -s -o /tmp/startup_script >/dev/null rt=$? else cp "${script}" /tmp/startup_script diff --git a/airootfs/root/.zlogin b/archiso/airootfs/root/.zlogin old mode 100755 new mode 100644 similarity index 100% rename from airootfs/root/.zlogin rename to archiso/airootfs/root/.zlogin diff --git a/archiso/airootfs/usr/local/bin/Installation_guide b/archiso/airootfs/usr/local/bin/Installation_guide new file mode 100755 index 0000000..4266754 --- /dev/null +++ b/archiso/airootfs/usr/local/bin/Installation_guide @@ -0,0 +1,5 @@ +#!/bin/sh +# +# SPDX-License-Identifier: GPL-3.0-or-later + +exec lynx 'https://wiki.archlinux.org/title/Installation_guide' diff --git a/archiso/airootfs/usr/local/bin/alci-displaymanager-check b/archiso/airootfs/usr/local/bin/alci-displaymanager-check new file mode 100755 index 0000000..916547f --- /dev/null +++ b/archiso/airootfs/usr/local/bin/alci-displaymanager-check @@ -0,0 +1,33 @@ +#!/bin/bash +#set -e +############################################################################### +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.arcolinux.info +# Website : https://www.arcolinux.com +# Website : https://www.arcolinuxd.com +# Website : https://www.arcolinuxb.com +# Website : https://www.arcolinuxiso.com +# Website : https://www.arcolinuxforum.com +############################################################################### +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +############################################################################### + +package=sddm +if pacman -Qs $package > /dev/null ; then + ln -sf /usr/lib/systemd/system/sddm.service /etc/systemd/system/display-manager.service +fi +package=gdm +if pacman -Qs $package > /dev/null ; then + ln -sf /usr/lib/systemd/system/gdm.service /etc/systemd/system/display-manager.service +fi +package=lxdm +if pacman -Qs $package > /dev/null ; then + ln -sf /usr/lib/systemd/system/lxdm.service /etc/systemd/system/display-manager.service +fi +package=lightdm +if pacman -Qs $package > /dev/null ; then + ln -sf /usr/lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service +fi diff --git a/archiso/airootfs/usr/local/bin/calamares-offline.sh b/archiso/airootfs/usr/local/bin/calamares-offline.sh new file mode 100755 index 0000000..e0d9503 --- /dev/null +++ b/archiso/airootfs/usr/local/bin/calamares-offline.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +Main() { + local mode=offline + local progname="$(basename "$0")" + local log=/home/liveuser/cachy-install.log + + cat < $log +########## $log by $progname +########## Started (UTC): $(date -u "+%x %X") +########## Install mode: $mode + +EOF + RunInTerminal "tail -f $log" & + + sudo cp /usr/share/calamares/settings_${mode}.conf /etc/calamares/settings.conf + pkexec calamares -style kvantum -d >> $log +} + +Main "$@" diff --git a/archiso/airootfs/usr/local/bin/calamares-online.sh b/archiso/airootfs/usr/local/bin/calamares-online.sh new file mode 100755 index 0000000..1946e9c --- /dev/null +++ b/archiso/airootfs/usr/local/bin/calamares-online.sh @@ -0,0 +1,55 @@ +#!/bin/bash + +FollowFile() { + local tailfile="$1" + local term_title="$2" + local xpos="$3" + local ypos="$4" + + alacritty -t "$term_title" -e tail -f "$tailfile" & +} + +catch_chrooted_pacman_log() { + local pacmanlog="" + local lockfile="$HOME/.$progname.lck" + + # wait until pacman.log is available in the chrooted system, then follow the log in background + while true ; do + sleep 2 + pacmanlog="$(/usr/bin/ls -1 /tmp/calamares-root-*/var/log/pacman.log 2>/dev/null | /usr/bin/tail -n 1)" + if [ -n "$pacmanlog" ] ; then + # pacman.log found + [ -r "$lockfile" ] && return + /usr/bin/touch "$lockfile" + FollowFile "$pacmanlog" "Pacman log" 400 50 + break + fi + done +} + +Main() { + local progname="$(basename "$0")" + local log=/home/liveuser/cachy-install.log + local mode="" + + case "$progname" in + calamares-online.sh) mode=online ;; + calamares-offline.sh) mode=offline ;; + esac + mode=online # keep this line for now! + + cat < $log +########## $log by $progname +########## Started (UTC): $(date -u "+%x %X") +########## Install mode: $mode +EOF + FollowFile "$log" "Install log" 20 20 + + sudo cp /usr/share/calamares/settings_${mode}.conf /etc/calamares/settings.conf + pkexec calamares -style kvantum -d >> $log & + + # comment out the following line if pacman.log is not needed: + [ "$mode" = "online" ] && catch_chrooted_pacman_log +} + +Main "$@" diff --git a/archiso/airootfs/usr/local/bin/choose-mirror b/archiso/airootfs/usr/local/bin/choose-mirror new file mode 100755 index 0000000..b021945 --- /dev/null +++ b/archiso/airootfs/usr/local/bin/choose-mirror @@ -0,0 +1,28 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +get_cmdline() { + local param + for param in $(< /proc/cmdline); do + case "${param}" in + $1=*) echo "${param##*=}"; + return 0 + ;; + esac + done +} + +mirror=$(get_cmdline mirror) +[[ $mirror = auto ]] && mirror=$(get_cmdline archiso_http_srv) +[[ $mirror ]] || exit 0 + +mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig +cat >/etc/pacman.d/mirrorlist << EOF +# +# Arch Linux repository mirrorlist +# Generated by archiso +# + +Server = ${mirror%%/}/\$repo/os/\$arch +EOF diff --git a/archiso/airootfs/usr/local/bin/livecd-sound b/archiso/airootfs/usr/local/bin/livecd-sound new file mode 100755 index 0000000..baae0d2 --- /dev/null +++ b/archiso/airootfs/usr/local/bin/livecd-sound @@ -0,0 +1,248 @@ +#!/usr/bin/env bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +usage() { + cat <<- _EOF_ + live cd sound helper script. + Usage: livecdsound [OPTION] + OPTIONS + -u, --unmute unmute all sound cards + -p, --pick select a card for speetch output + -h, --help Show this usage message + +_EOF_ +} + +bugout () { + printf "/usr/local/bin/livecdsound: programming error" + stat_fail +} + +echo_card_indices() +{ + if [ -f /proc/asound/cards ] ; then + sed -n -e's/^[[:space:]]*\([0-7]\)[[:space:]].*/\1/p' /proc/asound/cards + fi +} + +# The following functions try to set many controls. +# No card has all the controls and so some of the attempts are bound to fail. +# Because of this, the functions can't return useful status values. + +# $1 +# $2 +# $3 +unmute_and_set_level(){ + { [ "$3" ] &&[ "$2" ] && [ "$1" ] ; } || bugout + systemd-cat -t "livecdsound" printf "Setting: %s on card: %s to %s\n" "$2" "$1" "$3" + systemd-cat -t "livecdsound" amixer -c "$1" set "$2" "$3" unmute + return 0 +} + +# $1 +# $2 +mute_and_zero_level() +{ + { [ "$1" ] && [ "$2" ] ; } || bugout + systemd-cat -t "livecdsound" printf "Muting control: %s on card: %s\n" "$2" "$1" + systemd-cat -t "livecdsound" amixer -c "$1" set "$2" "0%" mute + return 0 +} + +# $1 +# $2 +# $3 "on" | "off" +switch_control() +{ + { [ "$3" ] && [ "$1" ] ; } || bugout + systemd-cat -t "livecdsound" printf "Switching control: %s on card: %s to %s\n" "$2" "$1" "$3" + systemd-cat -t "livecdsound" amixer -c "$1" set "$2" "$3" + return 0 +} + +# $1 +sanify_levels_on_card() +{ + unmute_and_set_level "$1" "Front" "80%" + unmute_and_set_level "$1" "Master" "80%" + unmute_and_set_level "$1" "Master Mono" "80%" + unmute_and_set_level "$1" "Master Digital" "80%" # E.g., cs4237B + unmute_and_set_level "$1" "Playback" "80%" + unmute_and_set_level "$1" "Headphone" "100%" + unmute_and_set_level "$1" "PCM" "80%" + unmute_and_set_level "$1" "PCM,1" "80%" # E.g., ess1969 + unmute_and_set_level "$1" "DAC" "80%" # E.g., envy24, cs46xx + unmute_and_set_level "$1" "DAC,0" "80%" # E.g., envy24 + unmute_and_set_level "$1" "DAC,1" "80%" # E.g., envy24 + unmute_and_set_level "$1" "Synth" "80%" + unmute_and_set_level "$1" "CD" "80%" + unmute_and_set_level "$1" "PC Speaker" "100%" + + mute_and_zero_level "$1" "Mic" + mute_and_zero_level "$1" "IEC958" # Ubuntu #19648 + + # Intel P4P800-MX + switch_control "$1" "Master Playback Switch" on + switch_control "$1" "Master Surround" on + + # Trident/YMFPCI/emu10k1: + unmute_and_set_level "$1" "Wave" "80%" + unmute_and_set_level "$1" "Music" "80%" + unmute_and_set_level "$1" "AC97" "80%" + + # DRC: + unmute_and_set_level "$1" "Dynamic Range Compression" "80%" + + # Required for HDA Intel (hda-intel): + unmute_and_set_level "$1" "Front" "80%" + + # Required for SB Live 7.1/24-bit (ca0106): + unmute_and_set_level "$1" "Analog Front" "80%" + + # Required at least for Via 823x hardware on DFI K8M800-MLVF Motherboard + switch_control "$1" "IEC958 Capture Monitor" off + + # Required for hardware allowing toggles for AC97 through IEC958, + # valid values are 0, 1, 2, 3. Needs to be set to 0 for PCM1. + unmute_and_set_level "$1" "IEC958 Playback AC97-SPSA" "0" + + # Required for newer Via hardware + unmute_and_set_level "$1" "VIA DXS,0" "80%" + unmute_and_set_level "$1" "VIA DXS,1" "80%" + unmute_and_set_level "$1" "VIA DXS,2" "80%" + unmute_and_set_level "$1" "VIA DXS,3" "80%" + + # Required on some notebooks with ICH4: + switch_control "$1" "Headphone Jack Sense" off + switch_control "$1" "Line Jack Sense" off + + # Some machines need one or more of these to be on; + # others need one or more of these to be off: + + switch_control "$1" "Audigy Analog/Digital Output Jack" on + switch_control "$1" "SB Live Analog/Digital Output Jack" on + + # D1984 -- Thinkpad T61/X61 + switch_control "$1" "Speaker" on + switch_control "$1" "Headphone" on + + # HDA-Intel w/ "Digital" capture mixer (See Ubuntu #193823) + unmute_and_set_level "$1" "Digital" "80%" + + return 0 +} + +# $1 | "all" +sanify_levels() +{ + local ttsdml_returnstatus=0 + local card + case "$1" in + all) + for card in $(echo_card_indices) ; do + sanify_levels_on_card "$card" || ttsdml_returnstatus=1 + done + ;; + *) + sanify_levels_on_card "$1" || ttsdml_returnstatus=1 + ;; + esac + return $ttsdml_returnstatus +} + +# List all cards that *should* be usable for PCM audio. In my experience, +# the console speaker (handled by the pcsp driver) isn't a suitable playback +# device, so we'll exclude it. +list_non_pcsp_cards() +{ + for card in $(echo_card_indices); do + local cardfile="/proc/asound/card${card}/id" + if [ -r "$cardfile" ] && [ -f "$cardfile" ] && \ + [ "$(cat "$cardfile")" != pcsp ]; then + echo "$card" + fi + done +} + +# Properly initialize the sound card so that we have audio at boot. +unmute_all_cards() +{ + sanify_levels all +} + +is_numeric() { + local str=$1 + [[ "$str" =~ ^[0-9]+$ ]] +} + +set_default_card() { + local card=$1 + sed -e "s/%card%/$card/g" < /usr/local/share/livecd-sound/asound.conf.in \ + > /etc/asound.conf +} + +play_on_card() { + local card=$1 file=$2 + aplay -q "-Dplughw:$card,0" "$file" +} + +# If there are multiple usable sound cards, prompt the user to choose one, +# using auditory feedback. +pick_a_card() +{ + set -f + usable_cards="$(list_non_pcsp_cards)" + num_usable_cards="$(wc -w <<< "$usable_cards")" + + if [ "$num_usable_cards" -eq 1 ]; then + systemd-cat -t "livecdsound" printf "Only one sound card is detected\n" + exit 0 + fi + systemd-cat -t "livecdsound" printf "multiple sound cards detected\n" + for card in $usable_cards; do + if ! is_numeric "$card"; then + continue + fi + play_on_card "$card" /usr/share/livecd-sounds/pick-a-card.wav& + done + wait + sleep 1 + for card in $usable_cards; do + if ! is_numeric "$card"; then + continue + fi + play_on_card "$card" /usr/share/livecd-sounds/beep.wav + if read -r -t 10; then + systemd-cat -t "livecdsound" printf "Selecting %s sound card as default\n" "$card" + set_default_card "$card" + break + fi +done +} + +if [[ $# -eq 0 ]]; then + echo "error: No argument passed." + exit 1 +fi +while [[ "${1}" != "" ]]; do + case ${1} in + -h|--help) + usage + exit + ;; + -u|--unmute) + systemd-cat -t "livecdsound" printf "Unmuting all cards" + unmute_all_cards + ;; + -p|--pick) + pick_a_card + ;; + *) + echo "error: Unsupported argument" + usage + exit 1 + ;; + esac + shift +done diff --git a/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in b/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in new file mode 100644 index 0000000..3f9c7aa --- /dev/null +++ b/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in @@ -0,0 +1,3 @@ +Defaults node +defaults.ctl.card %card%; +defaults.pcm.card %card%; diff --git a/archiso/bootstrap_packages.x86_64 b/archiso/bootstrap_packages.x86_64 new file mode 100644 index 0000000..64966d0 --- /dev/null +++ b/archiso/bootstrap_packages.x86_64 @@ -0,0 +1,2 @@ +arch-install-scripts +base diff --git a/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf similarity index 69% rename from efiboot/loader/entries/01-archiso-x86_64-linux.conf rename to archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf index f53a330..4f18fb9 100644 --- a/efiboot/loader/entries/01-archiso-x86_64-linux.conf +++ b/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -3,4 +3,4 @@ linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -options archisobasedir=%INSTALL_DIR% cow_spacesize=10G archisolabel=%ARCHISO_LABEL% i915.modeset=1 radeon.modeset=1 nvidia.blacklist=yes modprobe.blacklist=nvidia nouveau.modeset=1 nouveau +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G i915.modeset=1 radeon.modeset=1 nvidia.blacklist=yes modprobe.blacklist=nvidia nouveau.modeset=1 nouveau diff --git a/efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf b/archiso/efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf similarity index 70% rename from efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf rename to archiso/efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf index 1d76b9f..597618f 100644 --- a/efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf +++ b/archiso/efiboot/loader/entries/02-archiso-x86_64-linux-nv.conf @@ -3,4 +3,4 @@ linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -options archisobasedir=%INSTALL_DIR% cow_spacesize=10G archisolabel=%ARCHISO_LABEL% nvidia nouveau.modeset=0 nouveau.blacklist=yes modprobe.blacklist=nouveau i915.modeset=1 radeon.modeset=1 +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G nvidia nouveau.modeset=0 nouveau.blacklist=yes modprobe.blacklist=nouveau i915.modeset=1 radeon.modeset=1 diff --git a/efiboot/loader/loader.conf b/archiso/efiboot/loader/loader.conf similarity index 100% rename from efiboot/loader/loader.conf rename to archiso/efiboot/loader/loader.conf diff --git a/packages.x86_64 b/archiso/packages.x86_64 similarity index 51% rename from packages.x86_64 rename to archiso/packages.x86_64 index d98d744..4fba95b 100644 --- a/packages.x86_64 +++ b/archiso/packages.x86_64 @@ -1,47 +1,224 @@ -#base-system +alsa-utils +amd-ucode +arch-install-scripts +archinstall +b43-fwcutter base -base-devel -linux -linux-headers -linux-firmware -mkinitcpio -mkinitcpio-nfs-utils -cachyos-mirrorlist -cachyos-keyring bind-tools -edk2-shell -rxvt-unicode-terminfo -sudo -systemd-resolvconf +brltty +broadcom-wl +btrfs-progs +clonezilla +cloud-init +crda cryptsetup -device-mapper +darkhttpd +ddrescue +dhclient +dhcpcd diffutils -inetutils +dmraid +dnsmasq +dosfstools +e2fsprogs +edk2-shell +efibootmgr +espeakup +ethtool +exfatprogs +f2fs-tools +fatresize +fsarchiver +gnu-netcat +gpart +gpm +gptfdisk +grml-zsh-config +hdparm +intel-ucode +ipw2100-fw +ipw2200-fw +irssi +iw +iwd +jfsutils +kitty-terminfo less -logrotate +lftp +libfido2 +libusb-compat +linux +linux-atm +linux-firmware +livecd-sounds +lsscsi +lvm2 +lynx man-db man-pages +mc mdadm -nano -tmux -vim -perl -s-nail -sysfsutils -systemd-sysvcompat -texinfo -which -intel-ucode -amd-ucode - -#ISO-specific -mkinitcpio-archiso -syslinux memtest86+ -xcompmgr -arch-install-scripts +mkinitcpio +mkinitcpio-archiso +mkinitcpio-nfs-utils +modemmanager +mtools +nano +nbd +ndisc6 +nfs-utils +nilfs-utils +nmap +ntfs-3g +nvme-cli +openconnect +openssh +openvpn +partclone +parted +partimage +pcsclite +ppp +pptpclient +pv +qemu-guest-agent +reflector +reiserfsprogs +rp-pppoe +rsync +rxvt-unicode-terminfo +screen +sdparm +sg3_utils +smartmontools +sof-firmware +squashfs-tools +sudo +syslinux +systemd-resolvconf +tcpdump +terminus-font +testdisk +tmux +tpm2-tss +udftools +usb_modeswitch +usbmuxd +usbutils +vim +#virtualbox-guest-utils-nox +vpnc +wireless-regdb +wireless_tools +wpa_supplicant +wvdial +xfsprogs +xl2tpd +zsh + + +# everything above comes from archiso releng folder +####################################################### +### ALCI ### +####################################################### + +####################################################### +### PACKAGES THAT ARE REMOVED AFTER INSTALLATION ### +### VIA CALAMARES CONFIG ### +####################################################### + +#alci-dwm +#alci-dwm-nemesis +#alci-calamares +cachyos-calamares +#alci-calamares-dev +#alci-calamares-config +cachyos-calamares-config +#alci-calamares-config-btrfs +#alci-calamares-config-dev +#alci-calamares-config-lts +#alci-calamares-config-pure +#alci-calamares-config-zen + +####################################################### +### PACKAGES THAT STAY AFTER INSTALLATION ### +####################################################### + +#sddm +bash-completion +grub +os-prober +dex +libxinerama +make +xorg-xinit +xorg-xkill +xorg-xrandr +xorg-xinput +xorg-xrdb +mkinitcpio-openswap +alacritty + +#network +netctl +net-tools +networkmanager +nss-mdns +whois + + +#live-iso-tools +gparted +grsync +glances +python-defusedxml +inxi +downgrade +pcurses +tldr + +#welcome-app +gtkmm3 +fmt +cachyos-hello + +#calamares +qt5-xmlpatterns +doxygen +tcpdump +dmidecode +kparts +polkit-qt5 +python +solid +qt5-tools + +####################################################### +### EXTRAS ### +####################################################### + +##### xorg applications + +xorg-server +xorg-apps +neofetch + + +# zfs support(not working) +#zfs-dkms +#zfs-utils + +wget + +##### Drivers for graphical cards + +#driver for virtualbox - xf86-video-vmware is dependency +#systemctl enable vboxservice +#systemctl start vboxservice +#to have fullscreen +virtualbox-guest-utils -#x-system xf86-video-vesa xorg-server xorg-xinit @@ -49,86 +226,37 @@ xorg-xkill xorg-xrandr xorg-xinput mesa -xf86-input-libinput xf86-video-amdgpu -xf86-video-ati -xf86-video-fbdev xf86-video-intel nvidia-dkms nvidia-utils -#filesystem -btrfs-progs -dosfstools -f2fs-tools -xfsprogs -e2fsprogs -lvm2 -lynx -mtools -ntfs-3g -reiserfsprogs -jfsutils -nvme-cli -exfatprogs -nfs-utils -nilfs-utils -gvfs -gvfs-afc -gvfs-gphoto2 -gvfs-mtp -gvfs-nfs -gvfs-smb -# zfs support -zfs-dkms -zfs-utils +##### lightdm display manager -#general-system -mlocate -mc -crda -dialog -dmraid -fakeroot -gptfdisk -haveged -hwdetect -hwinfo -ntp -expect -git -pkgfile -reflector -tlp -unrar -unzip -wget -xdg-user-dirs-gtk -xz -gpm -poppler-glib -libgsf -libopenraw -freetype2 -gpart -gspell -pacman-contrib -rebuild-detector +#lightdm +#lightdm-gtk-greeter -#general-hardware -lsscsi -sdparm -sg3_utils -smartmontools -usbutils +##### sddm display manager -#DM -lightdm-gtk-greeter -lightdm-gtk-greeter-settings -accountsservice +#sddm + +##### gdm display manager + +#gdm + +##### want to have base-devel group + +base-devel + +##### want to have linux-headers + +linux-headers + + + +##### want to have a desktop -#plasma-desktop plasma-browser-integration plasma-desktop plasma-firewall @@ -139,13 +267,13 @@ plasma-pa plasma-systemmonitor plasma-thunderbolt plasma-workspace +discover +packagekit-qt5 xed parole ristretto dolphin dolphin-plugins -alacritty -neofetch capitaine-cursors gtk-engine-murrine gnome-themes-extra @@ -157,18 +285,7 @@ galculator cachy-browser kvantum-qt5 qt5ct - -#fonts -ttf-dejavu -ttf-liberation -ttf-bitstream-vera -cantarell-fonts -noto-fonts -adobe-source-han-sans-jp-fonts -adobe-source-han-sans-kr-fonts -adobe-source-han-sans-cn-fonts -opendesktop-fonts -ttf-opensans +neofetch #audio alsa-utils @@ -186,118 +303,43 @@ gst-plugins-bad gst-plugins-ugly gst-plugin-pipewire -#boot -grub -efibootmgr +cachyos-mirrorlist +cachyos-keyring + +#fonts +ttf-dejavu +ttf-liberation +ttf-bitstream-vera +cantarell-fonts +noto-fonts +adobe-source-han-sans-jp-fonts +adobe-source-han-sans-kr-fonts +adobe-source-han-sans-cn-fonts +opendesktop-fonts +ttf-opensans + efitools -os-prober -refind -#net-hardware -b43-fwcutter -broadcom-wl-dkms -dnsutils -ipw2100-fw -ipw2200-fw -linux-atm -r8168 - -#network -nbd -nmap -modemmanager -netctl -net-tools -networkmanager -nss-mdns -usb_modeswitch -whois -wireless_tools -dhclient -dnsmasq -elinks -ethtool -openconnect -openssh -openvpn -rp-pppoe -wireless-regdb -wpa_supplicant -wvdial -gnu-netcat -iwd -ndisc6 -ppp -pptpclient -vpnc -xl2tpd - -#live-iso-tools -gparted -grsync -clonezilla -hdparm -fsarchiver -glances -python-defusedxml -inxi -bash-completion -downgrade -pcurses -tldr - -#calamares -lsb-release -libpwquality -cmake -qt5-svg -qt5-webengine -yaml-cpp -extra-cmake-modules -boost-libs -upower -kcoreaddons -kconfig -ki18n -kservice -kwidgetsaddons -kpmcore -parted -squashfs-tools -qt5-xmlpatterns -doxygen -tcpdump -dmidecode -kparts -polkit-qt5 -python -solid -qt5-tools -calamares -calamares-branding-cachyos - -#welcome-app -gtkmm3 -fmt -#cachyos-hello - -#cachyos-repo -#rate-mirrors-bin -mkinitcpio-openswap -ckbcomp -#cachyos-grub-theme -#cachyos-nord-kde-theme-git cachyos-settings -cachyos-theming +# cachyos-theming broken +char-white +cachyos-nord-kde-theme-git +cachyos-emerald-kde-theme-git paru yad meld #keyserver-rank-cachy reflector-simple + #vm-support -qemu-guest-agent -virtualbox-guest-utils open-vm-tools xf86-input-vmmouse xf86-video-vmware + +##### want to add/use your local repo packages +##### create your packages and put them in the local repo + +timeshift +#grub-btrfs +#timeshift-autosnap diff --git a/packages_xfce.x86_64 b/archiso/packages_xfce.x86_64 similarity index 100% rename from packages_xfce.x86_64 rename to archiso/packages_xfce.x86_64 diff --git a/pacman.conf b/archiso/pacman.conf similarity index 95% rename from pacman.conf rename to archiso/pacman.conf index a78c1c2..7acc6ce 100644 --- a/pacman.conf +++ b/archiso/pacman.conf @@ -2,8 +2,6 @@ # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives -# -# SPDX-License-Identifier: GPL-3.0-or-later # # GENERAL OPTIONS @@ -74,8 +72,10 @@ LocalFileSigLevel = Optional # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. -#[testing] -#Include = /etc/pacman.d/mirrorlist +#Your local repository +#[alci_local_repo] +#SigLevel = Optional TrustedOnly +#Server = file:///home/vl/$repo/$arch [cachyos-desktop] SigLevel = Optional TrustAll @@ -87,6 +87,9 @@ SigLevel = Optional TrustAll Server = https://mirror.cachyos.org/repo/$arch/$repo #Include = /etc/pacman.d/cachyos-mirrorlist +#[testing] +#Include = /etc/pacman.d/mirrorlist + [core] Include = /etc/pacman.d/mirrorlist @@ -109,8 +112,7 @@ Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist #[chaotic-aur] -#SigLevel = Optional TrustAll -#Server = https://geo-mirror.chaotic.cx/$repo/$arch +#Include = /etc/pacman.d/chaotic-mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. diff --git a/profiledef.sh b/archiso/profiledef.sh similarity index 66% rename from profiledef.sh rename to archiso/profiledef.sh index 09c912b..bb3f31f 100644 --- a/profiledef.sh +++ b/archiso/profiledef.sh @@ -8,9 +8,6 @@ iso_application="CachyOS Live/Rescue CD" iso_version="$(date +%Y.%m.%d)" install_dir="arch" buildmodes=('iso') -quiet="n" -work_dir=work -out_dir=out bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') arch="x86_64" pacman_conf="pacman.conf" @@ -18,8 +15,14 @@ airootfs_image_type="squashfs" airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') file_permissions=( ["/etc/shadow"]="0:0:400" - ["/etc/gshadow"]="0:0:400" ["/root"]="0:0:750" - ["/root/.automated_script.sh"]="0:0:755" + ["/etc/polkit-1/rules.d"]="0:0:750" ["/etc/sudoers.d"]="0:0:750" + ["/root/.automated_script.sh"]="0:0:755" + ["/usr/local/bin/choose-mirror"]="0:0:755" + ["/usr/local/bin/Installation_guide"]="0:0:755" + ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/usr/local/bin/alci-displaymanager-check"]="0:0:755" + ["/usr/local/bin/calamares-offline.sh"]="0:0:755" + ["/usr/local/bin/calamares-online.sh"]="0:0:755" ) diff --git a/syslinux/archiso_head.cfg b/archiso/syslinux/archiso_head.cfg similarity index 100% rename from syslinux/archiso_head.cfg rename to archiso/syslinux/archiso_head.cfg diff --git a/syslinux/archiso_pxe-linux.cfg b/archiso/syslinux/archiso_pxe-linux.cfg similarity index 96% rename from syslinux/archiso_pxe-linux.cfg rename to archiso/syslinux/archiso_pxe-linux.cfg index 4217e13..66bbd0d 100644 --- a/syslinux/archiso_pxe-linux.cfg +++ b/archiso/syslinux/archiso_pxe-linux.cfg @@ -1,4 +1,4 @@ -LABEL cachyos_nbd +LABEL arch64_nbd TEXT HELP Boot the CachyOS install medium using NBD. It allows you to install CachyOS or perform system maintenance. @@ -9,7 +9,7 @@ INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%I APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} checksum verify SYSAPPEND 3 -LABEL cachyos_nfs +LABEL arch64_nfs TEXT HELP Boot the CachyOS live medium using NFS. It allows you to install CachyOS or perform system maintenance. @@ -20,7 +20,7 @@ INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%I APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt checksum verify SYSAPPEND 3 -LABEL cachyos_http +LABEL arch64_http TEXT HELP Boot the CachyOS live medium using HTTP. It allows you to install CachyOS or perform system maintenance. diff --git a/syslinux/archiso_pxe.cfg b/archiso/syslinux/archiso_pxe.cfg similarity index 100% rename from syslinux/archiso_pxe.cfg rename to archiso/syslinux/archiso_pxe.cfg diff --git a/syslinux/archiso_sys-linux.cfg b/archiso/syslinux/archiso_sys-linux.cfg similarity index 71% rename from syslinux/archiso_sys-linux.cfg rename to archiso/syslinux/archiso_sys-linux.cfg index 2de5948..5fbc13d 100644 --- a/syslinux/archiso_sys-linux.cfg +++ b/archiso/syslinux/archiso_sys-linux.cfg @@ -1,7 +1,4 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - -LABEL cachyos +LABEL arch64 TEXT HELP Boot the CachyOS install medium on BIOS. It allows you to install CachyOS or perform system maintenance. @@ -9,10 +6,10 @@ ENDTEXT MENU LABEL CachyOS default (x86_64, BIOS) LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -APPEND archisobasedir=%INSTALL_DIR% cow_spacesize=10G archisolabel=%ARCHISO_LABEL% nouveau.modeset=1 nouveau i915.modeset=1 radeon.modeset=1 modprobe.blacklist=nvidia +APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G nouveau.modeset=1 nouveau i915.modeset=1 radeon.modeset=1 modprobe.blacklist=nvidia # Nvidia propritary (Non-Free) -LABEL cachyos-nvidia +LABEL arch64-nvidia TEXT HELP Boot the CachyOS install medium on Bios NVIDIA-NONFREE driver LATEST-CARDS NO-LEGACY It allows you to install CachyOS or perform system maintenance. @@ -20,4 +17,4 @@ ENDTEXT MENU LABEL CachyOS NVIDIA (latest cards, x86_64, BIOS) LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -APPEND archisobasedir=%INSTALL_DIR% cow_spacesize=10G archisolabel=%ARCHISO_LABEL% nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1 +APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1 diff --git a/syslinux/archiso_sys.cfg b/archiso/syslinux/archiso_sys.cfg similarity index 85% rename from syslinux/archiso_sys.cfg rename to archiso/syslinux/archiso_sys.cfg index f21dd28..d93bcfe 100644 --- a/syslinux/archiso_sys.cfg +++ b/archiso/syslinux/archiso_sys.cfg @@ -1,6 +1,6 @@ INCLUDE archiso_head.cfg -DEFAULT cachyos +DEFAULT arch64 TIMEOUT 150 INCLUDE archiso_sys-linux.cfg diff --git a/syslinux/archiso_tail.cfg b/archiso/syslinux/archiso_tail.cfg similarity index 100% rename from syslinux/archiso_tail.cfg rename to archiso/syslinux/archiso_tail.cfg diff --git a/syslinux/splash.png b/archiso/syslinux/splash.png similarity index 100% rename from syslinux/splash.png rename to archiso/syslinux/splash.png diff --git a/syslinux/syslinux.cfg b/archiso/syslinux/syslinux.cfg similarity index 100% rename from syslinux/syslinux.cfg rename to archiso/syslinux/syslinux.cfg diff --git a/fix_permissions.sh b/fix_permissions.sh deleted file mode 100755 index 8684135..0000000 --- a/fix_permissions.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# For all folders -find ./airootfs -type d -exec chmod -R 755 {} \; -chown root:root -R ./airootfs -chmod 700 ./airootfs/root -chmod -R 700 airootfs/etc/sudoers.d -chmod 444 ./airootfs/etc/sudoers.d/g_wheel -chmod +x ./{mkarchiso,run_before_squashfs.sh} - - diff --git a/mirrorlist b/mirrorlist deleted file mode 100755 index 93cd03d..0000000 --- a/mirrorlist +++ /dev/null @@ -1,76 +0,0 @@ -########################################## -### This mirrorlist is only a fallback ### -########################################## -### Note that the mirrors were not ranked, so you may get better mirrorlist -### by ranking with e.g. program 'reflector-simple'. - -## Germany & United States - -Server = http://mirror.f4st.host/archlinux/$repo/os/$arch -Server = https://mirror.f4st.host/archlinux/$repo/os/$arch - -Server = http://arch.mirror.constant.com/$repo/os/$arch -Server = https://arch.mirror.constant.com/$repo/os/$arch - -Server = https://mirror.pseudoform.org/$repo/os/$arch - -Server = http://mirror.lty.me/archlinux/$repo/os/$arch -Server = https://mirror.lty.me/archlinux/$repo/os/$arch - -Server = https://mirror.pkgbuild.com/$repo/os/$arch - -Server = http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch -Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch - -Server = http://archlinux.thaller.ws/$repo/os/$arch -Server = https://archlinux.thaller.ws/$repo/os/$arch - -Server = https://america.mirror.pkgbuild.com/$repo/os/$arch - -Server = http://mirror.wtnet.de/arch/$repo/os/$arch -Server = https://mirror.wtnet.de/arch/$repo/os/$arch - -Server = http://arlm.tyzoid.com/$repo/os/$arch -Server = https://arlm.tyzoid.com/$repo/os/$arch - -Server = http://phinau.de/arch/$repo/os/$arch -Server = https://phinau.de/arch/$repo/os/$arch - -Server = http://arch.hu.fo/archlinux/$repo/os/$arch -Server = https://arch.hu.fo/archlinux/$repo/os/$arch - -Server = http://mirror.chaoticum.net/arch/$repo/os/$arch -Server = https://mirror.chaoticum.net/arch/$repo/os/$arch - -Server = http://archmirror1.octyl.net/$repo/os/$arch -Server = https://archmirror1.octyl.net/$repo/os/$arch - -Server = http://arch.jensgutermuth.de/$repo/os/$arch -Server = https://arch.jensgutermuth.de/$repo/os/$arch - -Server = http://mirror.hackingand.coffee/arch/$repo/os/$arch -Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch - -Server = http://arch.mirror.zachlge.org/$repo/os/$arch -Server = https://arch.mirror.zachlge.org/$repo/os/$arch - -Server = http://mirror.arizona.edu/archlinux/$repo/os/$arch -Server = https://mirror.arizona.edu/archlinux/$repo/os/$arch - -Server = http://mirror.mikrogravitation.org/archlinux/$repo/os/$arch -Server = https://mirror.mikrogravitation.org/archlinux/$repo/os/$arch - -Server = http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch -Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch - -Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch -Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch -Server = https://mirror.bethselamin.de/$repo/os/$arch -Server = http://mirror.23m.com/archlinux/$repo/os/$arch -Server = https://mirror.23m.com/archlinux/$repo/os/$arch -Server = http://mirror.moson.org/arch/$repo/os/$arch -Server = https://mirror.moson.org/arch/$repo/os/$arch -Server = http://mirror.ubrco.de/archlinux/$repo/os/$arch -Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch -Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch -Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch diff --git a/mkarchiso b/mkarchiso deleted file mode 100755 index 00d0999..0000000 --- a/mkarchiso +++ /dev/null @@ -1,1332 +0,0 @@ -#!/usr/bin/env bash -# -# SPDX-License-Identifier: GPL-3.0-or-later - -set -e -u - -# Control the environment -umask 0022 -export LC_ALL="C" -export SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-"$(date +%s)"}" - -# Set application name from the script's file name -app_name="${0##*/}" - -# Define global variables. All of them will be overwritten later -pkg_list=() -bootstrap_pkg_list=() -quiet="" -work_dir="" -out_dir="" -gpg_key="" -gpg_sender="" -iso_name="" -iso_label="" -iso_publisher="" -iso_application="" -iso_version="" -install_dir="" -arch="" -pacman_conf="" -packages="" -bootstrap_packages="" -pacstrap_dir="" -buildmodes=() -bootmodes=() -airootfs_image_type="" -airootfs_image_tool_options=() -cert_list=() -sign_netboot_artifacts="" -declare -A file_permissions=() -# adapted from GRUB_EARLY_INITRD_LINUX_STOCK in https://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkconfig.in -readonly ucodes=('intel-uc.img' 'intel-ucode.img' 'amd-uc.img' 'amd-ucode.img' 'early_ucode.cpio' 'microcode.cpio') - -script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )" -# executed inside _mkairootfs_sfs right before squashfs -RUN_BEFORE_SQUASHFS=$script_path/run_before_squashfs.sh - -# Show an INFO message -# $1: message string -_msg_info() { - local _msg="${1}" - [[ "${quiet}" == "y" ]] || printf '[%s] INFO: %s\n' "${app_name}" "${_msg}" -} - -# Show a WARNING message -# $1: message string -_msg_warning() { - local _msg="${1}" - printf '[%s] WARNING: %s\n' "${app_name}" "${_msg}" >&2 -} - -# Show an ERROR message then exit with status -# $1: message string -# $2: exit code number (with 0 does not exit) -_msg_error() { - local _msg="${1}" - local _error=${2} - printf '[%s] ERROR: %s\n' "${app_name}" "${_msg}" >&2 - if (( _error > 0 )); then - exit "${_error}" - fi -} - -# Show help usage, with an exit status. -# $1: exit status number. -_usage() { - IFS='' read -r -d '' usagetext < - options: - -A Set an application name for the ISO - Default: '${iso_application}' - -C pacman configuration file. - Default: '${pacman_conf}' - -D Set an install_dir. All files will by located here. - Default: '${install_dir}' - NOTE: Max 8 characters, use only [a-z0-9] - -L