diff --git a/README.md b/README.md index da71011..2b74e4f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +# Kimberly GNU/Linux + +Build Scripts for Kimberly GNU/Linux + # ALCI STABLE # Arch Linux Calamares Installer or ALCI diff --git a/1-get-all-alci-gits-v1.sh b/elda/1-get-all-alci-gits-v1.sh similarity index 100% rename from 1-get-all-alci-gits-v1.sh rename to elda/1-get-all-alci-gits-v1.sh diff --git a/archiso/airootfs/etc/default/grub b/elda/archiso/airootfs/etc/default/grub similarity index 100% rename from archiso/airootfs/etc/default/grub rename to elda/archiso/airootfs/etc/default/grub diff --git a/archiso/airootfs/etc/group b/elda/archiso/airootfs/etc/group similarity index 100% rename from archiso/airootfs/etc/group rename to elda/archiso/airootfs/etc/group diff --git a/archiso/airootfs/etc/gshadow b/elda/archiso/airootfs/etc/gshadow similarity index 100% rename from archiso/airootfs/etc/gshadow rename to elda/archiso/airootfs/etc/gshadow diff --git a/archiso/airootfs/etc/hostname b/elda/archiso/airootfs/etc/hostname similarity index 100% rename from archiso/airootfs/etc/hostname rename to elda/archiso/airootfs/etc/hostname diff --git a/archiso/airootfs/etc/locale.conf b/elda/archiso/airootfs/etc/locale.conf similarity index 100% rename from archiso/airootfs/etc/locale.conf rename to elda/archiso/airootfs/etc/locale.conf diff --git a/archiso/airootfs/etc/localtime b/elda/archiso/airootfs/etc/localtime similarity index 100% rename from archiso/airootfs/etc/localtime rename to elda/archiso/airootfs/etc/localtime diff --git a/archiso/airootfs/etc/mkinitcpio.conf b/elda/archiso/airootfs/etc/mkinitcpio.conf similarity index 100% rename from archiso/airootfs/etc/mkinitcpio.conf rename to elda/archiso/airootfs/etc/mkinitcpio.conf diff --git a/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/elda/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf similarity index 100% rename from archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf rename to elda/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf diff --git a/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/elda/archiso/airootfs/etc/mkinitcpio.d/linux.preset similarity index 100% rename from archiso/airootfs/etc/mkinitcpio.d/linux.preset rename to elda/archiso/airootfs/etc/mkinitcpio.d/linux.preset diff --git a/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf b/elda/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf similarity index 100% rename from archiso/airootfs/etc/modprobe.d/broadcom-wl.conf rename to elda/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf diff --git a/archiso/airootfs/etc/motd b/elda/archiso/airootfs/etc/motd similarity index 100% rename from archiso/airootfs/etc/motd rename to elda/archiso/airootfs/etc/motd diff --git a/archiso/airootfs/etc/pacman-more.conf b/elda/archiso/airootfs/etc/pacman-more.conf similarity index 100% rename from archiso/airootfs/etc/pacman-more.conf rename to elda/archiso/airootfs/etc/pacman-more.conf diff --git a/archiso/airootfs/etc/pacman.conf b/elda/archiso/airootfs/etc/pacman.conf similarity index 100% rename from archiso/airootfs/etc/pacman.conf rename to elda/archiso/airootfs/etc/pacman.conf diff --git a/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf b/elda/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf similarity index 100% rename from archiso/airootfs/etc/pacman.d/gnupg/gpg.conf rename to elda/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf diff --git a/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/elda/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook similarity index 100% rename from archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook rename to elda/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook diff --git a/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/elda/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook similarity index 100% rename from archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook rename to elda/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook diff --git a/archiso/airootfs/etc/pacman.d/mirrorlist b/elda/archiso/airootfs/etc/pacman.d/mirrorlist similarity index 100% rename from archiso/airootfs/etc/pacman.d/mirrorlist rename to elda/archiso/airootfs/etc/pacman.d/mirrorlist diff --git a/archiso/airootfs/etc/passwd b/elda/archiso/airootfs/etc/passwd similarity index 100% rename from archiso/airootfs/etc/passwd rename to elda/archiso/airootfs/etc/passwd diff --git a/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/elda/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules similarity index 100% rename from archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules rename to elda/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules diff --git a/archiso/airootfs/etc/resolv.conf b/elda/archiso/airootfs/etc/resolv.conf similarity index 100% rename from archiso/airootfs/etc/resolv.conf rename to elda/archiso/airootfs/etc/resolv.conf diff --git a/archiso/airootfs/etc/sddm.conf b/elda/archiso/airootfs/etc/sddm.conf similarity index 100% rename from archiso/airootfs/etc/sddm.conf rename to elda/archiso/airootfs/etc/sddm.conf diff --git a/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf b/elda/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf similarity index 100% rename from archiso/airootfs/etc/sddm.conf.d/kde_settings.conf rename to elda/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf diff --git a/archiso/airootfs/etc/shadow b/elda/archiso/airootfs/etc/shadow similarity index 100% rename from archiso/airootfs/etc/shadow rename to elda/archiso/airootfs/etc/shadow diff --git a/archiso/airootfs/etc/skel/.Xresources b/elda/archiso/airootfs/etc/skel/.Xresources similarity index 100% rename from archiso/airootfs/etc/skel/.Xresources rename to elda/archiso/airootfs/etc/skel/.Xresources diff --git a/archiso/airootfs/etc/skel/.bashrc b/elda/archiso/airootfs/etc/skel/.bashrc similarity index 100% rename from archiso/airootfs/etc/skel/.bashrc rename to elda/archiso/airootfs/etc/skel/.bashrc diff --git a/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf b/elda/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf similarity index 100% rename from archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf rename to elda/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf diff --git a/archiso/airootfs/etc/sudoers.d/g_wheel b/elda/archiso/airootfs/etc/sudoers.d/g_wheel similarity index 100% rename from archiso/airootfs/etc/sudoers.d/g_wheel rename to elda/archiso/airootfs/etc/sudoers.d/g_wheel diff --git a/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/elda/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf similarity index 100% rename from archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf rename to elda/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf diff --git a/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/elda/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf similarity index 100% rename from archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf rename to elda/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf diff --git a/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf b/elda/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf similarity index 100% rename from archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf rename to elda/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf diff --git a/archiso/airootfs/etc/systemd/network/20-ethernet.network b/elda/archiso/airootfs/etc/systemd/network/20-ethernet.network similarity index 100% rename from archiso/airootfs/etc/systemd/network/20-ethernet.network rename to elda/archiso/airootfs/etc/systemd/network/20-ethernet.network diff --git a/archiso/airootfs/etc/systemd/network/20-wlan.network b/elda/archiso/airootfs/etc/systemd/network/20-wlan.network similarity index 100% rename from archiso/airootfs/etc/systemd/network/20-wlan.network rename to elda/archiso/airootfs/etc/systemd/network/20-wlan.network diff --git a/archiso/airootfs/etc/systemd/network/20-wwan.network b/elda/archiso/airootfs/etc/systemd/network/20-wwan.network similarity index 100% rename from archiso/airootfs/etc/systemd/network/20-wwan.network rename to elda/archiso/airootfs/etc/systemd/network/20-wwan.network diff --git a/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf b/elda/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf similarity index 100% rename from archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf rename to elda/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf diff --git a/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/elda/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator similarity index 100% rename from archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator rename to elda/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator diff --git a/archiso/airootfs/etc/systemd/system/choose-mirror.service b/elda/archiso/airootfs/etc/systemd/system/choose-mirror.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/choose-mirror.service rename to elda/archiso/airootfs/etc/systemd/system/choose-mirror.service diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service rename to elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service rename to elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service rename to elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service b/elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service rename to elda/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service rename to elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service rename to elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service rename to elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service rename to elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service b/elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service rename to elda/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service diff --git a/archiso/airootfs/etc/systemd/system/default.target b/elda/archiso/airootfs/etc/systemd/system/default.target similarity index 100% rename from archiso/airootfs/etc/systemd/system/default.target rename to elda/archiso/airootfs/etc/systemd/system/default.target diff --git a/archiso/airootfs/etc/systemd/system/display-manager.service b/elda/archiso/airootfs/etc/systemd/system/display-manager.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/display-manager.service rename to elda/archiso/airootfs/etc/systemd/system/display-manager.service diff --git a/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/elda/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount similarity index 100% rename from archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount rename to elda/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount diff --git a/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/elda/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf similarity index 100% rename from archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf rename to elda/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf diff --git a/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/elda/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service rename to elda/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service diff --git a/archiso/airootfs/etc/systemd/system/livecd-talk.service b/elda/archiso/airootfs/etc/systemd/system/livecd-talk.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/livecd-talk.service rename to elda/archiso/airootfs/etc/systemd/system/livecd-talk.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service rename to elda/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/elda/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service rename to elda/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/elda/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service rename to elda/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service diff --git a/archiso/airootfs/etc/systemd/system/pacman-init.service b/elda/archiso/airootfs/etc/systemd/system/pacman-init.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/pacman-init.service rename to elda/archiso/airootfs/etc/systemd/system/pacman-init.service diff --git a/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/elda/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf similarity index 100% rename from archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf rename to elda/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/elda/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket similarity index 100% rename from archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket rename to elda/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/elda/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket similarity index 100% rename from archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket rename to elda/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket diff --git a/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/elda/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service rename to elda/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service diff --git a/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/elda/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service rename to elda/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service diff --git a/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/elda/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service similarity index 100% rename from archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service rename to elda/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service diff --git a/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/elda/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf similarity index 100% rename from archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf rename to elda/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf diff --git a/archiso/airootfs/etc/xdg/reflector/reflector.conf b/elda/archiso/airootfs/etc/xdg/reflector/reflector.conf similarity index 100% rename from archiso/airootfs/etc/xdg/reflector/reflector.conf rename to elda/archiso/airootfs/etc/xdg/reflector/reflector.conf diff --git a/archiso/airootfs/root/.automated_script.sh b/elda/archiso/airootfs/root/.automated_script.sh similarity index 100% rename from archiso/airootfs/root/.automated_script.sh rename to elda/archiso/airootfs/root/.automated_script.sh diff --git a/archiso/airootfs/root/.gnupg/scdaemon.conf b/elda/archiso/airootfs/root/.gnupg/scdaemon.conf similarity index 100% rename from archiso/airootfs/root/.gnupg/scdaemon.conf rename to elda/archiso/airootfs/root/.gnupg/scdaemon.conf diff --git a/archiso/airootfs/root/.zlogin b/elda/archiso/airootfs/root/.zlogin similarity index 100% rename from archiso/airootfs/root/.zlogin rename to elda/archiso/airootfs/root/.zlogin diff --git a/archiso/airootfs/usr/local/bin/Installation_guide b/elda/archiso/airootfs/usr/local/bin/Installation_guide similarity index 100% rename from archiso/airootfs/usr/local/bin/Installation_guide rename to elda/archiso/airootfs/usr/local/bin/Installation_guide diff --git a/archiso/airootfs/usr/local/bin/alci-displaymanager-check b/elda/archiso/airootfs/usr/local/bin/alci-displaymanager-check similarity index 100% rename from archiso/airootfs/usr/local/bin/alci-displaymanager-check rename to elda/archiso/airootfs/usr/local/bin/alci-displaymanager-check diff --git a/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch b/elda/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch similarity index 100% rename from archiso/airootfs/usr/local/bin/alci-make-a-pure-arch rename to elda/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch diff --git a/archiso/airootfs/usr/local/bin/choose-mirror b/elda/archiso/airootfs/usr/local/bin/choose-mirror similarity index 100% rename from archiso/airootfs/usr/local/bin/choose-mirror rename to elda/archiso/airootfs/usr/local/bin/choose-mirror diff --git a/archiso/airootfs/usr/local/bin/fix-key b/elda/archiso/airootfs/usr/local/bin/fix-key similarity index 100% rename from archiso/airootfs/usr/local/bin/fix-key rename to elda/archiso/airootfs/usr/local/bin/fix-key diff --git a/archiso/airootfs/usr/local/bin/fix-keys b/elda/archiso/airootfs/usr/local/bin/fix-keys similarity index 100% rename from archiso/airootfs/usr/local/bin/fix-keys rename to elda/archiso/airootfs/usr/local/bin/fix-keys diff --git a/archiso/airootfs/usr/local/bin/fixkey b/elda/archiso/airootfs/usr/local/bin/fixkey similarity index 100% rename from archiso/airootfs/usr/local/bin/fixkey rename to elda/archiso/airootfs/usr/local/bin/fixkey diff --git a/archiso/airootfs/usr/local/bin/fixkeys b/elda/archiso/airootfs/usr/local/bin/fixkeys similarity index 100% rename from archiso/airootfs/usr/local/bin/fixkeys rename to elda/archiso/airootfs/usr/local/bin/fixkeys diff --git a/archiso/airootfs/usr/local/bin/get-chadwm b/elda/archiso/airootfs/usr/local/bin/get-chadwm similarity index 100% rename from archiso/airootfs/usr/local/bin/get-chadwm rename to elda/archiso/airootfs/usr/local/bin/get-chadwm diff --git a/archiso/airootfs/usr/local/bin/get-nemesis-on-alci b/elda/archiso/airootfs/usr/local/bin/get-nemesis-on-alci similarity index 100% rename from archiso/airootfs/usr/local/bin/get-nemesis-on-alci rename to elda/archiso/airootfs/usr/local/bin/get-nemesis-on-alci diff --git a/archiso/airootfs/usr/local/bin/livecd-sound b/elda/archiso/airootfs/usr/local/bin/livecd-sound similarity index 100% rename from archiso/airootfs/usr/local/bin/livecd-sound rename to elda/archiso/airootfs/usr/local/bin/livecd-sound diff --git a/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in b/elda/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in similarity index 100% rename from archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in rename to elda/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in diff --git a/archiso/bootstrap_packages.x86_64 b/elda/archiso/bootstrap_packages.x86_64 similarity index 100% rename from archiso/bootstrap_packages.x86_64 rename to elda/archiso/bootstrap_packages.x86_64 diff --git a/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/elda/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf similarity index 100% rename from archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf rename to elda/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf diff --git a/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf b/elda/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf similarity index 100% rename from archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf rename to elda/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf diff --git a/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf b/elda/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf similarity index 100% rename from archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf rename to elda/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf diff --git a/archiso/efiboot/loader/loader.conf b/elda/archiso/efiboot/loader/loader.conf similarity index 100% rename from archiso/efiboot/loader/loader.conf rename to elda/archiso/efiboot/loader/loader.conf diff --git a/archiso/grub/grub.cfg b/elda/archiso/grub/grub.cfg similarity index 100% rename from archiso/grub/grub.cfg rename to elda/archiso/grub/grub.cfg diff --git a/archiso/grub/loopback.cfg b/elda/archiso/grub/loopback.cfg similarity index 100% rename from archiso/grub/loopback.cfg rename to elda/archiso/grub/loopback.cfg diff --git a/archiso/packages.x86_64 b/elda/archiso/packages.x86_64 similarity index 100% rename from archiso/packages.x86_64 rename to elda/archiso/packages.x86_64 diff --git a/archiso/pacman.conf b/elda/archiso/pacman.conf similarity index 100% rename from archiso/pacman.conf rename to elda/archiso/pacman.conf diff --git a/archiso/profiledef.sh b/elda/archiso/profiledef.sh similarity index 100% rename from archiso/profiledef.sh rename to elda/archiso/profiledef.sh diff --git a/archiso/syslinux/archiso_head.cfg b/elda/archiso/syslinux/archiso_head.cfg similarity index 100% rename from archiso/syslinux/archiso_head.cfg rename to elda/archiso/syslinux/archiso_head.cfg diff --git a/archiso/syslinux/archiso_pxe-linux.cfg b/elda/archiso/syslinux/archiso_pxe-linux.cfg similarity index 100% rename from archiso/syslinux/archiso_pxe-linux.cfg rename to elda/archiso/syslinux/archiso_pxe-linux.cfg diff --git a/archiso/syslinux/archiso_pxe.cfg b/elda/archiso/syslinux/archiso_pxe.cfg similarity index 100% rename from archiso/syslinux/archiso_pxe.cfg rename to elda/archiso/syslinux/archiso_pxe.cfg diff --git a/archiso/syslinux/archiso_sys-linux.cfg b/elda/archiso/syslinux/archiso_sys-linux.cfg similarity index 100% rename from archiso/syslinux/archiso_sys-linux.cfg rename to elda/archiso/syslinux/archiso_sys-linux.cfg diff --git a/archiso/syslinux/archiso_sys.cfg b/elda/archiso/syslinux/archiso_sys.cfg similarity index 100% rename from archiso/syslinux/archiso_sys.cfg rename to elda/archiso/syslinux/archiso_sys.cfg diff --git a/archiso/syslinux/archiso_tail.cfg b/elda/archiso/syslinux/archiso_tail.cfg similarity index 100% rename from archiso/syslinux/archiso_tail.cfg rename to elda/archiso/syslinux/archiso_tail.cfg diff --git a/archiso/syslinux/splash.png b/elda/archiso/syslinux/splash.png similarity index 100% rename from archiso/syslinux/splash.png rename to elda/archiso/syslinux/splash.png diff --git a/archiso/syslinux/syslinux.cfg b/elda/archiso/syslinux/syslinux.cfg similarity index 100% rename from archiso/syslinux/syslinux.cfg rename to elda/archiso/syslinux/syslinux.cfg diff --git a/example-alci_local_repo/update-database.sh b/elda/example-alci_local_repo/update-database.sh similarity index 100% rename from example-alci_local_repo/update-database.sh rename to elda/example-alci_local_repo/update-database.sh diff --git a/example-alci_local_repo/x86_64/alci_local_repo.db b/elda/example-alci_local_repo/x86_64/alci_local_repo.db similarity index 100% rename from example-alci_local_repo/x86_64/alci_local_repo.db rename to elda/example-alci_local_repo/x86_64/alci_local_repo.db diff --git a/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz b/elda/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz similarity index 100% rename from example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz rename to elda/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz diff --git a/example-alci_local_repo/x86_64/alci_local_repo.files b/elda/example-alci_local_repo/x86_64/alci_local_repo.files similarity index 100% rename from example-alci_local_repo/x86_64/alci_local_repo.files rename to elda/example-alci_local_repo/x86_64/alci_local_repo.files diff --git a/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz b/elda/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz similarity index 100% rename from example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz rename to elda/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz diff --git a/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst b/elda/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst similarity index 100% rename from example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst rename to elda/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst diff --git a/example-alci_local_repo/x86_64/update_repo.sh b/elda/example-alci_local_repo/x86_64/update_repo.sh similarity index 100% rename from example-alci_local_repo/x86_64/update_repo.sh rename to elda/example-alci_local_repo/x86_64/update_repo.sh diff --git a/installation-scripts/30-build-the-iso-the-first-time.sh b/elda/installation-scripts/30-build-the-iso-the-first-time.sh similarity index 100% rename from installation-scripts/30-build-the-iso-the-first-time.sh rename to elda/installation-scripts/30-build-the-iso-the-first-time.sh diff --git a/installation-scripts/40-build-the-iso-local-again.sh b/elda/installation-scripts/40-build-the-iso-local-again.sh similarity index 100% rename from installation-scripts/40-build-the-iso-local-again.sh rename to elda/installation-scripts/40-build-the-iso-local-again.sh diff --git a/keys-and-mirrors/1-get-the-keys-and-mirrors.md b/elda/keys-and-mirrors/1-get-the-keys-and-mirrors.md similarity index 100% rename from keys-and-mirrors/1-get-the-keys-and-mirrors.md rename to elda/keys-and-mirrors/1-get-the-keys-and-mirrors.md diff --git a/keys-and-mirrors/2-build-and-install-yay.sh b/elda/keys-and-mirrors/2-build-and-install-yay.sh similarity index 100% rename from keys-and-mirrors/2-build-and-install-yay.sh rename to elda/keys-and-mirrors/2-build-and-install-yay.sh diff --git a/setup-our-git-credentials.sh b/elda/setup-our-git-credentials.sh similarity index 100% rename from setup-our-git-credentials.sh rename to elda/setup-our-git-credentials.sh diff --git a/up+.sh b/elda/up+.sh similarity index 100% rename from up+.sh rename to elda/up+.sh diff --git a/emily/1-get-all-alci-gits-v1.sh b/emily/1-get-all-alci-gits-v1.sh new file mode 100755 index 0000000..96bae9a --- /dev/null +++ b/emily/1-get-all-alci-gits-v1.sh @@ -0,0 +1,52 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +echo "This gets all the existing githubs at once" +echo "Fill the array with the original folders first" + +# use ls -d */ > list to get the list of the created githubs and copy/paste in + +directories=( +alci-calamares-config/ +alci-calamares-config-dev/ +alci-calamares-config-hardened/ +alci-calamares-config-lts/ +alci-calamares-config-pure/ +alci-calamares-config-xanmod/ +alci-calamares-config-zen/ +alci-dwm/ +alci-dwm-nemesis/ +alci-grub-theme/ +alci-iso/ +alci-iso-dev/ +alci-iso-hardened/ +alci-iso-lts/ +alci-iso-pure/ +alci-iso-xanmod/ +alci-iso-zen/ +alci-pkgbuild/ +alci_repo/ +nemesis-wallpapers/ +) + +count=0 + +for name in "${directories[@]}"; do + count=$[count+1] + tput setaf 1;echo "Github "$count;tput sgr0; + # if there is no folder then make one + git clone https://github.com/arch-linux-calamares-installer/$name + echo "#################################################" + echo "################ "$(basename `pwd`)" done" + echo "#################################################" +done diff --git a/emily/archiso/airootfs/etc/default/grub b/emily/archiso/airootfs/etc/default/grub new file mode 100644 index 0000000..889f998 --- /dev/null +++ b/emily/archiso/airootfs/etc/default/grub @@ -0,0 +1,54 @@ +# GRUB boot loader configuration + +GRUB_DEFAULT=0 +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="Arch" +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/emily/archiso/airootfs/etc/group b/emily/archiso/airootfs/etc/group new file mode 100644 index 0000000..2f50b54 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/gshadow b/emily/archiso/airootfs/etc/gshadow new file mode 100644 index 0000000..8bf2275 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/hostname b/emily/archiso/airootfs/etc/hostname new file mode 100644 index 0000000..2dbe21e --- /dev/null +++ b/emily/archiso/airootfs/etc/hostname @@ -0,0 +1 @@ +archiso diff --git a/emily/archiso/airootfs/etc/locale.conf b/emily/archiso/airootfs/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/emily/archiso/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/emily/archiso/airootfs/etc/localtime b/emily/archiso/airootfs/etc/localtime new file mode 120000 index 0000000..0e35b57 --- /dev/null +++ b/emily/archiso/airootfs/etc/localtime @@ -0,0 +1 @@ +/usr/share/zoneinfo/UTC \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/mkinitcpio.conf b/emily/archiso/airootfs/etc/mkinitcpio.conf new file mode 100644 index 0000000..be5c1ac --- /dev/null +++ b/emily/archiso/airootfs/etc/mkinitcpio.conf @@ -0,0 +1,67 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(piix ide_disk reiserfs) +MODULES=() + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=() + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No raid, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect block filesystems) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev block filesystems) +# +## This setup assembles a pata mdadm array with an encrypted root FS. +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. +# HOOKS=(base udev block mdadm encrypt filesystems) +# +## This setup loads an lvm2 volume group on a usb device. +# HOOKS=(base udev block lvm2 filesystems) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr, fsck and shutdown hooks. +HOOKS=(base udev modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs 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="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +#COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" +COMPRESSION="zstd" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() diff --git a/emily/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/emily/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf new file mode 100644 index 0000000..5c008e5 --- /dev/null +++ b/emily/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf @@ -0,0 +1,3 @@ +HOOKS=(base udev microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard) +COMPRESSION="xz" +COMPRESSION_OPTIONS=(-9e) diff --git a/emily/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/emily/archiso/airootfs/etc/mkinitcpio.d/linux.preset new file mode 100644 index 0000000..9f67184 --- /dev/null +++ b/emily/archiso/airootfs/etc/mkinitcpio.d/linux.preset @@ -0,0 +1,8 @@ +# mkinitcpio preset file for the 'linux' package on archiso + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux' +ALL_config='/etc/mkinitcpio.conf' + +archiso_image="/boot/initramfs-linux.img" diff --git a/emily/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf b/emily/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf new file mode 100644 index 0000000..0eae70c --- /dev/null +++ b/emily/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf @@ -0,0 +1,7 @@ +# The broadcom-wl package requires some modules to be disabled in order to use +# wl. Since the ISO image needs to cover many hardware cases, this file +# overrides the default blacklist in /usr/lib/modprobe.d/ +# +# If you need to use wl, you may need to delete this file, then `rmmod` any +# already-loaded modules that are now blacklisted before proceeding to modprobe +# wl itself. diff --git a/emily/archiso/airootfs/etc/motd b/emily/archiso/airootfs/etc/motd new file mode 100644 index 0000000..4d9eda1 --- /dev/null +++ b/emily/archiso/airootfs/etc/motd @@ -0,0 +1,11 @@ +To install Arch Linux follow the installation guide: +https://wiki.archlinux.org/title/Installation_guide + +For Wi-Fi, authenticate to the wireless network using the iwctl utility. +For mobile broadband (WWAN) modems, connect with the mmcli utility. +Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. + +After connecting to the internet, the installation guide can be accessed +via the convenience script Installation_guide. + +                                           diff --git a/emily/archiso/airootfs/etc/pacman-more.conf b/emily/archiso/airootfs/etc/pacman-more.conf new file mode 100644 index 0000000..e76e6df --- /dev/null +++ b/emily/archiso/airootfs/etc/pacman-more.conf @@ -0,0 +1,118 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 5 + +# 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. + +#[arcolinux_repo_testing] +#SigLevel = Required DatabaseOptional +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +#[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 + +# 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/emily/archiso/airootfs/etc/pacman.conf b/emily/archiso/airootfs/etc/pacman.conf new file mode 100644 index 0000000..6161dd7 --- /dev/null +++ b/emily/archiso/airootfs/etc/pacman.conf @@ -0,0 +1,99 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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/emily/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf b/emily/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf new file mode 100644 index 0000000..fa7f15f --- /dev/null +++ b/emily/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf @@ -0,0 +1,13 @@ +no-greeting +no-permission-warning +lock-never +keyserver-options timeout=10 +keyserver-options import-clean +keyserver-options no-self-sigs-only + +keyserver hkp://keyserver.ubuntu.com:80 +#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/emily/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/emily/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/emily/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/pacman.d/mirrorlist b/emily/archiso/airootfs/etc/pacman.d/mirrorlist new file mode 100644 index 0000000..babb09c --- /dev/null +++ b/emily/archiso/airootfs/etc/pacman.d/mirrorlist @@ -0,0 +1,874 @@ +## +## Arch Linux repository mirrorlist +## Generated on 2022-07-01 +## + +# 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 +Server = https://geo.mirror.pkgbuild.com/$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://arch.lucassymons.net/$repo/os/$arch +#Server = https://arch.lucassymons.net/$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 +#Server = http://mirrors.wale.id.au/archlinux/$repo/os/$arch +#Server = https://mirrors.wale.id.au/archlinux/$repo/os/$arch + +## Austria +#Server = http://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = https://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch +#Server = http://mirror.easyname.at/archlinux/$repo/os/$arch +#Server = https://at.arch.mirror.kescher.at/$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://archlinux-br.com.br/archlinux/$repo/os/$arch +#Server = https://archlinux-br.com.br/archlinux/$repo/os/$arch +#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 = https://mirror.darklinux.uk/archlinux/$repo/os/$arch +#Server = http://mirror.host.ag/archlinux/$repo/os/$arch +#Server = http://mirrors.netix.net/archlinux/$repo/os/$arch +#Server = http://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch +#Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch + +## Cambodia +#Server = http://mirror.sabay.com.kh/archlinux/$repo/os/$arch +#Server = https://mirror.sabay.com.kh/archlinux/$repo/os/$arch + +## Canada +#Server = http://mirror.0xem.ma/arch/$repo/os/$arch +#Server = https://mirror.0xem.ma/arch/$repo/os/$arch +#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://mirror.powerfly.ca/archlinux/$repo/os/$arch +#Server = https://mirror.powerfly.ca/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 +#Server = http://mirror.xenyth.net/archlinux/$repo/os/$arch +#Server = https://mirror.xenyth.net/archlinux/$repo/os/$arch + +## Chile +#Server = http://mirror.anquan.cl/archlinux/$repo/os/$arch +#Server = https://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.aliyun.com/archlinux/$repo/os/$arch +#Server = https://mirrors.aliyun.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://mirrors.hit.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.hit.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 = https://mirrors.njupt.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 = http://mirrors.shanghaitech.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.shanghaitech.edu.cn/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 = http://mirrors.wsyu.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.wsyu.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 = https://europe.mirror.pkgbuild.com/$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 +#Server = https://mirror.safe-con.dk/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 + +## Estonia +#Server = http://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.ee/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.ee/archlinux/$repo/os/$arch + +## Finland +#Server = https://arch.mcstrugs.org/$repo/os/$arch +#Server = http://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = https://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = http://arch.mirror.far.fi/$repo/os/$arch +#Server = http://mirror.hosthink.net/archlinux/$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 +#Server = http://arch.yhtez.xyz/$repo/os/$arch +#Server = https://arch.yhtez.xyz/$repo/os/$arch + +## France +#Server = http://archlinux.de-labrusse.fr/$repo/os/$arch +#Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch +#Server = https://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 = http://archlinux.datagr.am/$repo/os/$arch +#Server = https://mirrors.eric.ovh/arch/$repo/os/$arch +#Server = http://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirror.ibakerserver.pt/Arch/$repo/os/$arch +#Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch +#Server = https://arch.juline.tech/$repo/os/$arch +#Server = http://mirroir.labhouse.fr/arch/$repo/os/$arch +#Server = https://mirroir.labhouse.fr/arch/$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://mirror.theo546.fr/archlinux/$repo/os/$arch +#Server = https://mirror.theo546.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.23m.com/archlinux/$repo/os/$arch +#Server = https://mirror.23m.com/archlinux/$repo/os/$arch +#Server = http://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch +#Server = https://ftp.agdsn.de/pub/mirrors/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.clientvps.com/archlinux/$repo/os/$arch +#Server = https://mirror.clientvps.com/archlinux/$repo/os/$arch +#Server = http://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://mirror.dogado.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://pkg.fef.moe/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 = https://archlinux.homeinfo.de/$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://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = https://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = http://archlinux.mirror.iphh.net/$repo/os/$arch +#Server = https://mirror.iusearchbtw.nl/$repo/os/$arch +#Server = http://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = https://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = http://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = https://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = http://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://de.arch.mirror.kescher.at/$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://archlinux.mirror.luzea.de/$repo/os/$arch +#Server = https://archlinux.mirror.luzea.de/$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 = http://mirror.moson.org/arch/$repo/os/$arch +#Server = https://mirror.moson.org/arch/$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://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = https://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = http://phinau.de/arch/$repo/os/$arch +#Server = https://phinau.de/arch/$repo/os/$arch +#Server = https://mirror.pseudoform.org/$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/archlinux/$repo/os/$arch +#Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = http://arch.mirror.zachlge.org/$repo/os/$arch +#Server = https://arch.mirror.zachlge.org/$repo/os/$arch + +## Greece +#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch +#Server = https://repo.greeklug.gr/data/pub/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 = https://asia.mirror.pkgbuild.com/$repo/os/$arch +#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.ek-cer.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 = https://archmirror.akhl.in/$repo/os/$arch +#Server = https://repo.albony.xyz/$repo/os/$arch +#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch +#Server = http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = https://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = https://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch +#Server = https://mirrors.nxtgen.com/archlinux-mirror/$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 +#Server = http://mirror.sahil.world/archlinux/$repo/os/$arch +#Server = https://mirror.sahil.world/archlinux/$repo/os/$arch + +## Indonesia +#Server = http://mirror.cloudweeb.com/archlinux/$repo/os/$arch +#Server = http://mirror.faizuladib.com/archlinux/$repo/os/$arch +#Server = http://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = http://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = https://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = http://kebo.pens.ac.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://mirror.repository.id/archlinux/$repo/os/$arch +#Server = https://mirror.repository.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://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = https://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = http://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = https://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = http://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = https://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = http://repo.iut.ac.ir/repo/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://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch +#Server = https://archlinux.mivzakim.net/$repo/os/$arch + +## Italy +#Server = https://archmirror.it/repos/$repo/os/$arch +#Server = http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch +#Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.server24.net/$repo/os/$arch +#Server = https://archlinux.mirror.server24.net/$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.hoster.kz/archlinux/$repo/os/$arch +#Server = https://mirror.hoster.kz/archlinux/$repo/os/$arch +#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 +#Server = https://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 + +## Mexico +#Server = https://arch.jsc.mx/$repo/os/$arch + +## Moldova +#Server = http://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = https://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = http://mirror.mangohost.net/archlinux/$repo/os/$arch +#Server = https://mirror.mangohost.net/archlinux/$repo/os/$arch + +## Monaco +#Server = http://archlinux.qontinuum.space/archlinux/$repo/os/$arch +#Server = https://archlinux.qontinuum.space/archlinux/$repo/os/$arch + +## Netherlands +#Server = http://mirror.cj2.nl/archlinux/$repo/os/$arch +#Server = https://mirror.cj2.nl/archlinux/$repo/os/$arch +#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://mirrors.viflcraft.top/archlinux/$repo/os/$arch +#Server = https://mirrors.viflcraft.top/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.2degrees.nz/archlinux/$repo/os/$arch +#Server = https://mirror.2degrees.nz/archlinux/$repo/os/$arch +#Server = http://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://archlinux.ourhome.kiwi/$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://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$repo/os/$arch +#Server = https://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$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 + +## Pakistan +#Server = http://repo.inara.pk/archlinux/$repo/os/$arch +#Server = https://repo.inara.pk/archlinux/$repo/os/$arch + +## Paraguay +#Server = http://archlinux.mirror.py/archlinux/$repo/os/$arch + +## Poland +#Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch +#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://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = https://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = http://arch.midov.pl/arch/$repo/os/$arch +#Server = https://arch.midov.pl/arch/$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://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = http://repo.skni.umcs.pl/archlinux/$repo/os/$arch +#Server = https://repo.skni.umcs.pl/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 +#Server = http://mirrors.up.pt/pub/archlinux/$repo/os/$arch +#Server = https://mirrors.up.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://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = https://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = http://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = http://mirrors.hostico.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.hostico.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://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = https://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = http://mirror.surf/archlinux/$repo/os/$arch +#Server = https://mirror.surf/archlinux/$repo/os/$arch +#Server = http://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#Server = https://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#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 = https://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 + +## Réunion +#Server = http://arch.mithril.re/$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.guillaumea.fr/archlinux/$repo/os/$arch +#Server = https://mirror.guillaumea.fr/archlinux/$repo/os/$arch +#Server = http://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = https://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = http://ossmirror.mycloud.services/os/linux/archlinux/$repo/os/$arch +#Server = http://mirror.sg.gs/archlinux/$repo/os/$arch +#Server = https://mirror.sg.gs/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 +#Server = http://arch.tux.si/mirror/$repo/os/$arch +#Server = https://arch.tux.si/mirror/$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://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = https://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = http://mirror.funami.tech/arch/$repo/os/$arch +#Server = https://mirror.funami.tech/arch/$repo/os/$arch +#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.misakamikoto.network/archlinux/$repo/os/$arch +#Server = https://mirror.misakamikoto.network/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 = http://ftp.rediris.es/mirror/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://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch +#Server = https://ftp.ludd.ltu.se/mirrors/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.com/archlinux/$repo/os/$arch +#Server = https://pkg.adfinis.com/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://theswissbay.ch/archlinux/$repo/os/$arch +#Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch + +## Taiwan +#Server = http://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch +#Server = http://free.nchc.org.tw/arch/$repo/os/$arch +#Server = https://free.nchc.org.tw/arch/$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://archlinux.cs.nycu.edu.tw/$repo/os/$arch +#Server = https://archlinux.cs.nycu.edu.tw/$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 = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch +#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://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = https://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch + +## Ukraine +#Server = http://archlinux.astra.in.ua/$repo/os/$arch +#Server = https://archlinux.astra.in.ua/$repo/os/$arch +#Server = http://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = https://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = http://fastmirror.pp.ua/archlinux/$repo/os/$arch +#Server = https://fastmirror.pp.ua/archlinux/$repo/os/$arch +#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://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = http://mirror.cov.ukservers.com/archlinux/$repo/os/$arch +#Server = https://mirror.cov.ukservers.com/archlinux/$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 = https://america.mirror.pkgbuild.com/$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://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 = https://mirror.ava.dev/archlinux/$repo/os/$arch +#Server = http://mirrors.bloomu.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.bloomu.edu/archlinux/$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://mirror.clarkson.edu/archlinux/$repo/os/$arch +#Server = https://mirror.clarkson.edu/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://mirror.cybersecurity.nmt.edu/archlinux/$repo/os/$arch +#Server = https://mirror.cybersecurity.nmt.edu/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://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = https://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = http://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://ridgewireless.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://ridgewireless.mm.fcix.net/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.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hodgepodge.dev/archlinux/$repo/os/$arch +#Server = http://mirror.hostup.org/archlinux/$repo/os/$arch +#Server = https://mirror.hostup.org/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 = https://arch.mirror.ivo.st/$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://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://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://archlinux.qern-industries.pw/$repo/os/$arch +#Server = https://archlinux.qern-industries.pw/$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://mirrors.radwebhosting.com/archlinux/$repo/os/$arch +#Server = https://mirrors.radwebhosting.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 = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirror2.sandyriver.net/pub/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://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch +#Server = https://mirror.phx1.us.spryservers.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 = https://mirror.theash.xyz/arch/$repo/os/$arch +#Server = https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch +#Server = http://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = https://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = http://mirrors.vectair.net/archlinux/$repo/os/$arch +#Server = https://mirrors.vectair.net/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 +#Server = https://zxcvfdsa.com/arch/$repo/os/$arch + +## Uzbekistan +#Server = http://mirror.dc.uz/arch/$repo/os/$arch +#Server = https://mirror.dc.uz/arch/$repo/os/$arch + +## Vietnam +#Server = https://mirrors.42tm.tech/archlinux/$repo/os/$arch +#Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch +#Server = http://mirror.bizflycloud.vn/archlinux/$repo/os/$arch + diff --git a/emily/archiso/airootfs/etc/passwd b/emily/archiso/airootfs/etc/passwd new file mode 100644 index 0000000..da8dd66 --- /dev/null +++ b/emily/archiso/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/usr/bin/zsh +liveuser:x:1000:1000::/home/liveuser:/bin/bash diff --git a/emily/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/emily/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules new file mode 100644 index 0000000..afc8670 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/resolv.conf b/emily/archiso/airootfs/etc/resolv.conf new file mode 120000 index 0000000..3639662 --- /dev/null +++ b/emily/archiso/airootfs/etc/resolv.conf @@ -0,0 +1 @@ +/run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/sddm.conf b/emily/archiso/airootfs/etc/sddm.conf new file mode 100644 index 0000000..bb6424f --- /dev/null +++ b/emily/archiso/airootfs/etc/sddm.conf @@ -0,0 +1,38 @@ +[General] +InputMethod= +Namespaces= +Numlock=on + +[Theme] +DisableAvatarsThreshold=7 +EnableAvatars=true +FacesDir=/usr/share/sddm/faces +ThemeDir=/usr/share/sddm/themes + +[Users] +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin +HideShells= +HideUsers= +RememberLastSession=true +RememberLastUser=true +ReuseSession=true + +[Wayland] +EnableHiDPI=true +SessionCommand=/usr/share/sddm/scripts/wayland-session +SessionDir=/usr/share/wayland-sessions +SessionLogFile=.local/share/sddm/wayland-session.log + +[X11] +DisplayCommand=/usr/share/sddm/scripts/Xsetup +DisplayStopCommand=/usr/share/sddm/scripts/Xstop +EnableHiDPI=true +MinimumVT=1 +ServerArguments=-nolisten tcp +ServerPath=/usr/bin/X +SessionCommand=/usr/share/sddm/scripts/Xsession +SessionDir=/usr/share/xsessions +SessionLogFile=.local/share/sddm/xorg-session.log +UserAuthFile=.Xauthority +XauthPath=/usr/bin/xauth +XephyrPath=/usr/bin/Xephyr diff --git a/emily/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf b/emily/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf new file mode 100644 index 0000000..31dcab1 --- /dev/null +++ b/emily/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf @@ -0,0 +1,17 @@ +[Autologin] +Relogin=false +User=liveuser +Session=dwmalci + +[General] +HaltCommand=/usr/bin/systemctl poweroff +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +Current=breeze +CursorTheme= +Font= + +[Users] +MaximumUid=60513 +MinimumUid=1000 diff --git a/emily/archiso/airootfs/etc/shadow b/emily/archiso/airootfs/etc/shadow new file mode 100644 index 0000000..3692488 --- /dev/null +++ b/emily/archiso/airootfs/etc/shadow @@ -0,0 +1,2 @@ +root::14871:::::: +liveuser::14871:::::: \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/skel/.Xresources b/emily/archiso/airootfs/etc/skel/.Xresources new file mode 100644 index 0000000..368ec2c --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/skel/.bashrc b/emily/archiso/airootfs/etc/skel/.bashrc new file mode 100644 index 0000000..7e37138 --- /dev/null +++ b/emily/archiso/airootfs/etc/skel/.bashrc @@ -0,0 +1,14 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +######## +#ALCI +######## +alias evb='sudo systemctl enable --now vboxservice.service' \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf b/emily/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf new file mode 100644 index 0000000..6ea7b41 --- /dev/null +++ b/emily/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf @@ -0,0 +1,3 @@ +# Allow root login using password authentication +PasswordAuthentication yes +PermitRootLogin yes diff --git a/emily/archiso/airootfs/etc/sudoers.d/g_wheel b/emily/archiso/airootfs/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..bbad988 --- /dev/null +++ b/emily/archiso/airootfs/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: ALL diff --git a/emily/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/emily/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf new file mode 100644 index 0000000..b69850d --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf @@ -0,0 +1,2 @@ +[Journal] +Storage=volatile diff --git a/emily/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/emily/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf new file mode 100644 index 0000000..f3ecb39 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf @@ -0,0 +1,4 @@ +[Login] +HandleSuspendKey=ignore +HandleHibernateKey=ignore +HandleLidSwitch=ignore diff --git a/emily/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf b/emily/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf new file mode 100644 index 0000000..0e9ceb4 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf @@ -0,0 +1,2 @@ +[Network] +IPv6PrivacyExtensions=yes diff --git a/emily/archiso/airootfs/etc/systemd/network/20-ethernet.network b/emily/archiso/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 0000000..d3a3271 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,24 @@ +[Match] +# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*). +# See https://bugs.archlinux.org/task/70892 +# Instead match by globbing the network interface name. +Name=en* +Name=eth* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/emily/archiso/airootfs/etc/systemd/network/20-wlan.network b/emily/archiso/airootfs/etc/systemd/network/20-wlan.network new file mode 100644 index 0000000..8b70a95 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/network/20-wlan.network @@ -0,0 +1,20 @@ +[Match] +Name=wl* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/emily/archiso/airootfs/etc/systemd/network/20-wwan.network b/emily/archiso/airootfs/etc/systemd/network/20-wwan.network new file mode 100644 index 0000000..6e1c8dd --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/network/20-wwan.network @@ -0,0 +1,19 @@ +[Match] +Name=ww* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=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/emily/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf b/emily/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf new file mode 100644 index 0000000..636f3bd --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf @@ -0,0 +1,4 @@ +# Default systemd-resolved configuration for archiso + +[Resolve] +MulticastDNS=yes diff --git a/emily/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/emily/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/choose-mirror.service b/emily/archiso/airootfs/etc/systemd/system/choose-mirror.service new file mode 100644 index 0000000..b6a3562 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service new file mode 120000 index 0000000..ebc50f0 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service new file mode 120000 index 0000000..80fa3c8 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service new file mode 120000 index 0000000..dd8e9f1 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service b/emily/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service new file mode 120000 index 0000000..24c7a26 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service new file mode 120000 index 0000000..a7e5cd4 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/default.target b/emily/archiso/airootfs/etc/systemd/system/default.target new file mode 120000 index 0000000..cf9fa51 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/display-manager.service b/emily/archiso/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/emily/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 0000000..038961e --- /dev/null +++ b/emily/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,noswap diff --git a/emily/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/emily/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf new file mode 100644 index 0000000..b9d22eb --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root - $TERM diff --git a/emily/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/emily/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service new file mode 100644 index 0000000..03db4b9 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/livecd-talk.service b/emily/archiso/airootfs/etc/systemd/system/livecd-talk.service new file mode 100644 index 0000000..b38df22 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service new file mode 120000 index 0000000..2d8d256 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service new file mode 120000 index 0000000..3625abd --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service new file mode 120000 index 0000000..b917481 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service new file mode 120000 index 0000000..d09eec6 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service new file mode 120000 index 0000000..d372729 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service new file mode 120000 index 0000000..d21ebd9 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service new file mode 120000 index 0000000..cb2d560 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/emily/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/emily/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service new file mode 120000 index 0000000..7d6ad92 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/pacman-init.service b/emily/archiso/airootfs/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..b824884 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/pacman-init.service @@ -0,0 +1,15 @@ +[Unit] +Description=Initializes Pacman keyring +Requires=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount time-sync.target +BindsTo=etc-pacman.d-gnupg.mount +Before=archlinux-keyring-wkd-sync.service + +[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/emily/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/emily/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf new file mode 100644 index 0000000..de6664d --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/emily/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket new file mode 120000 index 0000000..3897c63 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/pcscd.socket \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/emily/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 0000000..51942c8 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/emily/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service new file mode 120000 index 0000000..98c0fc8 --- /dev/null +++ b/emily/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/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service new file mode 120000 index 0000000..cabf28b --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-time-wait-sync.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/emily/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/emily/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/emily/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/emily/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/emily/archiso/airootfs/etc/xdg/reflector/reflector.conf b/emily/archiso/airootfs/etc/xdg/reflector/reflector.conf new file mode 100644 index 0000000..7c830d2 --- /dev/null +++ b/emily/archiso/airootfs/etc/xdg/reflector/reflector.conf @@ -0,0 +1,8 @@ +# Reflector configuration file for the systemd service. + +--save /etc/pacman.d/mirrorlist +--ipv4 +--ipv6 +--protocol https +--latest 20 +--sort rate diff --git a/emily/archiso/airootfs/root/.automated_script.sh b/emily/archiso/airootfs/root/.automated_script.sh new file mode 100755 index 0000000..0d95012 --- /dev/null +++ b/emily/archiso/airootfs/root/.automated_script.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash + +script_cmdline() { + local param + for param in $( /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/emily/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch b/emily/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch new file mode 100755 index 0000000..e2bbfa2 --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch @@ -0,0 +1,18 @@ +#!/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. +# +############################################################################### + +#if necessary we can use this script too diff --git a/emily/archiso/airootfs/usr/local/bin/choose-mirror b/emily/archiso/airootfs/usr/local/bin/choose-mirror new file mode 100755 index 0000000..d2349de --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/choose-mirror @@ -0,0 +1,29 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +get_cmdline() { + local param + for param in $(/etc/pacman.d/mirrorlist < /dev/null; then + tput setaf 2 + echo + echo "You are online" + echo + tput sgr0 + Online=1 + else + tput setaf 1 + echo + echo "You are not connected to the internet" + echo "We can not download the latest archlinux-keyring package" + echo + echo "Make sure you are online to retrieve packages" + echo + tput sgr0 + Online=0 + fi + } + +check_connectivity + +if [ $Online -eq 1 ] ; then + tput setaf 2 + echo + echo "Installing the latest archlinux-keyring package from the internet" + echo + tput sgr0 + sudo pacman -Sy archlinux-keyring --noconfirm + echo +fi + +echo "###############################################################################" +echo "Removing the pacman databases at /var/lib/pacman/sync/*" +echo "###############################################################################" +echo +sudo rm /var/lib/pacman/sync/* +echo + +echo "###############################################################################" +echo "Removing /etc/pacman.d/gnupg folder" +echo "###############################################################################" +echo +sudo rm -rf /etc/pacman.d/gnupg/* +echo + +echo "###############################################################################" +echo "Initialize pacman keys with pacman-key --init" +echo "###############################################################################" +echo +sudo pacman-key --init +echo + +echo "###############################################################################" +echo "Populating keyring with pacman-key --populate" +echo "###############################################################################" +echo +sudo pacman-key --populate +echo + +echo "###############################################################################" +echo "Adding Ubuntu keyserver to /etc/pacman.d/gnupg/gpg.conf" +echo "###############################################################################" +echo +echo " +keyserver hkp://keyserver.ubuntu.com:80" | sudo tee --append /etc/pacman.d/gnupg/gpg.conf + +echo +echo "###############################################################################" +echo "Getting new databases with pacman -Sy" +echo "###############################################################################" +echo +sudo pacman -Sy +echo + +echo "###############################################################################" +echo "### DONE - YOU CAN CLOSE THIS WINDOW ####" +echo "###############################################################################" \ No newline at end of file diff --git a/emily/archiso/airootfs/usr/local/bin/fixkey b/emily/archiso/airootfs/usr/local/bin/fixkey new file mode 120000 index 0000000..135401b --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/fixkey @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/emily/archiso/airootfs/usr/local/bin/fixkeys b/emily/archiso/airootfs/usr/local/bin/fixkeys new file mode 120000 index 0000000..135401b --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/fixkeys @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/emily/archiso/airootfs/usr/local/bin/get-chadwm b/emily/archiso/airootfs/usr/local/bin/get-chadwm new file mode 100755 index 0000000..431ca74 --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/get-chadwm @@ -0,0 +1,158 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +installed_dir=$(dirname $(readlink -f $(basename `pwd`))) + +################################################################################################################## + +sudo pacman -Syyu +sudo pacman -S wget --noconfirm --needed +sudo pacman -S jq --noconfirm --needed +arco_repo_db=$(wget -qO- https://api.github.com/repos/arcolinux/arcolinux_repo/contents/x86_64) +echo "Getting the ArcoLinux keys from the ArcoLinux repo" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-keyring")) | .name] | .[0] | sub("arcolinux-keyring-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-keyring-")')" -O /tmp/arcolinux-keyring-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-keyring-git-any.pkg.tar.zst + +###################################################################################################################### + +echo "Getting the latest arcolinux mirrors file" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-mirrorlist-git-")) | .name] | .[0] | sub("arcolinux-mirrorlist-git-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-mirrorlist-git-")')" -O /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst + +if grep -q arcolinux_repo /etc/pacman.conf; then + + echo + tput setaf 2 + echo "################################################################" + echo "################ ArcoLinux repos are already in /etc/pacman.conf " + echo "################################################################" + tput sgr0 + echo + +else + +echo ' + +#[arcolinux_repo_testing] +#SigLevel = PackageRequired DatabaseNever +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist' | sudo tee --append /etc/pacman.conf + +fi + + +sudo pacman -Sy + + + +func_install() { + if pacman -Qi $1 &> /dev/null; then + tput setaf 2 + echo "###############################################################################" + echo "################## The package "$1" is already installed" + echo "###############################################################################" + echo + tput sgr0 + else + tput setaf 3 + echo "###############################################################################" + echo "################## Installing package " $1 + echo "###############################################################################" + echo + tput sgr0 + sudo pacman -S --noconfirm --needed $1 + fi +} + +func_install_chadwm() { + + echo + tput setaf 2 + echo "################################################################" + echo "################### Install chadwm" + echo "################################################################" + tput sgr0 + echo + + list=( + alacritty + archlinux-logout-git + arcolinux-chadwm-git + arcolinux-powermenu-git + dash + dmenu + eww + feh + lxappearance + picom + polkit-gnome + rofi-lbonn-wayland + scrot + sxhkd + thunar + thunar-archive-plugin + thunar-volman + ttf-hack + ttf-jetbrains-mono-nerd + ttf-meslo-nerd-font-powerlevel10k + volumeicon + xfce4-notifyd + xfce4-power-manager + xfce4-screenshooter + xfce4-settings + xfce4-taskmanager + xfce4-terminal + ) + + count=0 + + for name in "${list[@]}" ; do + count=$[count+1] + tput setaf 3;echo "Installing package nr. "$count " " $name;tput sgr0; + func_install $name + done +} + +func_install_chadwm + +cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) +cp -arf /etc/skel/. ~ diff --git a/emily/archiso/airootfs/usr/local/bin/get-nemesis-on-alci b/emily/archiso/airootfs/usr/local/bin/get-nemesis-on-alci new file mode 100755 index 0000000..5a69d41 --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/get-nemesis-on-alci @@ -0,0 +1,51 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +#iso=alci-iso + +echo +tput setaf 3 +echo "################################################################" +echo "################### Start clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo + +sudo pacman -Sy git --noconfirm --needed + +[ -d $HOME"/DATA" ] || mkdir -p $HOME"/DATA" +cd ~/DATA +git clone https://github.com/erikdubois/arcolinux-nemesis + +echo +tput setaf 3 +echo "################################################################" +echo "################### End clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo \ No newline at end of file diff --git a/emily/archiso/airootfs/usr/local/bin/livecd-sound b/emily/archiso/airootfs/usr/local/bin/livecd-sound new file mode 100755 index 0000000..b92fcf2 --- /dev/null +++ b/emily/archiso/airootfs/usr/local/bin/livecd-sound @@ -0,0 +1,239 @@ +#!/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() { + [[ -n "$3" && -n "$2" && -n "$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() { + [[ -n "$1" && -n "$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() { + [[ -n "$3" && -n "$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" /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 == 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 (( $# == 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/emily/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in b/emily/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in new file mode 100644 index 0000000..3f9c7aa --- /dev/null +++ b/emily/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/emily/archiso/bootstrap_packages.x86_64 b/emily/archiso/bootstrap_packages.x86_64 new file mode 100644 index 0000000..64966d0 --- /dev/null +++ b/emily/archiso/bootstrap_packages.x86_64 @@ -0,0 +1,2 @@ +arch-install-scripts +base diff --git a/emily/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/emily/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf new file mode 100644 index 0000000..afd8e99 --- /dev/null +++ b/emily/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -0,0 +1,5 @@ +title Arch Linux install medium (x86_64, UEFI) +sort-key 01 +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n diff --git a/emily/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf b/emily/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf new file mode 100644 index 0000000..c216f5e --- /dev/null +++ b/emily/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf @@ -0,0 +1,7 @@ +title Arch Linux install medium (x86_64, UEFI) with speech +sort-key 02 +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% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/emily/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf b/emily/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf new file mode 100644 index 0000000..d0b305c --- /dev/null +++ b/emily/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf @@ -0,0 +1,3 @@ +title Memtest86+ +sort-key 03 +efi /boot/memtest86+/memtest.efi diff --git a/emily/archiso/efiboot/loader/loader.conf b/emily/archiso/efiboot/loader/loader.conf new file mode 100644 index 0000000..2d137aa --- /dev/null +++ b/emily/archiso/efiboot/loader/loader.conf @@ -0,0 +1,3 @@ +timeout 15 +default 01-archiso-x86_64-linux.conf +beep on diff --git a/emily/archiso/grub/grub.cfg b/emily/archiso/grub/grub.cfg new file mode 100644 index 0000000..93aa0f1 --- /dev/null +++ b/emily/archiso/grub/grub.cfg @@ -0,0 +1,107 @@ +# Load partition table and file system modules +insmod part_gpt +insmod part_msdos +insmod fat +insmod iso9660 +insmod ntfs +insmod ntfscomp +insmod exfat +insmod udf + +# Use graphics-mode output +if loadfont "${prefix}/fonts/unicode.pf2" ; then + insmod all_video + set gfxmode="auto" + terminal_input console + terminal_output console +fi + +# Enable serial console +insmod serial +insmod usbserial_common +insmod usbserial_ftdi +insmod usbserial_pl2303 +insmod usbserial_usbdebug +if serial --unit=0 --speed=115200; then + terminal_input --append serial + terminal_output --append serial +fi + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=alci +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} + + +# GRUB init tune for accessibility +play 600 988 1 1319 4 diff --git a/emily/archiso/grub/loopback.cfg b/emily/archiso/grub/loopback.cfg new file mode 100644 index 0000000..d7d5ece --- /dev/null +++ b/emily/archiso/grub/loopback.cfg @@ -0,0 +1,80 @@ +# https://www.supergrubdisk.org/wiki/Loopback.cfg + +# Search for the ISO volume +search --no-floppy --set=archiso_img_dev --file "${iso_path}" +probe --set archiso_img_dev_uuid --fs-uuid "${archiso_img_dev}" + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=archlinux +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" accessibility=on + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} diff --git a/emily/archiso/packages.x86_64 b/emily/archiso/packages.x86_64 new file mode 100644 index 0000000..9faced8 --- /dev/null +++ b/emily/archiso/packages.x86_64 @@ -0,0 +1,277 @@ +alsa-utils +amd-ucode +arch-install-scripts +archinstall +b43-fwcutter +base +bcachefs-tools +bind +bolt +brltty +broadcom-wl +btrfs-progs +clonezilla +cloud-init +cryptsetup +darkhttpd +ddrescue +dhclient +dhcpcd +diffutils +dmidecode +dmraid +dnsmasq +dosfstools +e2fsprogs +edk2-shell +efibootmgr +espeakup +ethtool +exfatprogs +f2fs-tools +fatresize +foot-terminfo +fsarchiver +gnu-netcat +gpart +gpm +gptfdisk +grml-zsh-config +grub +hdparm +hyperv +intel-ucode +irssi +iw +iwd +jfsutils +kitty-terminfo +ldns +less +lftp +libfido2 +libusb-compat +linux +linux-atm +linux-firmware +linux-firmware-marvell +livecd-sounds +lsscsi +lvm2 +lynx +man-db +man-pages +mc +mdadm +memtest86+ +memtest86+-efi +mkinitcpio +mkinitcpio-archiso +mkinitcpio-nfs-utils +modemmanager +mtools +nano +nbd +ndisc6 +nfs-utils +nilfs-utils +nmap +ntfs-3g +nvme-cli +open-iscsi +open-vm-tools +openconnect +openpgp-card-tools +openssh +openvpn +partclone +parted +partimage +pcsclite +ppp +pptpclient +pv +qemu-guest-agent +refind +reflector +reiserfsprogs +rp-pppoe +rsync +rxvt-unicode-terminfo +screen +sdparm +sequoia-sq +sg3_utils +smartmontools +sof-firmware +squashfs-tools +sudo +syslinux +systemd-resolvconf +tcpdump +terminus-font +testdisk +tmux +tpm2-tools +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 +#alci-calamares-dev +alci-calamares-config +#alci-calamares-config-btrfs +#alci-calamares-config-dev +#alci-calamares-config-hardened +#alci-calamares-config-lts +#alci-calamares-config-pure +#alci-calamares-config-xanmod +#alci-calamares-config-zen +xterm + +####################################################### +### PACKAGES THAT STAY AFTER INSTALLATION ### +####################################################### + +sddm +bash-completion +os-prober +dex +libxinerama +make +xorg-xkill +xterm +xorg-xrdb +mkinitcpio-openswap + +##### you can also use nmtui from the terminal +#networkmanager +#network-manager-applet + +####################################################### +### EXTRAS ### +####################################################### + +##### xorg applications + +#xorg-server +#xorg-apps +#neofetch + + +##### Drivers for graphical cards + +#driver for virtualbox - xf86-video-vmware is dependency +#systemctl enable vboxservice +#systemctl start vboxservice +#to have fullscreen +#virtualbox-guest-utils + +#xf86-video-intel +#xf86-video-amdgpu +#xf86-video-nouveau + +#nvidia +#nvidia-settings +#nvidia-utils + + + +##### lightdm display manager + +#lightdm +#lightdm-gtk-greeter + +##### sddm display manager + +#sddm +#alci-sddm-plasma-archpaint + +##### gdm display manager + +#gdm + + + +##### want to have base-devel group + +#base-devel + +##### want to have linux-headers + +#linux-headers + + + +##### want to have a desktop + +#test +#xfce4 +#xfce4-goodies +#neofetch + + +##### want to add/use the ArcoLinux repos + +#arcolinux-mirrorlist-git +#arcolinux-keyring + +#test +#arcolinux-wallpapers-git + +##### want to add/use the Chaotic repo + +#chaotic-mirrorlist +#chaotic-keyring + +#test +#colloid-cursors-git + + +##### want to add/use your local repo packages +##### create your packages and put them in the local repo + +#There is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#Change the name erik to your own username +#update the database + +#test +#nemesis-wallpapers + + +#### want have a btrfs format +#### use alci-calamares-config-btrfs + +#timeshift +#grub-btrfs +#timeshift-autosnap +git + +#grub theme +alci-grub-theme-git diff --git a/emily/archiso/pacman.conf b/emily/archiso/pacman.conf new file mode 100644 index 0000000..7039169 --- /dev/null +++ b/emily/archiso/pacman.conf @@ -0,0 +1,139 @@ +# +# /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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +# We cannot check disk space from within a chroot environment +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#you can create packages and put them on your local repo +#the folder should be on your homedirectory with the name alci_local_repo +#see uploaded example -there is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#update the packages database +#Change the name erik to your own username + +#Your local repository +#[alci_local_repo] +#SigLevel = Optional TrustedOnly +#Server = file:///home/erik/$repo/$arch + +#repository from ALCI +[alci_repo] +SigLevel = Optional TrustedOnly +Server = https://arch-linux-calamares-installer.github.io/$repo/$arch + +#repositories from ArcoLinux +#[arcolinux_repo_testing] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_3party] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_xlarge] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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 + +#more repositories here : +#https://wiki.archlinux.org/index.php/unofficial_user_repositories + +#remember to add chaotic-mirrorlist and chaotic-keyring to the packages.x86_64 +#[chaotic-aur] +#Include = /etc/pacman.d/chaotic-mirrorlist diff --git a/emily/archiso/profiledef.sh b/emily/archiso/profiledef.sh new file mode 100644 index 0000000..11ad606 --- /dev/null +++ b/emily/archiso/profiledef.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 + +iso_name="archlinux" +iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)" +iso_publisher="Arch Linux " +iso_application="Arch Linux Live/Rescue DVD" +iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" +install_dir="arch" +buildmodes=('iso') +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' + 'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp' + 'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito') +arch="x86_64" +pacman_conf="pacman.conf" +airootfs_image_type="squashfs" +airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19') +file_permissions=( + ["/etc/shadow"]="0:0:400" + ["/root"]="0:0:750" + ["/root/.automated_script.sh"]="0:0:755" + ["/root/.gnupg"]="0:0:700" + ["/usr/local/bin/choose-mirror"]="0:0:755" + ["/usr/local/bin/Installation_guide"]="0:0:755" + ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/etc/polkit-1/rules.d"]="0:0:750" + ["/etc/sudoers.d"]="0:0:750" + ["/usr/local/bin/alci-make-a-pure-arch"]="0:0:755" + ["/usr/local/bin/alci-displaymanager-check"]="0:0:755" + ["/usr/local/bin/get-nemesis-on-alci"]="0:0:755" + ["/usr/local/bin/fix-keys"]="0:0:755" + ["/usr/local/bin/get-chadwm"]="0:0:755" +) diff --git a/emily/archiso/syslinux/archiso_head.cfg b/emily/archiso/syslinux/archiso_head.cfg new file mode 100644 index 0000000..671ab4e --- /dev/null +++ b/emily/archiso/syslinux/archiso_head.cfg @@ -0,0 +1,28 @@ +SERIAL 0 115200 +UI vesamenu.c32 +MENU TITLE Arch Linux +MENU BACKGROUND splash.png + +MENU WIDTH 78 +MENU MARGIN 4 +MENU ROWS 7 +MENU VSHIFT 10 +MENU TABMSGROW 14 +MENU CMDLINEROW 14 +MENU HELPMSGROW 16 +MENU HELPMSGENDROW 29 + +# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32 + +MENU COLOR border 30;44 #40ffffff #a0000000 std +MENU COLOR title 1;36;44 #9033ccff #a0000000 std +MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all +MENU COLOR unsel 37;44 #50ffffff #a0000000 std +MENU COLOR help 37;40 #c0ffffff #a0000000 std +MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std +MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std +MENU COLOR msg07 37;40 #90ffffff #a0000000 std +MENU COLOR tabmsg 31;40 #30ffffff #00000000 std + +MENU CLEAR +MENU IMMEDIATE diff --git a/emily/archiso/syslinux/archiso_pxe-linux.cfg b/emily/archiso/syslinux/archiso_pxe-linux.cfg new file mode 100644 index 0000000..5d0f741 --- /dev/null +++ b/emily/archiso/syslinux/archiso_pxe-linux.cfg @@ -0,0 +1,32 @@ +LABEL arch64_nbd +TEXT HELP +Boot the Arch Linux install medium using NBD. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NBD) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y +SYSAPPEND 3 + +LABEL arch64_nfs +TEXT HELP +Boot the Arch Linux live medium using NFS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NFS) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y +SYSAPPEND 3 + +LABEL arch64_http +TEXT HELP +Boot the Arch Linux live medium using HTTP. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, HTTP) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y +SYSAPPEND 3 diff --git a/emily/archiso/syslinux/archiso_pxe.cfg b/emily/archiso/syslinux/archiso_pxe.cfg new file mode 100644 index 0000000..b4c9a80 --- /dev/null +++ b/emily/archiso/syslinux/archiso_pxe.cfg @@ -0,0 +1,5 @@ +INCLUDE archiso_head.cfg + +INCLUDE archiso_pxe-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/emily/archiso/syslinux/archiso_sys-linux.cfg b/emily/archiso/syslinux/archiso_sys-linux.cfg new file mode 100644 index 0000000..7d3458e --- /dev/null +++ b/emily/archiso/syslinux/archiso_sys-linux.cfg @@ -0,0 +1,20 @@ +LABEL arch64 +TEXT HELP +Boot the Arch Linux install medium on BIOS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + +# Accessibility boot option +LABEL arch64speech +TEXT HELP +Boot the Arch Linux install medium on BIOS with speakup screen reader. +It allows you to install Arch Linux or perform system maintenance with speech feedback. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) with ^speech +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/emily/archiso/syslinux/archiso_sys.cfg b/emily/archiso/syslinux/archiso_sys.cfg new file mode 100644 index 0000000..d93bcfe --- /dev/null +++ b/emily/archiso/syslinux/archiso_sys.cfg @@ -0,0 +1,8 @@ +INCLUDE archiso_head.cfg + +DEFAULT arch64 +TIMEOUT 150 + +INCLUDE archiso_sys-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/emily/archiso/syslinux/archiso_tail.cfg b/emily/archiso/syslinux/archiso_tail.cfg new file mode 100644 index 0000000..e84897c --- /dev/null +++ b/emily/archiso/syslinux/archiso_tail.cfg @@ -0,0 +1,35 @@ +LABEL existing +TEXT HELP +Boot an existing operating system. +Press TAB to edit the disk and partition number to boot. +ENDTEXT +MENU LABEL Boot existing OS +COM32 chain.c32 +APPEND hd0 0 + +# https://www.memtest.org/ +LABEL memtest +MENU LABEL Run Memtest86+ (RAM test) +LINUX /boot/memtest86+/memtest + +# https://wiki.syslinux.org/wiki/index.php/Hdt_(Hardware_Detection_Tool) +LABEL hdt +MENU LABEL Hardware Information (HDT) +COM32 hdt.c32 +APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz + +LABEL reboot +TEXT HELP +Reboot computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Reboot +COM32 reboot.c32 + +LABEL poweroff +TEXT HELP +Power off computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Power Off +COM32 poweroff.c32 diff --git a/emily/archiso/syslinux/splash.png b/emily/archiso/syslinux/splash.png new file mode 100644 index 0000000..64b959a Binary files /dev/null and b/emily/archiso/syslinux/splash.png differ diff --git a/emily/archiso/syslinux/syslinux.cfg b/emily/archiso/syslinux/syslinux.cfg new file mode 100644 index 0000000..cbda72f --- /dev/null +++ b/emily/archiso/syslinux/syslinux.cfg @@ -0,0 +1,11 @@ +DEFAULT select + +LABEL select +COM32 whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG archiso_pxe.cfg + +LABEL sys +CONFIG archiso_sys.cfg diff --git a/emily/example-alci_local_repo/update-database.sh b/emily/example-alci_local_repo/update-database.sh new file mode 100755 index 0000000..f088b65 --- /dev/null +++ b/emily/example-alci_local_repo/update-database.sh @@ -0,0 +1,21 @@ +#!/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.arcolinuxforum.com +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +cd x86_64 +sh ./update_repo.sh + +echo "################################################################" +echo "################### Update Done ######################" +echo "################################################################" diff --git a/emily/example-alci_local_repo/x86_64/alci_local_repo.db b/emily/example-alci_local_repo/x86_64/alci_local_repo.db new file mode 120000 index 0000000..9da8485 --- /dev/null +++ b/emily/example-alci_local_repo/x86_64/alci_local_repo.db @@ -0,0 +1 @@ +alci_local_repo.db.tar.gz \ No newline at end of file diff --git a/emily/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz b/emily/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz new file mode 100644 index 0000000..e83a7ef Binary files /dev/null and b/emily/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz differ diff --git a/emily/example-alci_local_repo/x86_64/alci_local_repo.files b/emily/example-alci_local_repo/x86_64/alci_local_repo.files new file mode 120000 index 0000000..f08872e --- /dev/null +++ b/emily/example-alci_local_repo/x86_64/alci_local_repo.files @@ -0,0 +1 @@ +alci_local_repo.files.tar.gz \ No newline at end of file diff --git a/emily/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz b/emily/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz new file mode 100644 index 0000000..49c7b70 Binary files /dev/null and b/emily/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz differ diff --git a/emily/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst b/emily/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst new file mode 100644 index 0000000..5420836 Binary files /dev/null and b/emily/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst differ diff --git a/emily/example-alci_local_repo/x86_64/update_repo.sh b/emily/example-alci_local_repo/x86_64/update_repo.sh new file mode 100755 index 0000000..2fa6a5a --- /dev/null +++ b/emily/example-alci_local_repo/x86_64/update_repo.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +rm alci_local_repo* + +echo "repo-add" +repo-add -n -R alci_local_repo.db.tar.gz *.pkg.tar.zst + +echo "####################################" +echo "Repo Updated!!" +echo "####################################" diff --git a/emily/installation-scripts/30-build-the-iso-the-first-time.sh b/emily/installation-scripts/30-build-the-iso-the-first-time.sh new file mode 100755 index 0000000..d777544 --- /dev/null +++ b/emily/installation-scripts/30-build-the-iso-the-first-time.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +echo "- Making sure we start with a clean slate next time" +tput sgr0 +echo "################################################################## " +echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/emily/installation-scripts/40-build-the-iso-local-again.sh b/emily/installation-scripts/40-build-the-iso-local-again.sh new file mode 100755 index 0000000..b96008b --- /dev/null +++ b/emily/installation-scripts/40-build-the-iso-local-again.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +#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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +#echo "- Making sure we start with a clean slate next time" +#tput sgr0 +#echo "################################################################## " +#echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/emily/keys-and-mirrors/1-get-the-keys-and-mirrors.md b/emily/keys-and-mirrors/1-get-the-keys-and-mirrors.md new file mode 100644 index 0000000..e90c664 --- /dev/null +++ b/emily/keys-and-mirrors/1-get-the-keys-and-mirrors.md @@ -0,0 +1,19 @@ +We recommend you get the ASA or ArcoLinux Spices Application. + +We are sure that it will always work in the future. + +We use the tool to turn any Arch Linux system into an ArcoLinux system. + +https://www.arcolinux.info/arcolinux-spices-application/ + +You can install it in a desktop environment or in TTY. + +Type "sudo pacman -Syyu" in a terminal to see that our repos are in the list. + +Afterwards pacman will recognize the ArcoLinux keys and the ArcoLinux mirrors. + +If that is the case you can install the Chaotic keyring and Chaotic mirrorlist. + +sudo pacman -S chaotic-keyring chaotic-mirrorlist + +Then you can add ArcoLinux and Chaotic packages to your packages list. diff --git a/emily/keys-and-mirrors/2-build-and-install-yay.sh b/emily/keys-and-mirrors/2-build-and-install-yay.sh new file mode 100755 index 0000000..8d3757c --- /dev/null +++ b/emily/keys-and-mirrors/2-build-and-install-yay.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +sudo pacman -S base-devel --noconfirm --needed + +source="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay-bin" +folder="alci-yay-bin" +name="PKGBUILD" + +mkdir /tmp/$folder +wget $source -O /tmp/$folder/$name +cd /tmp/$folder +makepkg -i diff --git a/emily/setup-our-git-credentials.sh b/emily/setup-our-git-credentials.sh new file mode 100755 index 0000000..83eafd2 --- /dev/null +++ b/emily/setup-our-git-credentials.sh @@ -0,0 +1,115 @@ +#!/bin/bash +# +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +# Problem solving commands + +# Read before using it. +# https://www.atlassian.com/git/tutorials/undoing-changes/git-reset +# git reset --hard orgin/master +# ONLY if you are very sure and no coworkers are on your github. + +# Command that have helped in the past +# Force git to overwrite local files on pull - no merge +# git fetch all +# git push --set-upstream origin master +# git reset --hard orgin/master + + +#setting up git +#https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config +#https://medium.com/clarusway/how-to-use-git-github-without-asking-for-authentication-always-passwordless-usage-of-private-git-8c32489bc2e9 +#https://blog.nillsf.com/index.php/2021/05/27/github-sso-using-password-protected-ssh-keys + +project=$(basename `pwd`) +githubdir="arch-linux-calamares-installer" +echo "-----------------------------------------------------------------------------" +echo "this is project https://github.com/$githubdir/$project" +echo "-----------------------------------------------------------------------------" + +echo +tput setaf 1 +echo "################################################################" +echo "##### Choose wisely - one time setup after clean install ####" +echo "################################################################" +tput sgr0 +echo +echo "Select the correct desktop" +echo +echo "0. Do nothing" +echo "1. Erik" +echo "2. Raniel" +echo "3. Steve" +echo "Type the number..." + +read CHOICE + +case $CHOICE in + + 0 ) + echo + echo "########################################" + echo "We did nothing as per your request" + echo "########################################" + echo + ;; + + 1 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "arcolinuxz" + git config --global user.email "arcolinuxinfo@gmail.com" + sudo git config --system core.editor nano + #git config --global credential.helper cache + #git config --global credential.helper 'cache --timeout=32000' + git remote set-url origin git@github.com:$githubdir/$project + echo + echo "Everything set" + ;; + 2 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Raniel Laguna" + git config --global user.email "avraniel@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + 3 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Steve Younger" + git config --global user.email "coritanie@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + * ) + echo "#################################" + echo "Choose the correct number" + echo "#################################" + ;; +esac + +echo "################################################################" +echo "################### T H E E N D ######################" +echo "################################################################" diff --git a/emily/up+.sh b/emily/up+.sh new file mode 100755 index 0000000..1a6d204 --- /dev/null +++ b/emily/up+.sh @@ -0,0 +1,68 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +# reset - commit your changes or stash them before you merge +# git reset --hard - personal alias - grh + +echo "Deleting the work folder if one exists" +[ -d work ] && rm -rf work + +# checking if I have the latest files from github +echo "Checking for newer files online first" +git pull + +# Below command will backup everything inside the project folder +git add --all . + +# Give a comment to the commit if you want +echo "####################################" +echo "Write your commit comment!" +echo "####################################" + +read input + +# Committing to the local repository with a message containing the time details and commit text + +git commit -m "$input" + +# Push the local files to github + +if grep -q main .git/config; then + echo "Using main" + git push -u origin main +fi + +if grep -q master .git/config; then + echo "Using master" + git push -u origin master +fi + +echo "################################################################" +echo "################### Git Push Done ######################" +echo "################################################################" diff --git a/layla/1-get-all-alci-gits-v1.sh b/layla/1-get-all-alci-gits-v1.sh new file mode 100755 index 0000000..96bae9a --- /dev/null +++ b/layla/1-get-all-alci-gits-v1.sh @@ -0,0 +1,52 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +echo "This gets all the existing githubs at once" +echo "Fill the array with the original folders first" + +# use ls -d */ > list to get the list of the created githubs and copy/paste in + +directories=( +alci-calamares-config/ +alci-calamares-config-dev/ +alci-calamares-config-hardened/ +alci-calamares-config-lts/ +alci-calamares-config-pure/ +alci-calamares-config-xanmod/ +alci-calamares-config-zen/ +alci-dwm/ +alci-dwm-nemesis/ +alci-grub-theme/ +alci-iso/ +alci-iso-dev/ +alci-iso-hardened/ +alci-iso-lts/ +alci-iso-pure/ +alci-iso-xanmod/ +alci-iso-zen/ +alci-pkgbuild/ +alci_repo/ +nemesis-wallpapers/ +) + +count=0 + +for name in "${directories[@]}"; do + count=$[count+1] + tput setaf 1;echo "Github "$count;tput sgr0; + # if there is no folder then make one + git clone https://github.com/arch-linux-calamares-installer/$name + echo "#################################################" + echo "################ "$(basename `pwd`)" done" + echo "#################################################" +done diff --git a/layla/archiso/airootfs/etc/default/grub b/layla/archiso/airootfs/etc/default/grub new file mode 100644 index 0000000..889f998 --- /dev/null +++ b/layla/archiso/airootfs/etc/default/grub @@ -0,0 +1,54 @@ +# GRUB boot loader configuration + +GRUB_DEFAULT=0 +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="Arch" +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/layla/archiso/airootfs/etc/group b/layla/archiso/airootfs/etc/group new file mode 100644 index 0000000..2f50b54 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/gshadow b/layla/archiso/airootfs/etc/gshadow new file mode 100644 index 0000000..8bf2275 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/hostname b/layla/archiso/airootfs/etc/hostname new file mode 100644 index 0000000..2dbe21e --- /dev/null +++ b/layla/archiso/airootfs/etc/hostname @@ -0,0 +1 @@ +archiso diff --git a/layla/archiso/airootfs/etc/locale.conf b/layla/archiso/airootfs/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/layla/archiso/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/layla/archiso/airootfs/etc/localtime b/layla/archiso/airootfs/etc/localtime new file mode 120000 index 0000000..0e35b57 --- /dev/null +++ b/layla/archiso/airootfs/etc/localtime @@ -0,0 +1 @@ +/usr/share/zoneinfo/UTC \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/mkinitcpio.conf b/layla/archiso/airootfs/etc/mkinitcpio.conf new file mode 100644 index 0000000..be5c1ac --- /dev/null +++ b/layla/archiso/airootfs/etc/mkinitcpio.conf @@ -0,0 +1,67 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(piix ide_disk reiserfs) +MODULES=() + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=() + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No raid, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect block filesystems) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev block filesystems) +# +## This setup assembles a pata mdadm array with an encrypted root FS. +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. +# HOOKS=(base udev block mdadm encrypt filesystems) +# +## This setup loads an lvm2 volume group on a usb device. +# HOOKS=(base udev block lvm2 filesystems) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr, fsck and shutdown hooks. +HOOKS=(base udev modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs 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="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +#COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" +COMPRESSION="zstd" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() diff --git a/layla/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/layla/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf new file mode 100644 index 0000000..5c008e5 --- /dev/null +++ b/layla/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf @@ -0,0 +1,3 @@ +HOOKS=(base udev microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard) +COMPRESSION="xz" +COMPRESSION_OPTIONS=(-9e) diff --git a/layla/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/layla/archiso/airootfs/etc/mkinitcpio.d/linux.preset new file mode 100644 index 0000000..9f67184 --- /dev/null +++ b/layla/archiso/airootfs/etc/mkinitcpio.d/linux.preset @@ -0,0 +1,8 @@ +# mkinitcpio preset file for the 'linux' package on archiso + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux' +ALL_config='/etc/mkinitcpio.conf' + +archiso_image="/boot/initramfs-linux.img" diff --git a/layla/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf b/layla/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf new file mode 100644 index 0000000..0eae70c --- /dev/null +++ b/layla/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf @@ -0,0 +1,7 @@ +# The broadcom-wl package requires some modules to be disabled in order to use +# wl. Since the ISO image needs to cover many hardware cases, this file +# overrides the default blacklist in /usr/lib/modprobe.d/ +# +# If you need to use wl, you may need to delete this file, then `rmmod` any +# already-loaded modules that are now blacklisted before proceeding to modprobe +# wl itself. diff --git a/layla/archiso/airootfs/etc/motd b/layla/archiso/airootfs/etc/motd new file mode 100644 index 0000000..4d9eda1 --- /dev/null +++ b/layla/archiso/airootfs/etc/motd @@ -0,0 +1,11 @@ +To install Arch Linux follow the installation guide: +https://wiki.archlinux.org/title/Installation_guide + +For Wi-Fi, authenticate to the wireless network using the iwctl utility. +For mobile broadband (WWAN) modems, connect with the mmcli utility. +Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. + +After connecting to the internet, the installation guide can be accessed +via the convenience script Installation_guide. + +                                           diff --git a/layla/archiso/airootfs/etc/pacman-more.conf b/layla/archiso/airootfs/etc/pacman-more.conf new file mode 100644 index 0000000..e76e6df --- /dev/null +++ b/layla/archiso/airootfs/etc/pacman-more.conf @@ -0,0 +1,118 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 5 + +# 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. + +#[arcolinux_repo_testing] +#SigLevel = Required DatabaseOptional +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +#[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 + +# 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/layla/archiso/airootfs/etc/pacman.conf b/layla/archiso/airootfs/etc/pacman.conf new file mode 100644 index 0000000..6161dd7 --- /dev/null +++ b/layla/archiso/airootfs/etc/pacman.conf @@ -0,0 +1,99 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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/layla/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf b/layla/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf new file mode 100644 index 0000000..fa7f15f --- /dev/null +++ b/layla/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf @@ -0,0 +1,13 @@ +no-greeting +no-permission-warning +lock-never +keyserver-options timeout=10 +keyserver-options import-clean +keyserver-options no-self-sigs-only + +keyserver hkp://keyserver.ubuntu.com:80 +#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/layla/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/layla/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/layla/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/pacman.d/mirrorlist b/layla/archiso/airootfs/etc/pacman.d/mirrorlist new file mode 100644 index 0000000..babb09c --- /dev/null +++ b/layla/archiso/airootfs/etc/pacman.d/mirrorlist @@ -0,0 +1,874 @@ +## +## Arch Linux repository mirrorlist +## Generated on 2022-07-01 +## + +# 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 +Server = https://geo.mirror.pkgbuild.com/$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://arch.lucassymons.net/$repo/os/$arch +#Server = https://arch.lucassymons.net/$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 +#Server = http://mirrors.wale.id.au/archlinux/$repo/os/$arch +#Server = https://mirrors.wale.id.au/archlinux/$repo/os/$arch + +## Austria +#Server = http://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = https://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch +#Server = http://mirror.easyname.at/archlinux/$repo/os/$arch +#Server = https://at.arch.mirror.kescher.at/$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://archlinux-br.com.br/archlinux/$repo/os/$arch +#Server = https://archlinux-br.com.br/archlinux/$repo/os/$arch +#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 = https://mirror.darklinux.uk/archlinux/$repo/os/$arch +#Server = http://mirror.host.ag/archlinux/$repo/os/$arch +#Server = http://mirrors.netix.net/archlinux/$repo/os/$arch +#Server = http://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch +#Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch + +## Cambodia +#Server = http://mirror.sabay.com.kh/archlinux/$repo/os/$arch +#Server = https://mirror.sabay.com.kh/archlinux/$repo/os/$arch + +## Canada +#Server = http://mirror.0xem.ma/arch/$repo/os/$arch +#Server = https://mirror.0xem.ma/arch/$repo/os/$arch +#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://mirror.powerfly.ca/archlinux/$repo/os/$arch +#Server = https://mirror.powerfly.ca/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 +#Server = http://mirror.xenyth.net/archlinux/$repo/os/$arch +#Server = https://mirror.xenyth.net/archlinux/$repo/os/$arch + +## Chile +#Server = http://mirror.anquan.cl/archlinux/$repo/os/$arch +#Server = https://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.aliyun.com/archlinux/$repo/os/$arch +#Server = https://mirrors.aliyun.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://mirrors.hit.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.hit.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 = https://mirrors.njupt.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 = http://mirrors.shanghaitech.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.shanghaitech.edu.cn/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 = http://mirrors.wsyu.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.wsyu.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 = https://europe.mirror.pkgbuild.com/$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 +#Server = https://mirror.safe-con.dk/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 + +## Estonia +#Server = http://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.ee/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.ee/archlinux/$repo/os/$arch + +## Finland +#Server = https://arch.mcstrugs.org/$repo/os/$arch +#Server = http://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = https://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = http://arch.mirror.far.fi/$repo/os/$arch +#Server = http://mirror.hosthink.net/archlinux/$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 +#Server = http://arch.yhtez.xyz/$repo/os/$arch +#Server = https://arch.yhtez.xyz/$repo/os/$arch + +## France +#Server = http://archlinux.de-labrusse.fr/$repo/os/$arch +#Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch +#Server = https://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 = http://archlinux.datagr.am/$repo/os/$arch +#Server = https://mirrors.eric.ovh/arch/$repo/os/$arch +#Server = http://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirror.ibakerserver.pt/Arch/$repo/os/$arch +#Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch +#Server = https://arch.juline.tech/$repo/os/$arch +#Server = http://mirroir.labhouse.fr/arch/$repo/os/$arch +#Server = https://mirroir.labhouse.fr/arch/$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://mirror.theo546.fr/archlinux/$repo/os/$arch +#Server = https://mirror.theo546.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.23m.com/archlinux/$repo/os/$arch +#Server = https://mirror.23m.com/archlinux/$repo/os/$arch +#Server = http://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch +#Server = https://ftp.agdsn.de/pub/mirrors/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.clientvps.com/archlinux/$repo/os/$arch +#Server = https://mirror.clientvps.com/archlinux/$repo/os/$arch +#Server = http://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://mirror.dogado.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://pkg.fef.moe/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 = https://archlinux.homeinfo.de/$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://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = https://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = http://archlinux.mirror.iphh.net/$repo/os/$arch +#Server = https://mirror.iusearchbtw.nl/$repo/os/$arch +#Server = http://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = https://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = http://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = https://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = http://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://de.arch.mirror.kescher.at/$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://archlinux.mirror.luzea.de/$repo/os/$arch +#Server = https://archlinux.mirror.luzea.de/$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 = http://mirror.moson.org/arch/$repo/os/$arch +#Server = https://mirror.moson.org/arch/$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://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = https://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = http://phinau.de/arch/$repo/os/$arch +#Server = https://phinau.de/arch/$repo/os/$arch +#Server = https://mirror.pseudoform.org/$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/archlinux/$repo/os/$arch +#Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = http://arch.mirror.zachlge.org/$repo/os/$arch +#Server = https://arch.mirror.zachlge.org/$repo/os/$arch + +## Greece +#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch +#Server = https://repo.greeklug.gr/data/pub/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 = https://asia.mirror.pkgbuild.com/$repo/os/$arch +#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.ek-cer.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 = https://archmirror.akhl.in/$repo/os/$arch +#Server = https://repo.albony.xyz/$repo/os/$arch +#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch +#Server = http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = https://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = https://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch +#Server = https://mirrors.nxtgen.com/archlinux-mirror/$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 +#Server = http://mirror.sahil.world/archlinux/$repo/os/$arch +#Server = https://mirror.sahil.world/archlinux/$repo/os/$arch + +## Indonesia +#Server = http://mirror.cloudweeb.com/archlinux/$repo/os/$arch +#Server = http://mirror.faizuladib.com/archlinux/$repo/os/$arch +#Server = http://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = http://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = https://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = http://kebo.pens.ac.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://mirror.repository.id/archlinux/$repo/os/$arch +#Server = https://mirror.repository.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://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = https://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = http://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = https://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = http://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = https://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = http://repo.iut.ac.ir/repo/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://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch +#Server = https://archlinux.mivzakim.net/$repo/os/$arch + +## Italy +#Server = https://archmirror.it/repos/$repo/os/$arch +#Server = http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch +#Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.server24.net/$repo/os/$arch +#Server = https://archlinux.mirror.server24.net/$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.hoster.kz/archlinux/$repo/os/$arch +#Server = https://mirror.hoster.kz/archlinux/$repo/os/$arch +#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 +#Server = https://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 + +## Mexico +#Server = https://arch.jsc.mx/$repo/os/$arch + +## Moldova +#Server = http://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = https://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = http://mirror.mangohost.net/archlinux/$repo/os/$arch +#Server = https://mirror.mangohost.net/archlinux/$repo/os/$arch + +## Monaco +#Server = http://archlinux.qontinuum.space/archlinux/$repo/os/$arch +#Server = https://archlinux.qontinuum.space/archlinux/$repo/os/$arch + +## Netherlands +#Server = http://mirror.cj2.nl/archlinux/$repo/os/$arch +#Server = https://mirror.cj2.nl/archlinux/$repo/os/$arch +#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://mirrors.viflcraft.top/archlinux/$repo/os/$arch +#Server = https://mirrors.viflcraft.top/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.2degrees.nz/archlinux/$repo/os/$arch +#Server = https://mirror.2degrees.nz/archlinux/$repo/os/$arch +#Server = http://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://archlinux.ourhome.kiwi/$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://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$repo/os/$arch +#Server = https://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$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 + +## Pakistan +#Server = http://repo.inara.pk/archlinux/$repo/os/$arch +#Server = https://repo.inara.pk/archlinux/$repo/os/$arch + +## Paraguay +#Server = http://archlinux.mirror.py/archlinux/$repo/os/$arch + +## Poland +#Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch +#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://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = https://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = http://arch.midov.pl/arch/$repo/os/$arch +#Server = https://arch.midov.pl/arch/$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://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = http://repo.skni.umcs.pl/archlinux/$repo/os/$arch +#Server = https://repo.skni.umcs.pl/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 +#Server = http://mirrors.up.pt/pub/archlinux/$repo/os/$arch +#Server = https://mirrors.up.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://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = https://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = http://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = http://mirrors.hostico.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.hostico.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://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = https://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = http://mirror.surf/archlinux/$repo/os/$arch +#Server = https://mirror.surf/archlinux/$repo/os/$arch +#Server = http://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#Server = https://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#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 = https://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 + +## Réunion +#Server = http://arch.mithril.re/$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.guillaumea.fr/archlinux/$repo/os/$arch +#Server = https://mirror.guillaumea.fr/archlinux/$repo/os/$arch +#Server = http://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = https://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = http://ossmirror.mycloud.services/os/linux/archlinux/$repo/os/$arch +#Server = http://mirror.sg.gs/archlinux/$repo/os/$arch +#Server = https://mirror.sg.gs/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 +#Server = http://arch.tux.si/mirror/$repo/os/$arch +#Server = https://arch.tux.si/mirror/$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://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = https://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = http://mirror.funami.tech/arch/$repo/os/$arch +#Server = https://mirror.funami.tech/arch/$repo/os/$arch +#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.misakamikoto.network/archlinux/$repo/os/$arch +#Server = https://mirror.misakamikoto.network/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 = http://ftp.rediris.es/mirror/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://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch +#Server = https://ftp.ludd.ltu.se/mirrors/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.com/archlinux/$repo/os/$arch +#Server = https://pkg.adfinis.com/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://theswissbay.ch/archlinux/$repo/os/$arch +#Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch + +## Taiwan +#Server = http://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch +#Server = http://free.nchc.org.tw/arch/$repo/os/$arch +#Server = https://free.nchc.org.tw/arch/$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://archlinux.cs.nycu.edu.tw/$repo/os/$arch +#Server = https://archlinux.cs.nycu.edu.tw/$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 = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch +#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://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = https://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch + +## Ukraine +#Server = http://archlinux.astra.in.ua/$repo/os/$arch +#Server = https://archlinux.astra.in.ua/$repo/os/$arch +#Server = http://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = https://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = http://fastmirror.pp.ua/archlinux/$repo/os/$arch +#Server = https://fastmirror.pp.ua/archlinux/$repo/os/$arch +#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://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = http://mirror.cov.ukservers.com/archlinux/$repo/os/$arch +#Server = https://mirror.cov.ukservers.com/archlinux/$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 = https://america.mirror.pkgbuild.com/$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://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 = https://mirror.ava.dev/archlinux/$repo/os/$arch +#Server = http://mirrors.bloomu.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.bloomu.edu/archlinux/$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://mirror.clarkson.edu/archlinux/$repo/os/$arch +#Server = https://mirror.clarkson.edu/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://mirror.cybersecurity.nmt.edu/archlinux/$repo/os/$arch +#Server = https://mirror.cybersecurity.nmt.edu/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://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = https://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = http://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://ridgewireless.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://ridgewireless.mm.fcix.net/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.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hodgepodge.dev/archlinux/$repo/os/$arch +#Server = http://mirror.hostup.org/archlinux/$repo/os/$arch +#Server = https://mirror.hostup.org/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 = https://arch.mirror.ivo.st/$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://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://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://archlinux.qern-industries.pw/$repo/os/$arch +#Server = https://archlinux.qern-industries.pw/$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://mirrors.radwebhosting.com/archlinux/$repo/os/$arch +#Server = https://mirrors.radwebhosting.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 = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirror2.sandyriver.net/pub/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://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch +#Server = https://mirror.phx1.us.spryservers.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 = https://mirror.theash.xyz/arch/$repo/os/$arch +#Server = https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch +#Server = http://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = https://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = http://mirrors.vectair.net/archlinux/$repo/os/$arch +#Server = https://mirrors.vectair.net/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 +#Server = https://zxcvfdsa.com/arch/$repo/os/$arch + +## Uzbekistan +#Server = http://mirror.dc.uz/arch/$repo/os/$arch +#Server = https://mirror.dc.uz/arch/$repo/os/$arch + +## Vietnam +#Server = https://mirrors.42tm.tech/archlinux/$repo/os/$arch +#Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch +#Server = http://mirror.bizflycloud.vn/archlinux/$repo/os/$arch + diff --git a/layla/archiso/airootfs/etc/passwd b/layla/archiso/airootfs/etc/passwd new file mode 100644 index 0000000..da8dd66 --- /dev/null +++ b/layla/archiso/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/usr/bin/zsh +liveuser:x:1000:1000::/home/liveuser:/bin/bash diff --git a/layla/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/layla/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules new file mode 100644 index 0000000..afc8670 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/resolv.conf b/layla/archiso/airootfs/etc/resolv.conf new file mode 120000 index 0000000..3639662 --- /dev/null +++ b/layla/archiso/airootfs/etc/resolv.conf @@ -0,0 +1 @@ +/run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/sddm.conf b/layla/archiso/airootfs/etc/sddm.conf new file mode 100644 index 0000000..bb6424f --- /dev/null +++ b/layla/archiso/airootfs/etc/sddm.conf @@ -0,0 +1,38 @@ +[General] +InputMethod= +Namespaces= +Numlock=on + +[Theme] +DisableAvatarsThreshold=7 +EnableAvatars=true +FacesDir=/usr/share/sddm/faces +ThemeDir=/usr/share/sddm/themes + +[Users] +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin +HideShells= +HideUsers= +RememberLastSession=true +RememberLastUser=true +ReuseSession=true + +[Wayland] +EnableHiDPI=true +SessionCommand=/usr/share/sddm/scripts/wayland-session +SessionDir=/usr/share/wayland-sessions +SessionLogFile=.local/share/sddm/wayland-session.log + +[X11] +DisplayCommand=/usr/share/sddm/scripts/Xsetup +DisplayStopCommand=/usr/share/sddm/scripts/Xstop +EnableHiDPI=true +MinimumVT=1 +ServerArguments=-nolisten tcp +ServerPath=/usr/bin/X +SessionCommand=/usr/share/sddm/scripts/Xsession +SessionDir=/usr/share/xsessions +SessionLogFile=.local/share/sddm/xorg-session.log +UserAuthFile=.Xauthority +XauthPath=/usr/bin/xauth +XephyrPath=/usr/bin/Xephyr diff --git a/layla/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf b/layla/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf new file mode 100644 index 0000000..31dcab1 --- /dev/null +++ b/layla/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf @@ -0,0 +1,17 @@ +[Autologin] +Relogin=false +User=liveuser +Session=dwmalci + +[General] +HaltCommand=/usr/bin/systemctl poweroff +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +Current=breeze +CursorTheme= +Font= + +[Users] +MaximumUid=60513 +MinimumUid=1000 diff --git a/layla/archiso/airootfs/etc/shadow b/layla/archiso/airootfs/etc/shadow new file mode 100644 index 0000000..3692488 --- /dev/null +++ b/layla/archiso/airootfs/etc/shadow @@ -0,0 +1,2 @@ +root::14871:::::: +liveuser::14871:::::: \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/skel/.Xresources b/layla/archiso/airootfs/etc/skel/.Xresources new file mode 100644 index 0000000..368ec2c --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/skel/.bashrc b/layla/archiso/airootfs/etc/skel/.bashrc new file mode 100644 index 0000000..7e37138 --- /dev/null +++ b/layla/archiso/airootfs/etc/skel/.bashrc @@ -0,0 +1,14 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +######## +#ALCI +######## +alias evb='sudo systemctl enable --now vboxservice.service' \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf b/layla/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf new file mode 100644 index 0000000..6ea7b41 --- /dev/null +++ b/layla/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf @@ -0,0 +1,3 @@ +# Allow root login using password authentication +PasswordAuthentication yes +PermitRootLogin yes diff --git a/layla/archiso/airootfs/etc/sudoers.d/g_wheel b/layla/archiso/airootfs/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..bbad988 --- /dev/null +++ b/layla/archiso/airootfs/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: ALL diff --git a/layla/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/layla/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf new file mode 100644 index 0000000..b69850d --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf @@ -0,0 +1,2 @@ +[Journal] +Storage=volatile diff --git a/layla/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/layla/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf new file mode 100644 index 0000000..f3ecb39 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf @@ -0,0 +1,4 @@ +[Login] +HandleSuspendKey=ignore +HandleHibernateKey=ignore +HandleLidSwitch=ignore diff --git a/layla/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf b/layla/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf new file mode 100644 index 0000000..0e9ceb4 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf @@ -0,0 +1,2 @@ +[Network] +IPv6PrivacyExtensions=yes diff --git a/layla/archiso/airootfs/etc/systemd/network/20-ethernet.network b/layla/archiso/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 0000000..d3a3271 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,24 @@ +[Match] +# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*). +# See https://bugs.archlinux.org/task/70892 +# Instead match by globbing the network interface name. +Name=en* +Name=eth* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/layla/archiso/airootfs/etc/systemd/network/20-wlan.network b/layla/archiso/airootfs/etc/systemd/network/20-wlan.network new file mode 100644 index 0000000..8b70a95 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/network/20-wlan.network @@ -0,0 +1,20 @@ +[Match] +Name=wl* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/layla/archiso/airootfs/etc/systemd/network/20-wwan.network b/layla/archiso/airootfs/etc/systemd/network/20-wwan.network new file mode 100644 index 0000000..6e1c8dd --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/network/20-wwan.network @@ -0,0 +1,19 @@ +[Match] +Name=ww* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=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/layla/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf b/layla/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf new file mode 100644 index 0000000..636f3bd --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf @@ -0,0 +1,4 @@ +# Default systemd-resolved configuration for archiso + +[Resolve] +MulticastDNS=yes diff --git a/layla/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/layla/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/choose-mirror.service b/layla/archiso/airootfs/etc/systemd/system/choose-mirror.service new file mode 100644 index 0000000..b6a3562 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service new file mode 120000 index 0000000..ebc50f0 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service new file mode 120000 index 0000000..80fa3c8 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service new file mode 120000 index 0000000..dd8e9f1 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service b/layla/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service new file mode 120000 index 0000000..24c7a26 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service new file mode 120000 index 0000000..a7e5cd4 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/default.target b/layla/archiso/airootfs/etc/systemd/system/default.target new file mode 120000 index 0000000..cf9fa51 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/display-manager.service b/layla/archiso/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/layla/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 0000000..038961e --- /dev/null +++ b/layla/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,noswap diff --git a/layla/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/layla/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf new file mode 100644 index 0000000..b9d22eb --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root - $TERM diff --git a/layla/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/layla/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service new file mode 100644 index 0000000..03db4b9 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/livecd-talk.service b/layla/archiso/airootfs/etc/systemd/system/livecd-talk.service new file mode 100644 index 0000000..b38df22 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service new file mode 120000 index 0000000..2d8d256 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service new file mode 120000 index 0000000..3625abd --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service new file mode 120000 index 0000000..b917481 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service new file mode 120000 index 0000000..d09eec6 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service new file mode 120000 index 0000000..d372729 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service new file mode 120000 index 0000000..d21ebd9 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service new file mode 120000 index 0000000..cb2d560 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/layla/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/layla/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service new file mode 120000 index 0000000..7d6ad92 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/pacman-init.service b/layla/archiso/airootfs/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..b824884 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/pacman-init.service @@ -0,0 +1,15 @@ +[Unit] +Description=Initializes Pacman keyring +Requires=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount time-sync.target +BindsTo=etc-pacman.d-gnupg.mount +Before=archlinux-keyring-wkd-sync.service + +[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/layla/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/layla/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf new file mode 100644 index 0000000..de6664d --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/layla/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket new file mode 120000 index 0000000..3897c63 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/pcscd.socket \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/layla/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 0000000..51942c8 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/layla/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service new file mode 120000 index 0000000..98c0fc8 --- /dev/null +++ b/layla/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/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service new file mode 120000 index 0000000..cabf28b --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-time-wait-sync.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/layla/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/layla/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/layla/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/layla/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/layla/archiso/airootfs/etc/xdg/reflector/reflector.conf b/layla/archiso/airootfs/etc/xdg/reflector/reflector.conf new file mode 100644 index 0000000..7c830d2 --- /dev/null +++ b/layla/archiso/airootfs/etc/xdg/reflector/reflector.conf @@ -0,0 +1,8 @@ +# Reflector configuration file for the systemd service. + +--save /etc/pacman.d/mirrorlist +--ipv4 +--ipv6 +--protocol https +--latest 20 +--sort rate diff --git a/layla/archiso/airootfs/root/.automated_script.sh b/layla/archiso/airootfs/root/.automated_script.sh new file mode 100755 index 0000000..0d95012 --- /dev/null +++ b/layla/archiso/airootfs/root/.automated_script.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash + +script_cmdline() { + local param + for param in $( /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/layla/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch b/layla/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch new file mode 100755 index 0000000..e2bbfa2 --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch @@ -0,0 +1,18 @@ +#!/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. +# +############################################################################### + +#if necessary we can use this script too diff --git a/layla/archiso/airootfs/usr/local/bin/choose-mirror b/layla/archiso/airootfs/usr/local/bin/choose-mirror new file mode 100755 index 0000000..d2349de --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/choose-mirror @@ -0,0 +1,29 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +get_cmdline() { + local param + for param in $(/etc/pacman.d/mirrorlist < /dev/null; then + tput setaf 2 + echo + echo "You are online" + echo + tput sgr0 + Online=1 + else + tput setaf 1 + echo + echo "You are not connected to the internet" + echo "We can not download the latest archlinux-keyring package" + echo + echo "Make sure you are online to retrieve packages" + echo + tput sgr0 + Online=0 + fi + } + +check_connectivity + +if [ $Online -eq 1 ] ; then + tput setaf 2 + echo + echo "Installing the latest archlinux-keyring package from the internet" + echo + tput sgr0 + sudo pacman -Sy archlinux-keyring --noconfirm + echo +fi + +echo "###############################################################################" +echo "Removing the pacman databases at /var/lib/pacman/sync/*" +echo "###############################################################################" +echo +sudo rm /var/lib/pacman/sync/* +echo + +echo "###############################################################################" +echo "Removing /etc/pacman.d/gnupg folder" +echo "###############################################################################" +echo +sudo rm -rf /etc/pacman.d/gnupg/* +echo + +echo "###############################################################################" +echo "Initialize pacman keys with pacman-key --init" +echo "###############################################################################" +echo +sudo pacman-key --init +echo + +echo "###############################################################################" +echo "Populating keyring with pacman-key --populate" +echo "###############################################################################" +echo +sudo pacman-key --populate +echo + +echo "###############################################################################" +echo "Adding Ubuntu keyserver to /etc/pacman.d/gnupg/gpg.conf" +echo "###############################################################################" +echo +echo " +keyserver hkp://keyserver.ubuntu.com:80" | sudo tee --append /etc/pacman.d/gnupg/gpg.conf + +echo +echo "###############################################################################" +echo "Getting new databases with pacman -Sy" +echo "###############################################################################" +echo +sudo pacman -Sy +echo + +echo "###############################################################################" +echo "### DONE - YOU CAN CLOSE THIS WINDOW ####" +echo "###############################################################################" \ No newline at end of file diff --git a/layla/archiso/airootfs/usr/local/bin/fixkey b/layla/archiso/airootfs/usr/local/bin/fixkey new file mode 120000 index 0000000..135401b --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/fixkey @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/layla/archiso/airootfs/usr/local/bin/fixkeys b/layla/archiso/airootfs/usr/local/bin/fixkeys new file mode 120000 index 0000000..135401b --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/fixkeys @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/layla/archiso/airootfs/usr/local/bin/get-chadwm b/layla/archiso/airootfs/usr/local/bin/get-chadwm new file mode 100755 index 0000000..431ca74 --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/get-chadwm @@ -0,0 +1,158 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +installed_dir=$(dirname $(readlink -f $(basename `pwd`))) + +################################################################################################################## + +sudo pacman -Syyu +sudo pacman -S wget --noconfirm --needed +sudo pacman -S jq --noconfirm --needed +arco_repo_db=$(wget -qO- https://api.github.com/repos/arcolinux/arcolinux_repo/contents/x86_64) +echo "Getting the ArcoLinux keys from the ArcoLinux repo" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-keyring")) | .name] | .[0] | sub("arcolinux-keyring-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-keyring-")')" -O /tmp/arcolinux-keyring-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-keyring-git-any.pkg.tar.zst + +###################################################################################################################### + +echo "Getting the latest arcolinux mirrors file" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-mirrorlist-git-")) | .name] | .[0] | sub("arcolinux-mirrorlist-git-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-mirrorlist-git-")')" -O /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst + +if grep -q arcolinux_repo /etc/pacman.conf; then + + echo + tput setaf 2 + echo "################################################################" + echo "################ ArcoLinux repos are already in /etc/pacman.conf " + echo "################################################################" + tput sgr0 + echo + +else + +echo ' + +#[arcolinux_repo_testing] +#SigLevel = PackageRequired DatabaseNever +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist' | sudo tee --append /etc/pacman.conf + +fi + + +sudo pacman -Sy + + + +func_install() { + if pacman -Qi $1 &> /dev/null; then + tput setaf 2 + echo "###############################################################################" + echo "################## The package "$1" is already installed" + echo "###############################################################################" + echo + tput sgr0 + else + tput setaf 3 + echo "###############################################################################" + echo "################## Installing package " $1 + echo "###############################################################################" + echo + tput sgr0 + sudo pacman -S --noconfirm --needed $1 + fi +} + +func_install_chadwm() { + + echo + tput setaf 2 + echo "################################################################" + echo "################### Install chadwm" + echo "################################################################" + tput sgr0 + echo + + list=( + alacritty + archlinux-logout-git + arcolinux-chadwm-git + arcolinux-powermenu-git + dash + dmenu + eww + feh + lxappearance + picom + polkit-gnome + rofi-lbonn-wayland + scrot + sxhkd + thunar + thunar-archive-plugin + thunar-volman + ttf-hack + ttf-jetbrains-mono-nerd + ttf-meslo-nerd-font-powerlevel10k + volumeicon + xfce4-notifyd + xfce4-power-manager + xfce4-screenshooter + xfce4-settings + xfce4-taskmanager + xfce4-terminal + ) + + count=0 + + for name in "${list[@]}" ; do + count=$[count+1] + tput setaf 3;echo "Installing package nr. "$count " " $name;tput sgr0; + func_install $name + done +} + +func_install_chadwm + +cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) +cp -arf /etc/skel/. ~ diff --git a/layla/archiso/airootfs/usr/local/bin/get-nemesis-on-alci b/layla/archiso/airootfs/usr/local/bin/get-nemesis-on-alci new file mode 100755 index 0000000..5a69d41 --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/get-nemesis-on-alci @@ -0,0 +1,51 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +#iso=alci-iso + +echo +tput setaf 3 +echo "################################################################" +echo "################### Start clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo + +sudo pacman -Sy git --noconfirm --needed + +[ -d $HOME"/DATA" ] || mkdir -p $HOME"/DATA" +cd ~/DATA +git clone https://github.com/erikdubois/arcolinux-nemesis + +echo +tput setaf 3 +echo "################################################################" +echo "################### End clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo \ No newline at end of file diff --git a/layla/archiso/airootfs/usr/local/bin/livecd-sound b/layla/archiso/airootfs/usr/local/bin/livecd-sound new file mode 100755 index 0000000..b92fcf2 --- /dev/null +++ b/layla/archiso/airootfs/usr/local/bin/livecd-sound @@ -0,0 +1,239 @@ +#!/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() { + [[ -n "$3" && -n "$2" && -n "$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() { + [[ -n "$1" && -n "$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() { + [[ -n "$3" && -n "$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" /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 == 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 (( $# == 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/layla/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in b/layla/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in new file mode 100644 index 0000000..3f9c7aa --- /dev/null +++ b/layla/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/layla/archiso/bootstrap_packages.x86_64 b/layla/archiso/bootstrap_packages.x86_64 new file mode 100644 index 0000000..64966d0 --- /dev/null +++ b/layla/archiso/bootstrap_packages.x86_64 @@ -0,0 +1,2 @@ +arch-install-scripts +base diff --git a/layla/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/layla/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf new file mode 100644 index 0000000..afd8e99 --- /dev/null +++ b/layla/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -0,0 +1,5 @@ +title Arch Linux install medium (x86_64, UEFI) +sort-key 01 +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n diff --git a/layla/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf b/layla/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf new file mode 100644 index 0000000..c216f5e --- /dev/null +++ b/layla/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf @@ -0,0 +1,7 @@ +title Arch Linux install medium (x86_64, UEFI) with speech +sort-key 02 +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% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/layla/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf b/layla/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf new file mode 100644 index 0000000..d0b305c --- /dev/null +++ b/layla/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf @@ -0,0 +1,3 @@ +title Memtest86+ +sort-key 03 +efi /boot/memtest86+/memtest.efi diff --git a/layla/archiso/efiboot/loader/loader.conf b/layla/archiso/efiboot/loader/loader.conf new file mode 100644 index 0000000..2d137aa --- /dev/null +++ b/layla/archiso/efiboot/loader/loader.conf @@ -0,0 +1,3 @@ +timeout 15 +default 01-archiso-x86_64-linux.conf +beep on diff --git a/layla/archiso/grub/grub.cfg b/layla/archiso/grub/grub.cfg new file mode 100644 index 0000000..93aa0f1 --- /dev/null +++ b/layla/archiso/grub/grub.cfg @@ -0,0 +1,107 @@ +# Load partition table and file system modules +insmod part_gpt +insmod part_msdos +insmod fat +insmod iso9660 +insmod ntfs +insmod ntfscomp +insmod exfat +insmod udf + +# Use graphics-mode output +if loadfont "${prefix}/fonts/unicode.pf2" ; then + insmod all_video + set gfxmode="auto" + terminal_input console + terminal_output console +fi + +# Enable serial console +insmod serial +insmod usbserial_common +insmod usbserial_ftdi +insmod usbserial_pl2303 +insmod usbserial_usbdebug +if serial --unit=0 --speed=115200; then + terminal_input --append serial + terminal_output --append serial +fi + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=alci +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} + + +# GRUB init tune for accessibility +play 600 988 1 1319 4 diff --git a/layla/archiso/grub/loopback.cfg b/layla/archiso/grub/loopback.cfg new file mode 100644 index 0000000..d7d5ece --- /dev/null +++ b/layla/archiso/grub/loopback.cfg @@ -0,0 +1,80 @@ +# https://www.supergrubdisk.org/wiki/Loopback.cfg + +# Search for the ISO volume +search --no-floppy --set=archiso_img_dev --file "${iso_path}" +probe --set archiso_img_dev_uuid --fs-uuid "${archiso_img_dev}" + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=archlinux +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" accessibility=on + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} diff --git a/layla/archiso/packages.x86_64 b/layla/archiso/packages.x86_64 new file mode 100644 index 0000000..9faced8 --- /dev/null +++ b/layla/archiso/packages.x86_64 @@ -0,0 +1,277 @@ +alsa-utils +amd-ucode +arch-install-scripts +archinstall +b43-fwcutter +base +bcachefs-tools +bind +bolt +brltty +broadcom-wl +btrfs-progs +clonezilla +cloud-init +cryptsetup +darkhttpd +ddrescue +dhclient +dhcpcd +diffutils +dmidecode +dmraid +dnsmasq +dosfstools +e2fsprogs +edk2-shell +efibootmgr +espeakup +ethtool +exfatprogs +f2fs-tools +fatresize +foot-terminfo +fsarchiver +gnu-netcat +gpart +gpm +gptfdisk +grml-zsh-config +grub +hdparm +hyperv +intel-ucode +irssi +iw +iwd +jfsutils +kitty-terminfo +ldns +less +lftp +libfido2 +libusb-compat +linux +linux-atm +linux-firmware +linux-firmware-marvell +livecd-sounds +lsscsi +lvm2 +lynx +man-db +man-pages +mc +mdadm +memtest86+ +memtest86+-efi +mkinitcpio +mkinitcpio-archiso +mkinitcpio-nfs-utils +modemmanager +mtools +nano +nbd +ndisc6 +nfs-utils +nilfs-utils +nmap +ntfs-3g +nvme-cli +open-iscsi +open-vm-tools +openconnect +openpgp-card-tools +openssh +openvpn +partclone +parted +partimage +pcsclite +ppp +pptpclient +pv +qemu-guest-agent +refind +reflector +reiserfsprogs +rp-pppoe +rsync +rxvt-unicode-terminfo +screen +sdparm +sequoia-sq +sg3_utils +smartmontools +sof-firmware +squashfs-tools +sudo +syslinux +systemd-resolvconf +tcpdump +terminus-font +testdisk +tmux +tpm2-tools +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 +#alci-calamares-dev +alci-calamares-config +#alci-calamares-config-btrfs +#alci-calamares-config-dev +#alci-calamares-config-hardened +#alci-calamares-config-lts +#alci-calamares-config-pure +#alci-calamares-config-xanmod +#alci-calamares-config-zen +xterm + +####################################################### +### PACKAGES THAT STAY AFTER INSTALLATION ### +####################################################### + +sddm +bash-completion +os-prober +dex +libxinerama +make +xorg-xkill +xterm +xorg-xrdb +mkinitcpio-openswap + +##### you can also use nmtui from the terminal +#networkmanager +#network-manager-applet + +####################################################### +### EXTRAS ### +####################################################### + +##### xorg applications + +#xorg-server +#xorg-apps +#neofetch + + +##### Drivers for graphical cards + +#driver for virtualbox - xf86-video-vmware is dependency +#systemctl enable vboxservice +#systemctl start vboxservice +#to have fullscreen +#virtualbox-guest-utils + +#xf86-video-intel +#xf86-video-amdgpu +#xf86-video-nouveau + +#nvidia +#nvidia-settings +#nvidia-utils + + + +##### lightdm display manager + +#lightdm +#lightdm-gtk-greeter + +##### sddm display manager + +#sddm +#alci-sddm-plasma-archpaint + +##### gdm display manager + +#gdm + + + +##### want to have base-devel group + +#base-devel + +##### want to have linux-headers + +#linux-headers + + + +##### want to have a desktop + +#test +#xfce4 +#xfce4-goodies +#neofetch + + +##### want to add/use the ArcoLinux repos + +#arcolinux-mirrorlist-git +#arcolinux-keyring + +#test +#arcolinux-wallpapers-git + +##### want to add/use the Chaotic repo + +#chaotic-mirrorlist +#chaotic-keyring + +#test +#colloid-cursors-git + + +##### want to add/use your local repo packages +##### create your packages and put them in the local repo + +#There is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#Change the name erik to your own username +#update the database + +#test +#nemesis-wallpapers + + +#### want have a btrfs format +#### use alci-calamares-config-btrfs + +#timeshift +#grub-btrfs +#timeshift-autosnap +git + +#grub theme +alci-grub-theme-git diff --git a/layla/archiso/pacman.conf b/layla/archiso/pacman.conf new file mode 100644 index 0000000..7039169 --- /dev/null +++ b/layla/archiso/pacman.conf @@ -0,0 +1,139 @@ +# +# /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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +# We cannot check disk space from within a chroot environment +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#you can create packages and put them on your local repo +#the folder should be on your homedirectory with the name alci_local_repo +#see uploaded example -there is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#update the packages database +#Change the name erik to your own username + +#Your local repository +#[alci_local_repo] +#SigLevel = Optional TrustedOnly +#Server = file:///home/erik/$repo/$arch + +#repository from ALCI +[alci_repo] +SigLevel = Optional TrustedOnly +Server = https://arch-linux-calamares-installer.github.io/$repo/$arch + +#repositories from ArcoLinux +#[arcolinux_repo_testing] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_3party] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_xlarge] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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 + +#more repositories here : +#https://wiki.archlinux.org/index.php/unofficial_user_repositories + +#remember to add chaotic-mirrorlist and chaotic-keyring to the packages.x86_64 +#[chaotic-aur] +#Include = /etc/pacman.d/chaotic-mirrorlist diff --git a/layla/archiso/profiledef.sh b/layla/archiso/profiledef.sh new file mode 100644 index 0000000..11ad606 --- /dev/null +++ b/layla/archiso/profiledef.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 + +iso_name="archlinux" +iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)" +iso_publisher="Arch Linux " +iso_application="Arch Linux Live/Rescue DVD" +iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" +install_dir="arch" +buildmodes=('iso') +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' + 'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp' + 'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito') +arch="x86_64" +pacman_conf="pacman.conf" +airootfs_image_type="squashfs" +airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19') +file_permissions=( + ["/etc/shadow"]="0:0:400" + ["/root"]="0:0:750" + ["/root/.automated_script.sh"]="0:0:755" + ["/root/.gnupg"]="0:0:700" + ["/usr/local/bin/choose-mirror"]="0:0:755" + ["/usr/local/bin/Installation_guide"]="0:0:755" + ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/etc/polkit-1/rules.d"]="0:0:750" + ["/etc/sudoers.d"]="0:0:750" + ["/usr/local/bin/alci-make-a-pure-arch"]="0:0:755" + ["/usr/local/bin/alci-displaymanager-check"]="0:0:755" + ["/usr/local/bin/get-nemesis-on-alci"]="0:0:755" + ["/usr/local/bin/fix-keys"]="0:0:755" + ["/usr/local/bin/get-chadwm"]="0:0:755" +) diff --git a/layla/archiso/syslinux/archiso_head.cfg b/layla/archiso/syslinux/archiso_head.cfg new file mode 100644 index 0000000..671ab4e --- /dev/null +++ b/layla/archiso/syslinux/archiso_head.cfg @@ -0,0 +1,28 @@ +SERIAL 0 115200 +UI vesamenu.c32 +MENU TITLE Arch Linux +MENU BACKGROUND splash.png + +MENU WIDTH 78 +MENU MARGIN 4 +MENU ROWS 7 +MENU VSHIFT 10 +MENU TABMSGROW 14 +MENU CMDLINEROW 14 +MENU HELPMSGROW 16 +MENU HELPMSGENDROW 29 + +# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32 + +MENU COLOR border 30;44 #40ffffff #a0000000 std +MENU COLOR title 1;36;44 #9033ccff #a0000000 std +MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all +MENU COLOR unsel 37;44 #50ffffff #a0000000 std +MENU COLOR help 37;40 #c0ffffff #a0000000 std +MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std +MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std +MENU COLOR msg07 37;40 #90ffffff #a0000000 std +MENU COLOR tabmsg 31;40 #30ffffff #00000000 std + +MENU CLEAR +MENU IMMEDIATE diff --git a/layla/archiso/syslinux/archiso_pxe-linux.cfg b/layla/archiso/syslinux/archiso_pxe-linux.cfg new file mode 100644 index 0000000..5d0f741 --- /dev/null +++ b/layla/archiso/syslinux/archiso_pxe-linux.cfg @@ -0,0 +1,32 @@ +LABEL arch64_nbd +TEXT HELP +Boot the Arch Linux install medium using NBD. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NBD) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y +SYSAPPEND 3 + +LABEL arch64_nfs +TEXT HELP +Boot the Arch Linux live medium using NFS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NFS) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y +SYSAPPEND 3 + +LABEL arch64_http +TEXT HELP +Boot the Arch Linux live medium using HTTP. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, HTTP) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y +SYSAPPEND 3 diff --git a/layla/archiso/syslinux/archiso_pxe.cfg b/layla/archiso/syslinux/archiso_pxe.cfg new file mode 100644 index 0000000..b4c9a80 --- /dev/null +++ b/layla/archiso/syslinux/archiso_pxe.cfg @@ -0,0 +1,5 @@ +INCLUDE archiso_head.cfg + +INCLUDE archiso_pxe-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/layla/archiso/syslinux/archiso_sys-linux.cfg b/layla/archiso/syslinux/archiso_sys-linux.cfg new file mode 100644 index 0000000..7d3458e --- /dev/null +++ b/layla/archiso/syslinux/archiso_sys-linux.cfg @@ -0,0 +1,20 @@ +LABEL arch64 +TEXT HELP +Boot the Arch Linux install medium on BIOS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + +# Accessibility boot option +LABEL arch64speech +TEXT HELP +Boot the Arch Linux install medium on BIOS with speakup screen reader. +It allows you to install Arch Linux or perform system maintenance with speech feedback. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) with ^speech +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/layla/archiso/syslinux/archiso_sys.cfg b/layla/archiso/syslinux/archiso_sys.cfg new file mode 100644 index 0000000..d93bcfe --- /dev/null +++ b/layla/archiso/syslinux/archiso_sys.cfg @@ -0,0 +1,8 @@ +INCLUDE archiso_head.cfg + +DEFAULT arch64 +TIMEOUT 150 + +INCLUDE archiso_sys-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/layla/archiso/syslinux/archiso_tail.cfg b/layla/archiso/syslinux/archiso_tail.cfg new file mode 100644 index 0000000..e84897c --- /dev/null +++ b/layla/archiso/syslinux/archiso_tail.cfg @@ -0,0 +1,35 @@ +LABEL existing +TEXT HELP +Boot an existing operating system. +Press TAB to edit the disk and partition number to boot. +ENDTEXT +MENU LABEL Boot existing OS +COM32 chain.c32 +APPEND hd0 0 + +# https://www.memtest.org/ +LABEL memtest +MENU LABEL Run Memtest86+ (RAM test) +LINUX /boot/memtest86+/memtest + +# https://wiki.syslinux.org/wiki/index.php/Hdt_(Hardware_Detection_Tool) +LABEL hdt +MENU LABEL Hardware Information (HDT) +COM32 hdt.c32 +APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz + +LABEL reboot +TEXT HELP +Reboot computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Reboot +COM32 reboot.c32 + +LABEL poweroff +TEXT HELP +Power off computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Power Off +COM32 poweroff.c32 diff --git a/layla/archiso/syslinux/splash.png b/layla/archiso/syslinux/splash.png new file mode 100644 index 0000000..64b959a Binary files /dev/null and b/layla/archiso/syslinux/splash.png differ diff --git a/layla/archiso/syslinux/syslinux.cfg b/layla/archiso/syslinux/syslinux.cfg new file mode 100644 index 0000000..cbda72f --- /dev/null +++ b/layla/archiso/syslinux/syslinux.cfg @@ -0,0 +1,11 @@ +DEFAULT select + +LABEL select +COM32 whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG archiso_pxe.cfg + +LABEL sys +CONFIG archiso_sys.cfg diff --git a/layla/example-alci_local_repo/update-database.sh b/layla/example-alci_local_repo/update-database.sh new file mode 100755 index 0000000..f088b65 --- /dev/null +++ b/layla/example-alci_local_repo/update-database.sh @@ -0,0 +1,21 @@ +#!/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.arcolinuxforum.com +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +cd x86_64 +sh ./update_repo.sh + +echo "################################################################" +echo "################### Update Done ######################" +echo "################################################################" diff --git a/layla/example-alci_local_repo/x86_64/alci_local_repo.db b/layla/example-alci_local_repo/x86_64/alci_local_repo.db new file mode 120000 index 0000000..9da8485 --- /dev/null +++ b/layla/example-alci_local_repo/x86_64/alci_local_repo.db @@ -0,0 +1 @@ +alci_local_repo.db.tar.gz \ No newline at end of file diff --git a/layla/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz b/layla/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz new file mode 100644 index 0000000..e83a7ef Binary files /dev/null and b/layla/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz differ diff --git a/layla/example-alci_local_repo/x86_64/alci_local_repo.files b/layla/example-alci_local_repo/x86_64/alci_local_repo.files new file mode 120000 index 0000000..f08872e --- /dev/null +++ b/layla/example-alci_local_repo/x86_64/alci_local_repo.files @@ -0,0 +1 @@ +alci_local_repo.files.tar.gz \ No newline at end of file diff --git a/layla/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz b/layla/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz new file mode 100644 index 0000000..49c7b70 Binary files /dev/null and b/layla/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz differ diff --git a/layla/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst b/layla/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst new file mode 100644 index 0000000..5420836 Binary files /dev/null and b/layla/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst differ diff --git a/layla/example-alci_local_repo/x86_64/update_repo.sh b/layla/example-alci_local_repo/x86_64/update_repo.sh new file mode 100755 index 0000000..2fa6a5a --- /dev/null +++ b/layla/example-alci_local_repo/x86_64/update_repo.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +rm alci_local_repo* + +echo "repo-add" +repo-add -n -R alci_local_repo.db.tar.gz *.pkg.tar.zst + +echo "####################################" +echo "Repo Updated!!" +echo "####################################" diff --git a/layla/installation-scripts/30-build-the-iso-the-first-time.sh b/layla/installation-scripts/30-build-the-iso-the-first-time.sh new file mode 100755 index 0000000..d777544 --- /dev/null +++ b/layla/installation-scripts/30-build-the-iso-the-first-time.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +echo "- Making sure we start with a clean slate next time" +tput sgr0 +echo "################################################################## " +echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/layla/installation-scripts/40-build-the-iso-local-again.sh b/layla/installation-scripts/40-build-the-iso-local-again.sh new file mode 100755 index 0000000..b96008b --- /dev/null +++ b/layla/installation-scripts/40-build-the-iso-local-again.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +#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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +#echo "- Making sure we start with a clean slate next time" +#tput sgr0 +#echo "################################################################## " +#echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/layla/keys-and-mirrors/1-get-the-keys-and-mirrors.md b/layla/keys-and-mirrors/1-get-the-keys-and-mirrors.md new file mode 100644 index 0000000..e90c664 --- /dev/null +++ b/layla/keys-and-mirrors/1-get-the-keys-and-mirrors.md @@ -0,0 +1,19 @@ +We recommend you get the ASA or ArcoLinux Spices Application. + +We are sure that it will always work in the future. + +We use the tool to turn any Arch Linux system into an ArcoLinux system. + +https://www.arcolinux.info/arcolinux-spices-application/ + +You can install it in a desktop environment or in TTY. + +Type "sudo pacman -Syyu" in a terminal to see that our repos are in the list. + +Afterwards pacman will recognize the ArcoLinux keys and the ArcoLinux mirrors. + +If that is the case you can install the Chaotic keyring and Chaotic mirrorlist. + +sudo pacman -S chaotic-keyring chaotic-mirrorlist + +Then you can add ArcoLinux and Chaotic packages to your packages list. diff --git a/layla/keys-and-mirrors/2-build-and-install-yay.sh b/layla/keys-and-mirrors/2-build-and-install-yay.sh new file mode 100755 index 0000000..8d3757c --- /dev/null +++ b/layla/keys-and-mirrors/2-build-and-install-yay.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +sudo pacman -S base-devel --noconfirm --needed + +source="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay-bin" +folder="alci-yay-bin" +name="PKGBUILD" + +mkdir /tmp/$folder +wget $source -O /tmp/$folder/$name +cd /tmp/$folder +makepkg -i diff --git a/layla/setup-our-git-credentials.sh b/layla/setup-our-git-credentials.sh new file mode 100755 index 0000000..83eafd2 --- /dev/null +++ b/layla/setup-our-git-credentials.sh @@ -0,0 +1,115 @@ +#!/bin/bash +# +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +# Problem solving commands + +# Read before using it. +# https://www.atlassian.com/git/tutorials/undoing-changes/git-reset +# git reset --hard orgin/master +# ONLY if you are very sure and no coworkers are on your github. + +# Command that have helped in the past +# Force git to overwrite local files on pull - no merge +# git fetch all +# git push --set-upstream origin master +# git reset --hard orgin/master + + +#setting up git +#https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config +#https://medium.com/clarusway/how-to-use-git-github-without-asking-for-authentication-always-passwordless-usage-of-private-git-8c32489bc2e9 +#https://blog.nillsf.com/index.php/2021/05/27/github-sso-using-password-protected-ssh-keys + +project=$(basename `pwd`) +githubdir="arch-linux-calamares-installer" +echo "-----------------------------------------------------------------------------" +echo "this is project https://github.com/$githubdir/$project" +echo "-----------------------------------------------------------------------------" + +echo +tput setaf 1 +echo "################################################################" +echo "##### Choose wisely - one time setup after clean install ####" +echo "################################################################" +tput sgr0 +echo +echo "Select the correct desktop" +echo +echo "0. Do nothing" +echo "1. Erik" +echo "2. Raniel" +echo "3. Steve" +echo "Type the number..." + +read CHOICE + +case $CHOICE in + + 0 ) + echo + echo "########################################" + echo "We did nothing as per your request" + echo "########################################" + echo + ;; + + 1 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "arcolinuxz" + git config --global user.email "arcolinuxinfo@gmail.com" + sudo git config --system core.editor nano + #git config --global credential.helper cache + #git config --global credential.helper 'cache --timeout=32000' + git remote set-url origin git@github.com:$githubdir/$project + echo + echo "Everything set" + ;; + 2 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Raniel Laguna" + git config --global user.email "avraniel@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + 3 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Steve Younger" + git config --global user.email "coritanie@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + * ) + echo "#################################" + echo "Choose the correct number" + echo "#################################" + ;; +esac + +echo "################################################################" +echo "################### T H E E N D ######################" +echo "################################################################" diff --git a/layla/up+.sh b/layla/up+.sh new file mode 100755 index 0000000..1a6d204 --- /dev/null +++ b/layla/up+.sh @@ -0,0 +1,68 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +# reset - commit your changes or stash them before you merge +# git reset --hard - personal alias - grh + +echo "Deleting the work folder if one exists" +[ -d work ] && rm -rf work + +# checking if I have the latest files from github +echo "Checking for newer files online first" +git pull + +# Below command will backup everything inside the project folder +git add --all . + +# Give a comment to the commit if you want +echo "####################################" +echo "Write your commit comment!" +echo "####################################" + +read input + +# Committing to the local repository with a message containing the time details and commit text + +git commit -m "$input" + +# Push the local files to github + +if grep -q main .git/config; then + echo "Using main" + git push -u origin main +fi + +if grep -q master .git/config; then + echo "Using master" + git push -u origin master +fi + +echo "################################################################" +echo "################### Git Push Done ######################" +echo "################################################################" diff --git a/midori/1-get-all-alci-gits-v1.sh b/midori/1-get-all-alci-gits-v1.sh new file mode 100755 index 0000000..96bae9a --- /dev/null +++ b/midori/1-get-all-alci-gits-v1.sh @@ -0,0 +1,52 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +echo "This gets all the existing githubs at once" +echo "Fill the array with the original folders first" + +# use ls -d */ > list to get the list of the created githubs and copy/paste in + +directories=( +alci-calamares-config/ +alci-calamares-config-dev/ +alci-calamares-config-hardened/ +alci-calamares-config-lts/ +alci-calamares-config-pure/ +alci-calamares-config-xanmod/ +alci-calamares-config-zen/ +alci-dwm/ +alci-dwm-nemesis/ +alci-grub-theme/ +alci-iso/ +alci-iso-dev/ +alci-iso-hardened/ +alci-iso-lts/ +alci-iso-pure/ +alci-iso-xanmod/ +alci-iso-zen/ +alci-pkgbuild/ +alci_repo/ +nemesis-wallpapers/ +) + +count=0 + +for name in "${directories[@]}"; do + count=$[count+1] + tput setaf 1;echo "Github "$count;tput sgr0; + # if there is no folder then make one + git clone https://github.com/arch-linux-calamares-installer/$name + echo "#################################################" + echo "################ "$(basename `pwd`)" done" + echo "#################################################" +done diff --git a/midori/archiso/airootfs/etc/default/grub b/midori/archiso/airootfs/etc/default/grub new file mode 100644 index 0000000..889f998 --- /dev/null +++ b/midori/archiso/airootfs/etc/default/grub @@ -0,0 +1,54 @@ +# GRUB boot loader configuration + +GRUB_DEFAULT=0 +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="Arch" +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/midori/archiso/airootfs/etc/group b/midori/archiso/airootfs/etc/group new file mode 100644 index 0000000..2f50b54 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/gshadow b/midori/archiso/airootfs/etc/gshadow new file mode 100644 index 0000000..8bf2275 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/hostname b/midori/archiso/airootfs/etc/hostname new file mode 100644 index 0000000..2dbe21e --- /dev/null +++ b/midori/archiso/airootfs/etc/hostname @@ -0,0 +1 @@ +archiso diff --git a/midori/archiso/airootfs/etc/locale.conf b/midori/archiso/airootfs/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/midori/archiso/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/midori/archiso/airootfs/etc/localtime b/midori/archiso/airootfs/etc/localtime new file mode 120000 index 0000000..0e35b57 --- /dev/null +++ b/midori/archiso/airootfs/etc/localtime @@ -0,0 +1 @@ +/usr/share/zoneinfo/UTC \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/mkinitcpio.conf b/midori/archiso/airootfs/etc/mkinitcpio.conf new file mode 100644 index 0000000..be5c1ac --- /dev/null +++ b/midori/archiso/airootfs/etc/mkinitcpio.conf @@ -0,0 +1,67 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(piix ide_disk reiserfs) +MODULES=() + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=() + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No raid, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect block filesystems) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev block filesystems) +# +## This setup assembles a pata mdadm array with an encrypted root FS. +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. +# HOOKS=(base udev block mdadm encrypt filesystems) +# +## This setup loads an lvm2 volume group on a usb device. +# HOOKS=(base udev block lvm2 filesystems) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr, fsck and shutdown hooks. +HOOKS=(base udev modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs 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="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +#COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" +COMPRESSION="zstd" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() diff --git a/midori/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/midori/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf new file mode 100644 index 0000000..5c008e5 --- /dev/null +++ b/midori/archiso/airootfs/etc/mkinitcpio.conf.d/archiso.conf @@ -0,0 +1,3 @@ +HOOKS=(base udev microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard) +COMPRESSION="xz" +COMPRESSION_OPTIONS=(-9e) diff --git a/midori/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/midori/archiso/airootfs/etc/mkinitcpio.d/linux.preset new file mode 100644 index 0000000..9f67184 --- /dev/null +++ b/midori/archiso/airootfs/etc/mkinitcpio.d/linux.preset @@ -0,0 +1,8 @@ +# mkinitcpio preset file for the 'linux' package on archiso + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux' +ALL_config='/etc/mkinitcpio.conf' + +archiso_image="/boot/initramfs-linux.img" diff --git a/midori/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf b/midori/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf new file mode 100644 index 0000000..0eae70c --- /dev/null +++ b/midori/archiso/airootfs/etc/modprobe.d/broadcom-wl.conf @@ -0,0 +1,7 @@ +# The broadcom-wl package requires some modules to be disabled in order to use +# wl. Since the ISO image needs to cover many hardware cases, this file +# overrides the default blacklist in /usr/lib/modprobe.d/ +# +# If you need to use wl, you may need to delete this file, then `rmmod` any +# already-loaded modules that are now blacklisted before proceeding to modprobe +# wl itself. diff --git a/midori/archiso/airootfs/etc/motd b/midori/archiso/airootfs/etc/motd new file mode 100644 index 0000000..4d9eda1 --- /dev/null +++ b/midori/archiso/airootfs/etc/motd @@ -0,0 +1,11 @@ +To install Arch Linux follow the installation guide: +https://wiki.archlinux.org/title/Installation_guide + +For Wi-Fi, authenticate to the wireless network using the iwctl utility. +For mobile broadband (WWAN) modems, connect with the mmcli utility. +Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. + +After connecting to the internet, the installation guide can be accessed +via the convenience script Installation_guide. + +                                           diff --git a/midori/archiso/airootfs/etc/pacman-more.conf b/midori/archiso/airootfs/etc/pacman-more.conf new file mode 100644 index 0000000..e76e6df --- /dev/null +++ b/midori/archiso/airootfs/etc/pacman-more.conf @@ -0,0 +1,118 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 5 + +# 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. + +#[arcolinux_repo_testing] +#SigLevel = Required DatabaseOptional +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = Required DatabaseOptional +Include = /etc/pacman.d/arcolinux-mirrorlist + +#[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 + +# 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/midori/archiso/airootfs/etc/pacman.conf b/midori/archiso/airootfs/etc/pacman.conf new file mode 100644 index 0000000..6161dd7 --- /dev/null +++ b/midori/archiso/airootfs/etc/pacman.conf @@ -0,0 +1,99 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# +# 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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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/midori/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf b/midori/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf new file mode 100644 index 0000000..fa7f15f --- /dev/null +++ b/midori/archiso/airootfs/etc/pacman.d/gnupg/gpg.conf @@ -0,0 +1,13 @@ +no-greeting +no-permission-warning +lock-never +keyserver-options timeout=10 +keyserver-options import-clean +keyserver-options no-self-sigs-only + +keyserver hkp://keyserver.ubuntu.com:80 +#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/midori/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/midori/archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook b/midori/archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook new file mode 100644 index 0000000..8dfb943 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/pacman.d/mirrorlist b/midori/archiso/airootfs/etc/pacman.d/mirrorlist new file mode 100644 index 0000000..babb09c --- /dev/null +++ b/midori/archiso/airootfs/etc/pacman.d/mirrorlist @@ -0,0 +1,874 @@ +## +## Arch Linux repository mirrorlist +## Generated on 2022-07-01 +## + +# 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 +Server = https://geo.mirror.pkgbuild.com/$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://arch.lucassymons.net/$repo/os/$arch +#Server = https://arch.lucassymons.net/$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 +#Server = http://mirrors.wale.id.au/archlinux/$repo/os/$arch +#Server = https://mirrors.wale.id.au/archlinux/$repo/os/$arch + +## Austria +#Server = http://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = https://mirror.alwyzon.net/archlinux/$repo/os/$arch +#Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch +#Server = http://mirror.easyname.at/archlinux/$repo/os/$arch +#Server = https://at.arch.mirror.kescher.at/$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://archlinux-br.com.br/archlinux/$repo/os/$arch +#Server = https://archlinux-br.com.br/archlinux/$repo/os/$arch +#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 = https://mirror.darklinux.uk/archlinux/$repo/os/$arch +#Server = http://mirror.host.ag/archlinux/$repo/os/$arch +#Server = http://mirrors.netix.net/archlinux/$repo/os/$arch +#Server = http://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch +#Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch +#Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch + +## Cambodia +#Server = http://mirror.sabay.com.kh/archlinux/$repo/os/$arch +#Server = https://mirror.sabay.com.kh/archlinux/$repo/os/$arch + +## Canada +#Server = http://mirror.0xem.ma/arch/$repo/os/$arch +#Server = https://mirror.0xem.ma/arch/$repo/os/$arch +#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://mirror.powerfly.ca/archlinux/$repo/os/$arch +#Server = https://mirror.powerfly.ca/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 +#Server = http://mirror.xenyth.net/archlinux/$repo/os/$arch +#Server = https://mirror.xenyth.net/archlinux/$repo/os/$arch + +## Chile +#Server = http://mirror.anquan.cl/archlinux/$repo/os/$arch +#Server = https://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.aliyun.com/archlinux/$repo/os/$arch +#Server = https://mirrors.aliyun.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://mirrors.hit.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.hit.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 = https://mirrors.njupt.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 = http://mirrors.shanghaitech.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.shanghaitech.edu.cn/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 = http://mirrors.wsyu.edu.cn/archlinux/$repo/os/$arch +#Server = https://mirrors.wsyu.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 = https://europe.mirror.pkgbuild.com/$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 +#Server = https://mirror.safe-con.dk/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 + +## Estonia +#Server = http://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.ee/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.ee/archlinux/$repo/os/$arch + +## Finland +#Server = https://arch.mcstrugs.org/$repo/os/$arch +#Server = http://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = https://mirror.arctic.lol/ArchMirror/$repo/os/$arch +#Server = http://arch.mirror.far.fi/$repo/os/$arch +#Server = http://mirror.hosthink.net/archlinux/$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 +#Server = http://arch.yhtez.xyz/$repo/os/$arch +#Server = https://arch.yhtez.xyz/$repo/os/$arch + +## France +#Server = http://archlinux.de-labrusse.fr/$repo/os/$arch +#Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch +#Server = https://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 = http://archlinux.datagr.am/$repo/os/$arch +#Server = https://mirrors.eric.ovh/arch/$repo/os/$arch +#Server = http://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirrors.gandi.net/archlinux/$repo/os/$arch +#Server = https://mirror.ibakerserver.pt/Arch/$repo/os/$arch +#Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch +#Server = https://arch.juline.tech/$repo/os/$arch +#Server = http://mirroir.labhouse.fr/arch/$repo/os/$arch +#Server = https://mirroir.labhouse.fr/arch/$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://mirror.theo546.fr/archlinux/$repo/os/$arch +#Server = https://mirror.theo546.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.23m.com/archlinux/$repo/os/$arch +#Server = https://mirror.23m.com/archlinux/$repo/os/$arch +#Server = http://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch +#Server = https://ftp.agdsn.de/pub/mirrors/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.clientvps.com/archlinux/$repo/os/$arch +#Server = https://mirror.clientvps.com/archlinux/$repo/os/$arch +#Server = http://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://os.codefionn.eu/archlinux/$repo/os/$arch +#Server = https://mirror.dogado.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://pkg.fef.moe/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 = https://archlinux.homeinfo.de/$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://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = https://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch +#Server = http://archlinux.mirror.iphh.net/$repo/os/$arch +#Server = https://mirror.iusearchbtw.nl/$repo/os/$arch +#Server = http://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = https://mirror.jaime.sh/archlinux/$repo/os/$arch +#Server = http://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = https://mirrors.janbruckner.de/archlinux/$repo/os/$arch +#Server = http://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://arch.jensgutermuth.de/$repo/os/$arch +#Server = https://de.arch.mirror.kescher.at/$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://archlinux.mirror.luzea.de/$repo/os/$arch +#Server = https://archlinux.mirror.luzea.de/$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 = http://mirror.moson.org/arch/$repo/os/$arch +#Server = https://mirror.moson.org/arch/$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://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = https://mirror.pagenotfound.de/archlinux/$repo/os/$arch +#Server = http://phinau.de/arch/$repo/os/$arch +#Server = https://phinau.de/arch/$repo/os/$arch +#Server = https://mirror.pseudoform.org/$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/archlinux/$repo/os/$arch +#Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch +#Server = http://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch +#Server = http://arch.mirror.zachlge.org/$repo/os/$arch +#Server = https://arch.mirror.zachlge.org/$repo/os/$arch + +## Greece +#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch +#Server = https://repo.greeklug.gr/data/pub/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 = https://asia.mirror.pkgbuild.com/$repo/os/$arch +#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.ek-cer.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 = https://archmirror.akhl.in/$repo/os/$arch +#Server = https://repo.albony.xyz/$repo/os/$arch +#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch +#Server = http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = https://in-mirror.garudalinux.org/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = https://archlinux.mirror.net.in/archlinux/$repo/os/$arch +#Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch +#Server = https://mirrors.nxtgen.com/archlinux-mirror/$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 +#Server = http://mirror.sahil.world/archlinux/$repo/os/$arch +#Server = https://mirror.sahil.world/archlinux/$repo/os/$arch + +## Indonesia +#Server = http://mirror.cloudweeb.com/archlinux/$repo/os/$arch +#Server = http://mirror.faizuladib.com/archlinux/$repo/os/$arch +#Server = http://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch +#Server = http://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = https://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch +#Server = http://kebo.pens.ac.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://mirror.repository.id/archlinux/$repo/os/$arch +#Server = https://mirror.repository.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://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = https://mirror.arvancloud.com/archlinux/$repo/os/$arch +#Server = http://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = https://mirror.bardia.tech/archlinux/$repo/os/$arch +#Server = http://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = https://mirror.hostiran.ir/archlinux/$repo/os/$arch +#Server = http://repo.iut.ac.ir/repo/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://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch +#Server = https://archlinux.mivzakim.net/$repo/os/$arch + +## Italy +#Server = https://archmirror.it/repos/$repo/os/$arch +#Server = http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch +#Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch +#Server = http://archlinux.mirror.server24.net/$repo/os/$arch +#Server = https://archlinux.mirror.server24.net/$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.hoster.kz/archlinux/$repo/os/$arch +#Server = https://mirror.hoster.kz/archlinux/$repo/os/$arch +#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 +#Server = https://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 + +## Mexico +#Server = https://arch.jsc.mx/$repo/os/$arch + +## Moldova +#Server = http://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = https://mirror.ihost.md/archlinux/$repo/os/$arch +#Server = http://mirror.mangohost.net/archlinux/$repo/os/$arch +#Server = https://mirror.mangohost.net/archlinux/$repo/os/$arch + +## Monaco +#Server = http://archlinux.qontinuum.space/archlinux/$repo/os/$arch +#Server = https://archlinux.qontinuum.space/archlinux/$repo/os/$arch + +## Netherlands +#Server = http://mirror.cj2.nl/archlinux/$repo/os/$arch +#Server = https://mirror.cj2.nl/archlinux/$repo/os/$arch +#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://mirrors.viflcraft.top/archlinux/$repo/os/$arch +#Server = https://mirrors.viflcraft.top/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.2degrees.nz/archlinux/$repo/os/$arch +#Server = https://mirror.2degrees.nz/archlinux/$repo/os/$arch +#Server = http://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch +#Server = https://archlinux.ourhome.kiwi/$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://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$repo/os/$arch +#Server = https://lysakermoen.com/Software/Linux/Mirrors/ArchLinux/$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 + +## Pakistan +#Server = http://repo.inara.pk/archlinux/$repo/os/$arch +#Server = https://repo.inara.pk/archlinux/$repo/os/$arch + +## Paraguay +#Server = http://archlinux.mirror.py/archlinux/$repo/os/$arch + +## Poland +#Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch +#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://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = https://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch +#Server = http://arch.midov.pl/arch/$repo/os/$arch +#Server = https://arch.midov.pl/arch/$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://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch +#Server = http://repo.skni.umcs.pl/archlinux/$repo/os/$arch +#Server = https://repo.skni.umcs.pl/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 +#Server = http://mirrors.up.pt/pub/archlinux/$repo/os/$arch +#Server = https://mirrors.up.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://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = https://mirror.flokinet.net/archlinux/$repo/os/$arch +#Server = http://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.go.ro/archlinux/$repo/os/$arch +#Server = http://mirrors.hostico.ro/archlinux/$repo/os/$arch +#Server = https://mirrors.hostico.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://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = https://mirror.kamtv.ru/archlinux/$repo/os/$arch +#Server = http://mirror.surf/archlinux/$repo/os/$arch +#Server = https://mirror.surf/archlinux/$repo/os/$arch +#Server = http://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#Server = https://mirror.nw-sys.ru/archlinux/$repo/os/$arch +#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 = https://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 + +## Réunion +#Server = http://arch.mithril.re/$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.guillaumea.fr/archlinux/$repo/os/$arch +#Server = https://mirror.guillaumea.fr/archlinux/$repo/os/$arch +#Server = http://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = https://mirror.jingk.ai/archlinux/$repo/os/$arch +#Server = http://ossmirror.mycloud.services/os/linux/archlinux/$repo/os/$arch +#Server = http://mirror.sg.gs/archlinux/$repo/os/$arch +#Server = https://mirror.sg.gs/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 +#Server = http://arch.tux.si/mirror/$repo/os/$arch +#Server = https://arch.tux.si/mirror/$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://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = https://mirror.anigil.com/archlinux/$repo/os/$arch +#Server = http://mirror.funami.tech/arch/$repo/os/$arch +#Server = https://mirror.funami.tech/arch/$repo/os/$arch +#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.misakamikoto.network/archlinux/$repo/os/$arch +#Server = https://mirror.misakamikoto.network/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 = http://ftp.rediris.es/mirror/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://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch +#Server = https://ftp.ludd.ltu.se/mirrors/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.com/archlinux/$repo/os/$arch +#Server = https://pkg.adfinis.com/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://theswissbay.ch/archlinux/$repo/os/$arch +#Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch + +## Taiwan +#Server = http://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch +#Server = http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch +#Server = http://free.nchc.org.tw/arch/$repo/os/$arch +#Server = https://free.nchc.org.tw/arch/$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://archlinux.cs.nycu.edu.tw/$repo/os/$arch +#Server = https://archlinux.cs.nycu.edu.tw/$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 = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch +#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://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = https://depo.turkiye.linux.web.tr/archlinux/$repo/os/$arch +#Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch + +## Ukraine +#Server = http://archlinux.astra.in.ua/$repo/os/$arch +#Server = https://archlinux.astra.in.ua/$repo/os/$arch +#Server = http://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = https://repo.endpoint.ml/archlinux/$repo/os/$arch +#Server = http://fastmirror.pp.ua/archlinux/$repo/os/$arch +#Server = https://fastmirror.pp.ua/archlinux/$repo/os/$arch +#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://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch +#Server = http://mirror.cov.ukservers.com/archlinux/$repo/os/$arch +#Server = https://mirror.cov.ukservers.com/archlinux/$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 = https://america.mirror.pkgbuild.com/$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://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 = https://mirror.ava.dev/archlinux/$repo/os/$arch +#Server = http://mirrors.bloomu.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.bloomu.edu/archlinux/$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://mirror.clarkson.edu/archlinux/$repo/os/$arch +#Server = https://mirror.clarkson.edu/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://mirror.cybersecurity.nmt.edu/archlinux/$repo/os/$arch +#Server = https://mirror.cybersecurity.nmt.edu/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://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = https://mirror.ette.biz/archlinux/$repo/os/$arch +#Server = http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = http://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = http://ridgewireless.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://coresite.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://mirror.fcix.net/archlinux/$repo/os/$arch +#Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch +#Server = https://ridgewireless.mm.fcix.net/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.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch +#Server = https://mirror.hodgepodge.dev/archlinux/$repo/os/$arch +#Server = http://mirror.hostup.org/archlinux/$repo/os/$arch +#Server = https://mirror.hostup.org/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 = https://arch.mirror.ivo.st/$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://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://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://archlinux.qern-industries.pw/$repo/os/$arch +#Server = https://archlinux.qern-industries.pw/$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://mirrors.radwebhosting.com/archlinux/$repo/os/$arch +#Server = https://mirrors.radwebhosting.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 = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch +#Server = https://mirror2.sandyriver.net/pub/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://mirror.phx1.us.spryservers.net/archlinux/$repo/os/$arch +#Server = https://mirror.phx1.us.spryservers.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 = https://mirror.theash.xyz/arch/$repo/os/$arch +#Server = https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch +#Server = http://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = https://mirror.umd.edu/archlinux/$repo/os/$arch +#Server = http://mirrors.vectair.net/archlinux/$repo/os/$arch +#Server = https://mirrors.vectair.net/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 +#Server = https://zxcvfdsa.com/arch/$repo/os/$arch + +## Uzbekistan +#Server = http://mirror.dc.uz/arch/$repo/os/$arch +#Server = https://mirror.dc.uz/arch/$repo/os/$arch + +## Vietnam +#Server = https://mirrors.42tm.tech/archlinux/$repo/os/$arch +#Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch +#Server = http://mirror.bizflycloud.vn/archlinux/$repo/os/$arch + diff --git a/midori/archiso/airootfs/etc/passwd b/midori/archiso/airootfs/etc/passwd new file mode 100644 index 0000000..da8dd66 --- /dev/null +++ b/midori/archiso/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/usr/bin/zsh +liveuser:x:1000:1000::/home/liveuser:/bin/bash diff --git a/midori/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/midori/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules new file mode 100644 index 0000000..afc8670 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/resolv.conf b/midori/archiso/airootfs/etc/resolv.conf new file mode 120000 index 0000000..3639662 --- /dev/null +++ b/midori/archiso/airootfs/etc/resolv.conf @@ -0,0 +1 @@ +/run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/sddm.conf b/midori/archiso/airootfs/etc/sddm.conf new file mode 100644 index 0000000..bb6424f --- /dev/null +++ b/midori/archiso/airootfs/etc/sddm.conf @@ -0,0 +1,38 @@ +[General] +InputMethod= +Namespaces= +Numlock=on + +[Theme] +DisableAvatarsThreshold=7 +EnableAvatars=true +FacesDir=/usr/share/sddm/faces +ThemeDir=/usr/share/sddm/themes + +[Users] +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin +HideShells= +HideUsers= +RememberLastSession=true +RememberLastUser=true +ReuseSession=true + +[Wayland] +EnableHiDPI=true +SessionCommand=/usr/share/sddm/scripts/wayland-session +SessionDir=/usr/share/wayland-sessions +SessionLogFile=.local/share/sddm/wayland-session.log + +[X11] +DisplayCommand=/usr/share/sddm/scripts/Xsetup +DisplayStopCommand=/usr/share/sddm/scripts/Xstop +EnableHiDPI=true +MinimumVT=1 +ServerArguments=-nolisten tcp +ServerPath=/usr/bin/X +SessionCommand=/usr/share/sddm/scripts/Xsession +SessionDir=/usr/share/xsessions +SessionLogFile=.local/share/sddm/xorg-session.log +UserAuthFile=.Xauthority +XauthPath=/usr/bin/xauth +XephyrPath=/usr/bin/Xephyr diff --git a/midori/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf b/midori/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf new file mode 100644 index 0000000..31dcab1 --- /dev/null +++ b/midori/archiso/airootfs/etc/sddm.conf.d/kde_settings.conf @@ -0,0 +1,17 @@ +[Autologin] +Relogin=false +User=liveuser +Session=dwmalci + +[General] +HaltCommand=/usr/bin/systemctl poweroff +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +Current=breeze +CursorTheme= +Font= + +[Users] +MaximumUid=60513 +MinimumUid=1000 diff --git a/midori/archiso/airootfs/etc/shadow b/midori/archiso/airootfs/etc/shadow new file mode 100644 index 0000000..3692488 --- /dev/null +++ b/midori/archiso/airootfs/etc/shadow @@ -0,0 +1,2 @@ +root::14871:::::: +liveuser::14871:::::: \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/skel/.Xresources b/midori/archiso/airootfs/etc/skel/.Xresources new file mode 100644 index 0000000..368ec2c --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/skel/.bashrc b/midori/archiso/airootfs/etc/skel/.bashrc new file mode 100644 index 0000000..7e37138 --- /dev/null +++ b/midori/archiso/airootfs/etc/skel/.bashrc @@ -0,0 +1,14 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +######## +#ALCI +######## +alias evb='sudo systemctl enable --now vboxservice.service' \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf b/midori/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf new file mode 100644 index 0000000..6ea7b41 --- /dev/null +++ b/midori/archiso/airootfs/etc/ssh/sshd_config.d/10-archiso.conf @@ -0,0 +1,3 @@ +# Allow root login using password authentication +PasswordAuthentication yes +PermitRootLogin yes diff --git a/midori/archiso/airootfs/etc/sudoers.d/g_wheel b/midori/archiso/airootfs/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..bbad988 --- /dev/null +++ b/midori/archiso/airootfs/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: ALL diff --git a/midori/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/midori/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf new file mode 100644 index 0000000..b69850d --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf @@ -0,0 +1,2 @@ +[Journal] +Storage=volatile diff --git a/midori/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/midori/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf new file mode 100644 index 0000000..f3ecb39 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf @@ -0,0 +1,4 @@ +[Login] +HandleSuspendKey=ignore +HandleHibernateKey=ignore +HandleLidSwitch=ignore diff --git a/midori/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf b/midori/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf new file mode 100644 index 0000000..0e9ceb4 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf @@ -0,0 +1,2 @@ +[Network] +IPv6PrivacyExtensions=yes diff --git a/midori/archiso/airootfs/etc/systemd/network/20-ethernet.network b/midori/archiso/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 0000000..d3a3271 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,24 @@ +[Match] +# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*). +# See https://bugs.archlinux.org/task/70892 +# Instead match by globbing the network interface name. +Name=en* +Name=eth* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/midori/archiso/airootfs/etc/systemd/network/20-wlan.network b/midori/archiso/airootfs/etc/systemd/network/20-wlan.network new file mode 100644 index 0000000..8b70a95 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/network/20-wlan.network @@ -0,0 +1,20 @@ +[Match] +Name=wl* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=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/midori/archiso/airootfs/etc/systemd/network/20-wwan.network b/midori/archiso/airootfs/etc/systemd/network/20-wwan.network new file mode 100644 index 0000000..6e1c8dd --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/network/20-wwan.network @@ -0,0 +1,19 @@ +[Match] +Name=ww* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=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/midori/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf b/midori/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf new file mode 100644 index 0000000..636f3bd --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/resolved.conf.d/archiso.conf @@ -0,0 +1,4 @@ +# Default systemd-resolved configuration for archiso + +[Resolve] +MulticastDNS=yes diff --git a/midori/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/midori/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/choose-mirror.service b/midori/archiso/airootfs/etc/systemd/system/choose-mirror.service new file mode 100644 index 0000000..b6a3562 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service new file mode 120000 index 0000000..ebc50f0 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service new file mode 120000 index 0000000..80fa3c8 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service new file mode 120000 index 0000000..dd8e9f1 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service b/midori/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service new file mode 120000 index 0000000..24c7a26 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service new file mode 120000 index 0000000..a7e5cd4 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.timesync1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/default.target b/midori/archiso/airootfs/etc/systemd/system/default.target new file mode 120000 index 0000000..cf9fa51 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/display-manager.service b/midori/archiso/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/midori/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 0000000..038961e --- /dev/null +++ b/midori/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,noswap diff --git a/midori/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/midori/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf new file mode 100644 index 0000000..b9d22eb --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root - $TERM diff --git a/midori/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/midori/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service new file mode 100644 index 0000000..03db4b9 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/livecd-talk.service b/midori/archiso/airootfs/etc/systemd/system/livecd-talk.service new file mode 100644 index 0000000..b38df22 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service new file mode 120000 index 0000000..2d8d256 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service new file mode 120000 index 0000000..3625abd --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service new file mode 120000 index 0000000..b917481 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service new file mode 120000 index 0000000..d09eec6 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service new file mode 120000 index 0000000..d372729 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service new file mode 120000 index 0000000..d21ebd9 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service new file mode 120000 index 0000000..cb2d560 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/midori/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/midori/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service new file mode 120000 index 0000000..7d6ad92 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/pacman-init.service b/midori/archiso/airootfs/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..b824884 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/pacman-init.service @@ -0,0 +1,15 @@ +[Unit] +Description=Initializes Pacman keyring +Requires=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount time-sync.target +BindsTo=etc-pacman.d-gnupg.mount +Before=archlinux-keyring-wkd-sync.service + +[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/midori/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/midori/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf new file mode 100644 index 0000000..de6664d --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/midori/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket new file mode 120000 index 0000000..3897c63 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/pcscd.socket \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/midori/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 0000000..51942c8 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/midori/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service new file mode 120000 index 0000000..98c0fc8 --- /dev/null +++ b/midori/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/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service new file mode 120000 index 0000000..cabf28b --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-time-wait-sync.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/midori/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/midori/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/midori/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/midori/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/midori/archiso/airootfs/etc/xdg/reflector/reflector.conf b/midori/archiso/airootfs/etc/xdg/reflector/reflector.conf new file mode 100644 index 0000000..7c830d2 --- /dev/null +++ b/midori/archiso/airootfs/etc/xdg/reflector/reflector.conf @@ -0,0 +1,8 @@ +# Reflector configuration file for the systemd service. + +--save /etc/pacman.d/mirrorlist +--ipv4 +--ipv6 +--protocol https +--latest 20 +--sort rate diff --git a/midori/archiso/airootfs/root/.automated_script.sh b/midori/archiso/airootfs/root/.automated_script.sh new file mode 100755 index 0000000..0d95012 --- /dev/null +++ b/midori/archiso/airootfs/root/.automated_script.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash + +script_cmdline() { + local param + for param in $( /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/midori/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch b/midori/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch new file mode 100755 index 0000000..e2bbfa2 --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/alci-make-a-pure-arch @@ -0,0 +1,18 @@ +#!/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. +# +############################################################################### + +#if necessary we can use this script too diff --git a/midori/archiso/airootfs/usr/local/bin/choose-mirror b/midori/archiso/airootfs/usr/local/bin/choose-mirror new file mode 100755 index 0000000..d2349de --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/choose-mirror @@ -0,0 +1,29 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +get_cmdline() { + local param + for param in $(/etc/pacman.d/mirrorlist < /dev/null; then + tput setaf 2 + echo + echo "You are online" + echo + tput sgr0 + Online=1 + else + tput setaf 1 + echo + echo "You are not connected to the internet" + echo "We can not download the latest archlinux-keyring package" + echo + echo "Make sure you are online to retrieve packages" + echo + tput sgr0 + Online=0 + fi + } + +check_connectivity + +if [ $Online -eq 1 ] ; then + tput setaf 2 + echo + echo "Installing the latest archlinux-keyring package from the internet" + echo + tput sgr0 + sudo pacman -Sy archlinux-keyring --noconfirm + echo +fi + +echo "###############################################################################" +echo "Removing the pacman databases at /var/lib/pacman/sync/*" +echo "###############################################################################" +echo +sudo rm /var/lib/pacman/sync/* +echo + +echo "###############################################################################" +echo "Removing /etc/pacman.d/gnupg folder" +echo "###############################################################################" +echo +sudo rm -rf /etc/pacman.d/gnupg/* +echo + +echo "###############################################################################" +echo "Initialize pacman keys with pacman-key --init" +echo "###############################################################################" +echo +sudo pacman-key --init +echo + +echo "###############################################################################" +echo "Populating keyring with pacman-key --populate" +echo "###############################################################################" +echo +sudo pacman-key --populate +echo + +echo "###############################################################################" +echo "Adding Ubuntu keyserver to /etc/pacman.d/gnupg/gpg.conf" +echo "###############################################################################" +echo +echo " +keyserver hkp://keyserver.ubuntu.com:80" | sudo tee --append /etc/pacman.d/gnupg/gpg.conf + +echo +echo "###############################################################################" +echo "Getting new databases with pacman -Sy" +echo "###############################################################################" +echo +sudo pacman -Sy +echo + +echo "###############################################################################" +echo "### DONE - YOU CAN CLOSE THIS WINDOW ####" +echo "###############################################################################" \ No newline at end of file diff --git a/midori/archiso/airootfs/usr/local/bin/fixkey b/midori/archiso/airootfs/usr/local/bin/fixkey new file mode 120000 index 0000000..135401b --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/fixkey @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/midori/archiso/airootfs/usr/local/bin/fixkeys b/midori/archiso/airootfs/usr/local/bin/fixkeys new file mode 120000 index 0000000..135401b --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/fixkeys @@ -0,0 +1 @@ +fix-keys \ No newline at end of file diff --git a/midori/archiso/airootfs/usr/local/bin/get-chadwm b/midori/archiso/airootfs/usr/local/bin/get-chadwm new file mode 100755 index 0000000..431ca74 --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/get-chadwm @@ -0,0 +1,158 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +installed_dir=$(dirname $(readlink -f $(basename `pwd`))) + +################################################################################################################## + +sudo pacman -Syyu +sudo pacman -S wget --noconfirm --needed +sudo pacman -S jq --noconfirm --needed +arco_repo_db=$(wget -qO- https://api.github.com/repos/arcolinux/arcolinux_repo/contents/x86_64) +echo "Getting the ArcoLinux keys from the ArcoLinux repo" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-keyring")) | .name] | .[0] | sub("arcolinux-keyring-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-keyring-")')" -O /tmp/arcolinux-keyring-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-keyring-git-any.pkg.tar.zst + +###################################################################################################################### + +echo "Getting the latest arcolinux mirrors file" + +sudo wget "$(echo "$arco_repo_db" | jq -r '[.[] | select(.name | contains("arcolinux-mirrorlist-git-")) | .name] | .[0] | sub("arcolinux-mirrorlist-git-"; "https://github.com/arcolinux/arcolinux_repo/raw/main/x86_64/arcolinux-mirrorlist-git-")')" -O /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst +sudo pacman -U --noconfirm --needed /tmp/arcolinux-mirrorlist-git-any.pkg.tar.zst + +if grep -q arcolinux_repo /etc/pacman.conf; then + + echo + tput setaf 2 + echo "################################################################" + echo "################ ArcoLinux repos are already in /etc/pacman.conf " + echo "################################################################" + tput sgr0 + echo + +else + +echo ' + +#[arcolinux_repo_testing] +#SigLevel = PackageRequired DatabaseNever +#Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_3party] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist + +[arcolinux_repo_xlarge] +SigLevel = PackageRequired DatabaseNever +Include = /etc/pacman.d/arcolinux-mirrorlist' | sudo tee --append /etc/pacman.conf + +fi + + +sudo pacman -Sy + + + +func_install() { + if pacman -Qi $1 &> /dev/null; then + tput setaf 2 + echo "###############################################################################" + echo "################## The package "$1" is already installed" + echo "###############################################################################" + echo + tput sgr0 + else + tput setaf 3 + echo "###############################################################################" + echo "################## Installing package " $1 + echo "###############################################################################" + echo + tput sgr0 + sudo pacman -S --noconfirm --needed $1 + fi +} + +func_install_chadwm() { + + echo + tput setaf 2 + echo "################################################################" + echo "################### Install chadwm" + echo "################################################################" + tput sgr0 + echo + + list=( + alacritty + archlinux-logout-git + arcolinux-chadwm-git + arcolinux-powermenu-git + dash + dmenu + eww + feh + lxappearance + picom + polkit-gnome + rofi-lbonn-wayland + scrot + sxhkd + thunar + thunar-archive-plugin + thunar-volman + ttf-hack + ttf-jetbrains-mono-nerd + ttf-meslo-nerd-font-powerlevel10k + volumeicon + xfce4-notifyd + xfce4-power-manager + xfce4-screenshooter + xfce4-settings + xfce4-taskmanager + xfce4-terminal + ) + + count=0 + + for name in "${list[@]}" ; do + count=$[count+1] + tput setaf 3;echo "Installing package nr. "$count " " $name;tput sgr0; + func_install $name + done +} + +func_install_chadwm + +cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) +cp -arf /etc/skel/. ~ diff --git a/midori/archiso/airootfs/usr/local/bin/get-nemesis-on-alci b/midori/archiso/airootfs/usr/local/bin/get-nemesis-on-alci new file mode 100755 index 0000000..5a69d41 --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/get-nemesis-on-alci @@ -0,0 +1,51 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +#iso=alci-iso + +echo +tput setaf 3 +echo "################################################################" +echo "################### Start clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo + +sudo pacman -Sy git --noconfirm --needed + +[ -d $HOME"/DATA" ] || mkdir -p $HOME"/DATA" +cd ~/DATA +git clone https://github.com/erikdubois/arcolinux-nemesis + +echo +tput setaf 3 +echo "################################################################" +echo "################### End clone arcolinux-nemesis" +echo "################################################################" +tput sgr0 +echo \ No newline at end of file diff --git a/midori/archiso/airootfs/usr/local/bin/livecd-sound b/midori/archiso/airootfs/usr/local/bin/livecd-sound new file mode 100755 index 0000000..b92fcf2 --- /dev/null +++ b/midori/archiso/airootfs/usr/local/bin/livecd-sound @@ -0,0 +1,239 @@ +#!/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() { + [[ -n "$3" && -n "$2" && -n "$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() { + [[ -n "$1" && -n "$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() { + [[ -n "$3" && -n "$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" /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 == 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 (( $# == 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/midori/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in b/midori/archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in new file mode 100644 index 0000000..3f9c7aa --- /dev/null +++ b/midori/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/midori/archiso/bootstrap_packages.x86_64 b/midori/archiso/bootstrap_packages.x86_64 new file mode 100644 index 0000000..64966d0 --- /dev/null +++ b/midori/archiso/bootstrap_packages.x86_64 @@ -0,0 +1,2 @@ +arch-install-scripts +base diff --git a/midori/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/midori/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf new file mode 100644 index 0000000..afd8e99 --- /dev/null +++ b/midori/archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -0,0 +1,5 @@ +title Arch Linux install medium (x86_64, UEFI) +sort-key 01 +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n diff --git a/midori/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf b/midori/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf new file mode 100644 index 0000000..c216f5e --- /dev/null +++ b/midori/archiso/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf @@ -0,0 +1,7 @@ +title Arch Linux install medium (x86_64, UEFI) with speech +sort-key 02 +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% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/midori/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf b/midori/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf new file mode 100644 index 0000000..d0b305c --- /dev/null +++ b/midori/archiso/efiboot/loader/entries/03-archiso-x86_64-memtest86+.conf @@ -0,0 +1,3 @@ +title Memtest86+ +sort-key 03 +efi /boot/memtest86+/memtest.efi diff --git a/midori/archiso/efiboot/loader/loader.conf b/midori/archiso/efiboot/loader/loader.conf new file mode 100644 index 0000000..2d137aa --- /dev/null +++ b/midori/archiso/efiboot/loader/loader.conf @@ -0,0 +1,3 @@ +timeout 15 +default 01-archiso-x86_64-linux.conf +beep on diff --git a/midori/archiso/grub/grub.cfg b/midori/archiso/grub/grub.cfg new file mode 100644 index 0000000..93aa0f1 --- /dev/null +++ b/midori/archiso/grub/grub.cfg @@ -0,0 +1,107 @@ +# Load partition table and file system modules +insmod part_gpt +insmod part_msdos +insmod fat +insmod iso9660 +insmod ntfs +insmod ntfscomp +insmod exfat +insmod udf + +# Use graphics-mode output +if loadfont "${prefix}/fonts/unicode.pf2" ; then + insmod all_video + set gfxmode="auto" + terminal_input console + terminal_output console +fi + +# Enable serial console +insmod serial +insmod usbserial_common +insmod usbserial_ftdi +insmod usbserial_pl2303 +insmod usbserial_usbdebug +if serial --unit=0 --speed=115200; then + terminal_input --append serial + terminal_output --append serial +fi + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=alci +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} + + +# GRUB init tune for accessibility +play 600 988 1 1319 4 diff --git a/midori/archiso/grub/loopback.cfg b/midori/archiso/grub/loopback.cfg new file mode 100644 index 0000000..d7d5ece --- /dev/null +++ b/midori/archiso/grub/loopback.cfg @@ -0,0 +1,80 @@ +# https://www.supergrubdisk.org/wiki/Loopback.cfg + +# Search for the ISO volume +search --no-floppy --set=archiso_img_dev --file "${iso_path}" +probe --set archiso_img_dev_uuid --fs-uuid "${archiso_img_dev}" + +# Get a human readable platform identifier +if [ "${grub_platform}" == 'efi' ]; then + archiso_platform='UEFI' + if [ "${grub_cpu}" == 'x86_64' ]; then + archiso_platform="x64 ${archiso_platform}" + elif [ "${grub_cpu}" == 'i386' ]; then + archiso_platform="IA32 ${archiso_platform}" + else + archiso_platform="${grub_cpu} ${archiso_platform}" + fi +elif [ "${grub_platform}" == 'pc' ]; then + archiso_platform='BIOS' +else + archiso_platform="${grub_cpu} ${grub_platform}" +fi + +# Set default menu entry +default=archlinux +timeout=15 +timeout_style=menu + + +# Menu entries + +menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + +menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' { + set gfxpayload=keep + linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" accessibility=on + initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img +} + + +if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest.efi + } +fi +if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then + menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool { + set gfxpayload=800x600,1024x768 + linux /boot/memtest86+/memtest + } +fi +if [ "${grub_platform}" == 'efi' ]; then + if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellx64.efi + } + elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then + menuentry 'UEFI Shell' --class efi { + chainloader /shellia32.efi + } + fi + + menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' { + fwsetup + } +fi + +menuentry 'System shutdown' --class shutdown --class poweroff { + echo 'System shutting down...' + halt +} + +menuentry 'System restart' --class reboot --class restart { + echo 'System rebooting...' + reboot +} diff --git a/midori/archiso/packages.x86_64 b/midori/archiso/packages.x86_64 new file mode 100644 index 0000000..9faced8 --- /dev/null +++ b/midori/archiso/packages.x86_64 @@ -0,0 +1,277 @@ +alsa-utils +amd-ucode +arch-install-scripts +archinstall +b43-fwcutter +base +bcachefs-tools +bind +bolt +brltty +broadcom-wl +btrfs-progs +clonezilla +cloud-init +cryptsetup +darkhttpd +ddrescue +dhclient +dhcpcd +diffutils +dmidecode +dmraid +dnsmasq +dosfstools +e2fsprogs +edk2-shell +efibootmgr +espeakup +ethtool +exfatprogs +f2fs-tools +fatresize +foot-terminfo +fsarchiver +gnu-netcat +gpart +gpm +gptfdisk +grml-zsh-config +grub +hdparm +hyperv +intel-ucode +irssi +iw +iwd +jfsutils +kitty-terminfo +ldns +less +lftp +libfido2 +libusb-compat +linux +linux-atm +linux-firmware +linux-firmware-marvell +livecd-sounds +lsscsi +lvm2 +lynx +man-db +man-pages +mc +mdadm +memtest86+ +memtest86+-efi +mkinitcpio +mkinitcpio-archiso +mkinitcpio-nfs-utils +modemmanager +mtools +nano +nbd +ndisc6 +nfs-utils +nilfs-utils +nmap +ntfs-3g +nvme-cli +open-iscsi +open-vm-tools +openconnect +openpgp-card-tools +openssh +openvpn +partclone +parted +partimage +pcsclite +ppp +pptpclient +pv +qemu-guest-agent +refind +reflector +reiserfsprogs +rp-pppoe +rsync +rxvt-unicode-terminfo +screen +sdparm +sequoia-sq +sg3_utils +smartmontools +sof-firmware +squashfs-tools +sudo +syslinux +systemd-resolvconf +tcpdump +terminus-font +testdisk +tmux +tpm2-tools +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 +#alci-calamares-dev +alci-calamares-config +#alci-calamares-config-btrfs +#alci-calamares-config-dev +#alci-calamares-config-hardened +#alci-calamares-config-lts +#alci-calamares-config-pure +#alci-calamares-config-xanmod +#alci-calamares-config-zen +xterm + +####################################################### +### PACKAGES THAT STAY AFTER INSTALLATION ### +####################################################### + +sddm +bash-completion +os-prober +dex +libxinerama +make +xorg-xkill +xterm +xorg-xrdb +mkinitcpio-openswap + +##### you can also use nmtui from the terminal +#networkmanager +#network-manager-applet + +####################################################### +### EXTRAS ### +####################################################### + +##### xorg applications + +#xorg-server +#xorg-apps +#neofetch + + +##### Drivers for graphical cards + +#driver for virtualbox - xf86-video-vmware is dependency +#systemctl enable vboxservice +#systemctl start vboxservice +#to have fullscreen +#virtualbox-guest-utils + +#xf86-video-intel +#xf86-video-amdgpu +#xf86-video-nouveau + +#nvidia +#nvidia-settings +#nvidia-utils + + + +##### lightdm display manager + +#lightdm +#lightdm-gtk-greeter + +##### sddm display manager + +#sddm +#alci-sddm-plasma-archpaint + +##### gdm display manager + +#gdm + + + +##### want to have base-devel group + +#base-devel + +##### want to have linux-headers + +#linux-headers + + + +##### want to have a desktop + +#test +#xfce4 +#xfce4-goodies +#neofetch + + +##### want to add/use the ArcoLinux repos + +#arcolinux-mirrorlist-git +#arcolinux-keyring + +#test +#arcolinux-wallpapers-git + +##### want to add/use the Chaotic repo + +#chaotic-mirrorlist +#chaotic-keyring + +#test +#colloid-cursors-git + + +##### want to add/use your local repo packages +##### create your packages and put them in the local repo + +#There is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#Change the name erik to your own username +#update the database + +#test +#nemesis-wallpapers + + +#### want have a btrfs format +#### use alci-calamares-config-btrfs + +#timeshift +#grub-btrfs +#timeshift-autosnap +git + +#grub theme +alci-grub-theme-git diff --git a/midori/archiso/pacman.conf b/midori/archiso/pacman.conf new file mode 100644 index 0000000..7039169 --- /dev/null +++ b/midori/archiso/pacman.conf @@ -0,0 +1,139 @@ +# +# /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 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#NoProgressBar +# We cannot check disk space from within a chroot environment +#CheckSpace +#VerbosePkgLists +ParallelDownloads = 8 + +# 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. + +#you can create packages and put them on your local repo +#the folder should be on your homedirectory with the name alci_local_repo +#see uploaded example -there is a copy of the local repo in your folder +#Copy/paste it to your homefolder +#update the packages database +#Change the name erik to your own username + +#Your local repository +#[alci_local_repo] +#SigLevel = Optional TrustedOnly +#Server = file:///home/erik/$repo/$arch + +#repository from ALCI +[alci_repo] +SigLevel = Optional TrustedOnly +Server = https://arch-linux-calamares-installer.github.io/$repo/$arch + +#repositories from ArcoLinux +#[arcolinux_repo_testing] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_3party] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[arcolinux_repo_xlarge] +#SigLevel = Optional TrustedOnly +#Include = /etc/pacman.d/arcolinux-mirrorlist + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +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 + +# 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 + +#more repositories here : +#https://wiki.archlinux.org/index.php/unofficial_user_repositories + +#remember to add chaotic-mirrorlist and chaotic-keyring to the packages.x86_64 +#[chaotic-aur] +#Include = /etc/pacman.d/chaotic-mirrorlist diff --git a/midori/archiso/profiledef.sh b/midori/archiso/profiledef.sh new file mode 100644 index 0000000..11ad606 --- /dev/null +++ b/midori/archiso/profiledef.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 + +iso_name="archlinux" +iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)" +iso_publisher="Arch Linux " +iso_application="Arch Linux Live/Rescue DVD" +iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" +install_dir="arch" +buildmodes=('iso') +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' + 'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp' + 'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito') +arch="x86_64" +pacman_conf="pacman.conf" +airootfs_image_type="squashfs" +airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19') +file_permissions=( + ["/etc/shadow"]="0:0:400" + ["/root"]="0:0:750" + ["/root/.automated_script.sh"]="0:0:755" + ["/root/.gnupg"]="0:0:700" + ["/usr/local/bin/choose-mirror"]="0:0:755" + ["/usr/local/bin/Installation_guide"]="0:0:755" + ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/etc/polkit-1/rules.d"]="0:0:750" + ["/etc/sudoers.d"]="0:0:750" + ["/usr/local/bin/alci-make-a-pure-arch"]="0:0:755" + ["/usr/local/bin/alci-displaymanager-check"]="0:0:755" + ["/usr/local/bin/get-nemesis-on-alci"]="0:0:755" + ["/usr/local/bin/fix-keys"]="0:0:755" + ["/usr/local/bin/get-chadwm"]="0:0:755" +) diff --git a/midori/archiso/syslinux/archiso_head.cfg b/midori/archiso/syslinux/archiso_head.cfg new file mode 100644 index 0000000..671ab4e --- /dev/null +++ b/midori/archiso/syslinux/archiso_head.cfg @@ -0,0 +1,28 @@ +SERIAL 0 115200 +UI vesamenu.c32 +MENU TITLE Arch Linux +MENU BACKGROUND splash.png + +MENU WIDTH 78 +MENU MARGIN 4 +MENU ROWS 7 +MENU VSHIFT 10 +MENU TABMSGROW 14 +MENU CMDLINEROW 14 +MENU HELPMSGROW 16 +MENU HELPMSGENDROW 29 + +# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32 + +MENU COLOR border 30;44 #40ffffff #a0000000 std +MENU COLOR title 1;36;44 #9033ccff #a0000000 std +MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all +MENU COLOR unsel 37;44 #50ffffff #a0000000 std +MENU COLOR help 37;40 #c0ffffff #a0000000 std +MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std +MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std +MENU COLOR msg07 37;40 #90ffffff #a0000000 std +MENU COLOR tabmsg 31;40 #30ffffff #00000000 std + +MENU CLEAR +MENU IMMEDIATE diff --git a/midori/archiso/syslinux/archiso_pxe-linux.cfg b/midori/archiso/syslinux/archiso_pxe-linux.cfg new file mode 100644 index 0000000..5d0f741 --- /dev/null +++ b/midori/archiso/syslinux/archiso_pxe-linux.cfg @@ -0,0 +1,32 @@ +LABEL arch64_nbd +TEXT HELP +Boot the Arch Linux install medium using NBD. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NBD) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y +SYSAPPEND 3 + +LABEL arch64_nfs +TEXT HELP +Boot the Arch Linux live medium using NFS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, NFS) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y +SYSAPPEND 3 + +LABEL arch64_http +TEXT HELP +Boot the Arch Linux live medium using HTTP. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, HTTP) +LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y +SYSAPPEND 3 diff --git a/midori/archiso/syslinux/archiso_pxe.cfg b/midori/archiso/syslinux/archiso_pxe.cfg new file mode 100644 index 0000000..b4c9a80 --- /dev/null +++ b/midori/archiso/syslinux/archiso_pxe.cfg @@ -0,0 +1,5 @@ +INCLUDE archiso_head.cfg + +INCLUDE archiso_pxe-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/midori/archiso/syslinux/archiso_sys-linux.cfg b/midori/archiso/syslinux/archiso_sys-linux.cfg new file mode 100644 index 0000000..7d3458e --- /dev/null +++ b/midori/archiso/syslinux/archiso_sys-linux.cfg @@ -0,0 +1,20 @@ +LABEL arch64 +TEXT HELP +Boot the Arch Linux install medium on BIOS. +It allows you to install Arch Linux or perform system maintenance. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=4G copytoram=n + +# Accessibility boot option +LABEL arch64speech +TEXT HELP +Boot the Arch Linux install medium on BIOS with speakup screen reader. +It allows you to install Arch Linux or perform system maintenance with speech feedback. +ENDTEXT +MENU LABEL Arch Linux install medium (x86_64, BIOS) with ^speech +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on cow_spacesize=4G copytoram=n diff --git a/midori/archiso/syslinux/archiso_sys.cfg b/midori/archiso/syslinux/archiso_sys.cfg new file mode 100644 index 0000000..d93bcfe --- /dev/null +++ b/midori/archiso/syslinux/archiso_sys.cfg @@ -0,0 +1,8 @@ +INCLUDE archiso_head.cfg + +DEFAULT arch64 +TIMEOUT 150 + +INCLUDE archiso_sys-linux.cfg + +INCLUDE archiso_tail.cfg diff --git a/midori/archiso/syslinux/archiso_tail.cfg b/midori/archiso/syslinux/archiso_tail.cfg new file mode 100644 index 0000000..e84897c --- /dev/null +++ b/midori/archiso/syslinux/archiso_tail.cfg @@ -0,0 +1,35 @@ +LABEL existing +TEXT HELP +Boot an existing operating system. +Press TAB to edit the disk and partition number to boot. +ENDTEXT +MENU LABEL Boot existing OS +COM32 chain.c32 +APPEND hd0 0 + +# https://www.memtest.org/ +LABEL memtest +MENU LABEL Run Memtest86+ (RAM test) +LINUX /boot/memtest86+/memtest + +# https://wiki.syslinux.org/wiki/index.php/Hdt_(Hardware_Detection_Tool) +LABEL hdt +MENU LABEL Hardware Information (HDT) +COM32 hdt.c32 +APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz + +LABEL reboot +TEXT HELP +Reboot computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Reboot +COM32 reboot.c32 + +LABEL poweroff +TEXT HELP +Power off computer. +The computer's firmware must support APM. +ENDTEXT +MENU LABEL Power Off +COM32 poweroff.c32 diff --git a/midori/archiso/syslinux/splash.png b/midori/archiso/syslinux/splash.png new file mode 100644 index 0000000..64b959a Binary files /dev/null and b/midori/archiso/syslinux/splash.png differ diff --git a/midori/archiso/syslinux/syslinux.cfg b/midori/archiso/syslinux/syslinux.cfg new file mode 100644 index 0000000..cbda72f --- /dev/null +++ b/midori/archiso/syslinux/syslinux.cfg @@ -0,0 +1,11 @@ +DEFAULT select + +LABEL select +COM32 whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG archiso_pxe.cfg + +LABEL sys +CONFIG archiso_sys.cfg diff --git a/midori/example-alci_local_repo/update-database.sh b/midori/example-alci_local_repo/update-database.sh new file mode 100755 index 0000000..f088b65 --- /dev/null +++ b/midori/example-alci_local_repo/update-database.sh @@ -0,0 +1,21 @@ +#!/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.arcolinuxforum.com +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +cd x86_64 +sh ./update_repo.sh + +echo "################################################################" +echo "################### Update Done ######################" +echo "################################################################" diff --git a/midori/example-alci_local_repo/x86_64/alci_local_repo.db b/midori/example-alci_local_repo/x86_64/alci_local_repo.db new file mode 120000 index 0000000..9da8485 --- /dev/null +++ b/midori/example-alci_local_repo/x86_64/alci_local_repo.db @@ -0,0 +1 @@ +alci_local_repo.db.tar.gz \ No newline at end of file diff --git a/midori/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz b/midori/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz new file mode 100644 index 0000000..e83a7ef Binary files /dev/null and b/midori/example-alci_local_repo/x86_64/alci_local_repo.db.tar.gz differ diff --git a/midori/example-alci_local_repo/x86_64/alci_local_repo.files b/midori/example-alci_local_repo/x86_64/alci_local_repo.files new file mode 120000 index 0000000..f08872e --- /dev/null +++ b/midori/example-alci_local_repo/x86_64/alci_local_repo.files @@ -0,0 +1 @@ +alci_local_repo.files.tar.gz \ No newline at end of file diff --git a/midori/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz b/midori/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz new file mode 100644 index 0000000..49c7b70 Binary files /dev/null and b/midori/example-alci_local_repo/x86_64/alci_local_repo.files.tar.gz differ diff --git a/midori/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst b/midori/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst new file mode 100644 index 0000000..5420836 Binary files /dev/null and b/midori/example-alci_local_repo/x86_64/nemesis-wallpapers-21.02-1-any.pkg.tar.zst differ diff --git a/midori/example-alci_local_repo/x86_64/update_repo.sh b/midori/example-alci_local_repo/x86_64/update_repo.sh new file mode 100755 index 0000000..2fa6a5a --- /dev/null +++ b/midori/example-alci_local_repo/x86_64/update_repo.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +rm alci_local_repo* + +echo "repo-add" +repo-add -n -R alci_local_repo.db.tar.gz *.pkg.tar.zst + +echo "####################################" +echo "Repo Updated!!" +echo "####################################" diff --git a/midori/installation-scripts/30-build-the-iso-the-first-time.sh b/midori/installation-scripts/30-build-the-iso-the-first-time.sh new file mode 100755 index 0000000..d777544 --- /dev/null +++ b/midori/installation-scripts/30-build-the-iso-the-first-time.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +echo "- Making sure we start with a clean slate next time" +tput sgr0 +echo "################################################################## " +echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/midori/installation-scripts/40-build-the-iso-local-again.sh b/midori/installation-scripts/40-build-the-iso-local-again.sh new file mode 100755 index 0000000..b96008b --- /dev/null +++ b/midori/installation-scripts/40-build-the-iso-local-again.sh @@ -0,0 +1,299 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.online +# 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 +# Website : https://www.alci.online +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 1 : " +echo "- Setting General parameters" +tput sgr0 +echo "################################################################## " +echo + + # setting of the general parameters + archisoRequiredVersion="archiso 78-1" + buildFolder=$HOME"/alci-build" + outFolder=$HOME"/Alci-Iso-Out" + archisoVersion=$(sudo pacman -Q archiso) + + echo "################################################################## " + #echo "Building the desktop : "$desktop + #echo "Building version : "$arcolinuxVersion + #echo "Iso label : "$isoLabel + echo "Do you have the right archiso version? : "$archisoVersion + echo "What is the required archiso version? : "$archisoRequiredVersion + echo "Build folder : "$buildFolder + echo "Out folder : "$outFolder + echo "################################################################## " + + if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then + tput setaf 2 + echo "##################################################################" + echo "Archiso has the correct version. Continuing ..." + echo "##################################################################" + tput sgr0 + else + tput setaf 1 + echo "###################################################################################################" + echo "You need to install the correct version of Archiso" + echo "Use 'sudo downgrade archiso' to do that" + echo "or update your system" + echo "If a new archiso package comes in and you want to test if you can still build" + echo "the iso then change the version in line 37." + echo "###################################################################################################" + tput sgr0 + fi + +echo +echo "################################################################## " +tput setaf 2 +echo "Phase 2 :" +echo "- Checking if archiso is installed" +echo "- Saving current archiso version to archiso.md" +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 "Saving current archiso version to archiso.md" + sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md + 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 4 :" +# echo "- Deleting any files in /etc/skel" +# echo "- Getting the last version of bashrc in /etc/skel" +# echo "- Removing the old packages.x86_64 file from build folder" +# echo "- Copying the new packages.x86_64 file to the build folder" +# echo "- Changing group for polkit folder" +# tput sgr0 +# echo "################################################################## " +# echo + +# echo "Deleting any files in /etc/skel" +# rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null +# echo + +# echo "Getting the last version of bashrc in /etc/skel" +# echo +# wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc + +# echo "Removing the old packages.x86_64 file from build folder" +# rm $buildFolder/archiso/packages.x86_64 +# echo +# echo "Copying the new packages.x86_64 file to the build folder" +# cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 +# echo +# echo "Changing group for polkit folder" +# sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d +# #is not working so fixing this during calamares installation + +# echo +# echo "################################################################## " +# tput setaf 2 +# echo "Phase 5 : " +# echo "- Changing all references" +# echo "- Adding time to /etc/dev-rel" +# tput sgr0 +# echo "################################################################## " +# echo +# +# #Setting variables +# +# #profiledef.sh +# oldname1='iso_name=arcolinux' +# newname1='iso_name=arcolinux' +# +# oldname2='iso_label="arcolinux' +# newname2='iso_label="arcolinux' +# +# oldname3='ArcoLinux' +# newname3='ArcoLinux' +# +# #hostname +# oldname4='ArcoLinux' +# newname4='ArcoLinux' +# +# #lightdm.conf user-session +# oldname5='user-session=xfce' +# newname5='user-session='$lightdmDesktop +# +# #lightdm.conf autologin-session +# oldname6='#autologin-session=' +# newname6='autologin-session='$lightdmDesktop +# +# echo "Changing all references" +# echo +# sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh +# sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel +# sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname +# sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf +# +# echo "Adding time to /etc/dev-rel" +# date_build=$(date -d now) +# echo "Iso build on : "$date_build +# sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel + + +#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 +# echo "###################################################################" +# tput setaf 2 +# echo "Phase 8 :" +# echo "- Creating checksums" +# echo "- Copying pgklist" +# tput sgr0 +# echo "###################################################################" +# echo +# +# cd $outFolder +# +# echo "Creating checksums for : "$isoLabel +# echo "##################################################################" +# echo +# echo "Building sha1sum" +# echo "########################" +# sha1sum $isoLabel | tee $isoLabel.sha1 +# echo "Building sha256sum" +# echo "########################" +# sha256sum $isoLabel | tee $isoLabel.sha256 +# echo "Building md5sum" +# echo "########################" +# md5sum $isoLabel | tee $isoLabel.md5 +# echo + 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 "Phase 9 :" +#echo "- Making sure we start with a clean slate next time" +#tput sgr0 +#echo "################################################################## " +#echo + + #echo "Deleting the build folder if one exists - takes some time" + #[ -d $buildFolder ] && sudo rm -rf $buildFolder + +echo +echo "##################################################################" +tput setaf 2 +echo "DONE" +echo "- Check your out folder :"$outFolder +tput sgr0 +echo "################################################################## " +echo diff --git a/midori/keys-and-mirrors/1-get-the-keys-and-mirrors.md b/midori/keys-and-mirrors/1-get-the-keys-and-mirrors.md new file mode 100644 index 0000000..e90c664 --- /dev/null +++ b/midori/keys-and-mirrors/1-get-the-keys-and-mirrors.md @@ -0,0 +1,19 @@ +We recommend you get the ASA or ArcoLinux Spices Application. + +We are sure that it will always work in the future. + +We use the tool to turn any Arch Linux system into an ArcoLinux system. + +https://www.arcolinux.info/arcolinux-spices-application/ + +You can install it in a desktop environment or in TTY. + +Type "sudo pacman -Syyu" in a terminal to see that our repos are in the list. + +Afterwards pacman will recognize the ArcoLinux keys and the ArcoLinux mirrors. + +If that is the case you can install the Chaotic keyring and Chaotic mirrorlist. + +sudo pacman -S chaotic-keyring chaotic-mirrorlist + +Then you can add ArcoLinux and Chaotic packages to your packages list. diff --git a/midori/keys-and-mirrors/2-build-and-install-yay.sh b/midori/keys-and-mirrors/2-build-and-install-yay.sh new file mode 100755 index 0000000..8d3757c --- /dev/null +++ b/midori/keys-and-mirrors/2-build-and-install-yay.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +sudo pacman -S base-devel --noconfirm --needed + +source="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay-bin" +folder="alci-yay-bin" +name="PKGBUILD" + +mkdir /tmp/$folder +wget $source -O /tmp/$folder/$name +cd /tmp/$folder +makepkg -i diff --git a/midori/setup-our-git-credentials.sh b/midori/setup-our-git-credentials.sh new file mode 100755 index 0000000..83eafd2 --- /dev/null +++ b/midori/setup-our-git-credentials.sh @@ -0,0 +1,115 @@ +#!/bin/bash +# +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +# Problem solving commands + +# Read before using it. +# https://www.atlassian.com/git/tutorials/undoing-changes/git-reset +# git reset --hard orgin/master +# ONLY if you are very sure and no coworkers are on your github. + +# Command that have helped in the past +# Force git to overwrite local files on pull - no merge +# git fetch all +# git push --set-upstream origin master +# git reset --hard orgin/master + + +#setting up git +#https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config +#https://medium.com/clarusway/how-to-use-git-github-without-asking-for-authentication-always-passwordless-usage-of-private-git-8c32489bc2e9 +#https://blog.nillsf.com/index.php/2021/05/27/github-sso-using-password-protected-ssh-keys + +project=$(basename `pwd`) +githubdir="arch-linux-calamares-installer" +echo "-----------------------------------------------------------------------------" +echo "this is project https://github.com/$githubdir/$project" +echo "-----------------------------------------------------------------------------" + +echo +tput setaf 1 +echo "################################################################" +echo "##### Choose wisely - one time setup after clean install ####" +echo "################################################################" +tput sgr0 +echo +echo "Select the correct desktop" +echo +echo "0. Do nothing" +echo "1. Erik" +echo "2. Raniel" +echo "3. Steve" +echo "Type the number..." + +read CHOICE + +case $CHOICE in + + 0 ) + echo + echo "########################################" + echo "We did nothing as per your request" + echo "########################################" + echo + ;; + + 1 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "arcolinuxz" + git config --global user.email "arcolinuxinfo@gmail.com" + sudo git config --system core.editor nano + #git config --global credential.helper cache + #git config --global credential.helper 'cache --timeout=32000' + git remote set-url origin git@github.com:$githubdir/$project + echo + echo "Everything set" + ;; + 2 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Raniel Laguna" + git config --global user.email "avraniel@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + 3 ) + git config --global pull.rebase false + git config --global push.default simple + git config --global user.name "Steve Younger" + git config --global user.email "coritanie@gmail.com" + sudo git config --system core.editor nano + git config --global credential.helper cache + git config --global credential.helper 'cache --timeout=32000' + ;; + * ) + echo "#################################" + echo "Choose the correct number" + echo "#################################" + ;; +esac + +echo "################################################################" +echo "################### T H E E N D ######################" +echo "################################################################" diff --git a/midori/up+.sh b/midori/up+.sh new file mode 100755 index 0000000..1a6d204 --- /dev/null +++ b/midori/up+.sh @@ -0,0 +1,68 @@ +#!/bin/bash +#set -e +################################################################################################################## +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# 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. +# +################################################################################################################## +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +# reset - commit your changes or stash them before you merge +# git reset --hard - personal alias - grh + +echo "Deleting the work folder if one exists" +[ -d work ] && rm -rf work + +# checking if I have the latest files from github +echo "Checking for newer files online first" +git pull + +# Below command will backup everything inside the project folder +git add --all . + +# Give a comment to the commit if you want +echo "####################################" +echo "Write your commit comment!" +echo "####################################" + +read input + +# Committing to the local repository with a message containing the time details and commit text + +git commit -m "$input" + +# Push the local files to github + +if grep -q main .git/config; then + echo "Using main" + git push -u origin main +fi + +if grep -q master .git/config; then + echo "Using master" + git push -u origin master +fi + +echo "################################################################" +echo "################### Git Push Done ######################" +echo "################################################################"