├── LICENSE ├── README.md ├── archiso ├── airootfs │ ├── etc │ │ ├── X11 │ │ │ └── xorg.conf.d │ │ │ │ └── 02-touchpad-ttc.conf │ │ ├── environment │ │ ├── group │ │ ├── gshadow │ │ ├── hostname │ │ ├── lightdm │ │ │ ├── lightdm-gtk-greeter.conf │ │ │ └── lightdm.conf │ │ ├── locale.conf │ │ ├── localtime │ │ ├── mkinitcpio.conf │ │ ├── mkinitcpio.d │ │ │ └── linux.preset │ │ ├── modprobe.d │ │ │ └── broadcom-wl.conf │ │ ├── motd │ │ ├── pacman.conf │ │ ├── pacman.d │ │ │ ├── gnupg │ │ │ │ └── gpg.conf │ │ │ ├── hooks │ │ │ │ ├── 40-locale-gen.hook │ │ │ │ ├── uncomment-mirrors.hook │ │ │ │ └── zzzz99-remove-custom-hooks-from-airootfs.hook │ │ │ └── mirrorlist │ │ ├── passwd │ │ ├── polkit-1 │ │ │ └── rules.d │ │ │ │ ├── 49-nopasswd_global.rules │ │ │ │ ├── 50-org.freedesktop.NetworkManager.rules │ │ │ │ ├── 50-udiskie.rules │ │ │ │ ├── allow-mount-internal.rules │ │ │ │ └── udisks-no-consolekit.rules │ │ ├── shadow │ │ ├── skel │ │ │ ├── .Xresources │ │ │ └── .bashrc │ │ ├── ssh │ │ │ └── sshd_config │ │ ├── sudoers.d │ │ │ ├── 01_pw_feedback │ │ │ └── g_wheel │ │ ├── systemd │ │ │ ├── journald.conf │ │ │ ├── journald.conf.d │ │ │ │ └── volatile-storage.conf │ │ │ ├── logind.conf │ │ │ ├── logind.conf.d │ │ │ │ └── do-not-suspend.conf │ │ │ ├── network │ │ │ │ ├── 20-ethernet.network │ │ │ │ ├── 20-wlan.network │ │ │ │ └── 20-wwan.network │ │ │ └── system │ │ │ │ ├── bluetooth.target.wants │ │ │ │ └── bluetooth.service │ │ │ │ ├── choose-mirror.service │ │ │ │ ├── cloud-init.target.wants │ │ │ │ ├── cloud-config.service │ │ │ │ ├── cloud-final.service │ │ │ │ ├── cloud-init-local.service │ │ │ │ └── cloud-init.service │ │ │ │ ├── dbus-org.freedesktop.ModemManager1.service │ │ │ │ ├── dbus-org.freedesktop.network1.service │ │ │ │ ├── dbus-org.freedesktop.nm-dispatcher.service │ │ │ │ ├── dbus-org.freedesktop.resolve1.service │ │ │ │ ├── default.target │ │ │ │ ├── display-manager.service │ │ │ │ ├── etc-pacman.d-gnupg.mount │ │ │ │ ├── getty@tty1.service.d │ │ │ │ └── autologin.conf │ │ │ │ ├── livecd-alsa-unmuter.service │ │ │ │ ├── livecd-talk.service │ │ │ │ ├── multi-user.target.wants │ │ │ │ ├── ModemManager.service │ │ │ │ ├── NetworkManager.service │ │ │ │ ├── choose-mirror.service │ │ │ │ ├── iwd.service │ │ │ │ ├── livecd-talk.service │ │ │ │ ├── pacman-init.service │ │ │ │ ├── qemu-guest-agent.service │ │ │ │ ├── reflector.service │ │ │ │ ├── sshd.service │ │ │ │ ├── systemd-networkd.service │ │ │ │ ├── systemd-resolved.service │ │ │ │ └── vboxservice.service │ │ │ │ ├── network-online.target.wants │ │ │ │ ├── NetworkManager-wait-online.service │ │ │ │ └── systemd-networkd-wait-online.service │ │ │ │ ├── pacman-init.service │ │ │ │ ├── reflector.service.d │ │ │ │ └── archiso.conf │ │ │ │ ├── sockets.target.wants │ │ │ │ └── systemd-networkd.socket │ │ │ │ ├── sound.target.wants │ │ │ │ └── livecd-alsa-unmuter.service │ │ │ │ └── systemd-networkd-wait-online.service.d │ │ │ │ └── wait-for-only-one-interface.conf │ │ └── xdg │ │ │ └── reflector │ │ │ └── reflector.conf │ ├── root │ │ ├── .automated_script.sh │ │ ├── .zlogin │ │ └── customize_airootfs.sh │ └── usr │ │ ├── local │ │ ├── bin │ │ │ ├── choose-mirror │ │ │ ├── chrooted_post_install │ │ │ └── post_install │ │ └── share │ │ │ └── livecd-sound │ │ │ └── asound.conf.in │ │ └── share │ │ └── zone.png ├── bootstrap_packages.x86_64 ├── efiboot │ └── loader │ │ ├── entries │ │ ├── 01-archiso-x86_64-linux.conf │ │ ├── 02-archiso-x86_64-ram-linux.conf │ │ └── 03-archiso-x86_64-nvidia-linux.conf │ │ └── loader.conf ├── packages.x86_64 ├── pacman.conf ├── profiledef.sh └── syslinux │ ├── archiso_head.cfg │ ├── archiso_pxe-linux.cfg │ ├── archiso_pxe.cfg │ ├── archiso_sys-linux.cfg │ ├── archiso_sys.cfg │ ├── archiso_tail.cfg │ ├── splash.png │ └── syslinux.cfg └── installation-scripts ├── build.sh └── re-build.sh /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 S.T.A.L.K.E.R. OS 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 |

Welcome To The Zone

5 | 6 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/X11/xorg.conf.d/02-touchpad-ttc.conf: -------------------------------------------------------------------------------- 1 | Section "InputClass" 2 | Identifier "tap-by-default" 3 | MatchIsTouchpad "on" 4 | MatchDriver "libinput" 5 | Option "Tapping" "on" 6 | Option "NaturalScrolling" "true" 7 | EndSection 8 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/environment: -------------------------------------------------------------------------------- 1 | # 2 | # This file is parsed by pam_env module 3 | # 4 | # Syntax: simple "KEY=VAL" pairs on separate lines 5 | # 6 | QT_QPA_PLATFORMTHEME=qt5ct 7 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/group: -------------------------------------------------------------------------------- 1 | root:x:0:root 2 | sys:x:3:bin,liveuser 3 | network:x:90:liveuser 4 | power:x:98:liveuser 5 | adm:x:999:liveuser 6 | wheel:x:998:liveuser 7 | uucp:x:987:liveuser 8 | optical:x:990:liveuser 9 | rfkill:x:983:liveuser 10 | video:x:986:liveuser 11 | storage:x:988:liveuser 12 | audio:x:995:liveuser 13 | users:x:985:liveuser 14 | nopasswdlogin:x:966:liveuser 15 | autologin:x:967:liveuser 16 | liveuser:x:1000: -------------------------------------------------------------------------------- /archiso/airootfs/etc/gshadow: -------------------------------------------------------------------------------- 1 | root:::root 2 | sys:!!::liveuser 3 | network:!!::liveuser 4 | power:!!::liveuser 5 | adm:!!::liveuser 6 | wheel:!!::liveuser 7 | uucp:!!::liveuser 8 | optical:!!::liveuser 9 | rfkill:!!::liveuser 10 | video:!!::liveuser 11 | storage:!!::liveuser 12 | audio:!!::liveuser 13 | users:!!::liveuser 14 | nopasswdlogin:!::liveuser 15 | autologin:!::liveuser 16 | liveuser:!:: 17 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/hostname: -------------------------------------------------------------------------------- 1 | Zone 2 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/lightdm/lightdm-gtk-greeter.conf: -------------------------------------------------------------------------------- 1 | [greeter] 2 | theme-name = Qogir-dark 3 | icon-theme-name = Qogir-dark 4 | font-name = JetBrainsMono Nerd Font Medium 10 5 | background = /usr/share/backgrounds/zone/zone_bg3.jpg 6 | default-user-image = /usr/share/zone.png 7 | clock-format = %A, %m/%d/%y | %I:%M %p 8 | user-background = false 9 | indicators = ~session;~separator;~language;~spacer;~~Удачной охоты, СТАЛКЕР;~spacer;~clock;~power 10 | 11 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/lightdm/lightdm.conf: -------------------------------------------------------------------------------- 1 | # 2 | # General configuration 3 | # 4 | # start-default-seat = True to always start one seat if none are defined in the configuration 5 | # greeter-user = User to run greeter as 6 | # minimum-display-number = Minimum display number to use for X servers 7 | # minimum-vt = First VT to run displays on 8 | # lock-memory = True to prevent memory from being paged to disk 9 | # user-authority-in-system-dir = True if session authority should be in the system location 10 | # guest-account-script = Script to be run to setup guest account 11 | # logind-check-graphical = True to on start seats that are marked as graphical by logind 12 | # log-directory = Directory to log information to 13 | # run-directory = Directory to put running state in 14 | # cache-directory = Directory to cache to 15 | # sessions-directory = Directory to find sessions 16 | # remote-sessions-directory = Directory to find remote sessions 17 | # greeters-directory = Directory to find greeters 18 | # backup-logs = True to move add a .old suffix to old log files when opening new ones 19 | # dbus-service = True if LightDM provides a D-Bus service to control it 20 | # 21 | [LightDM] 22 | #start-default-seat=true 23 | #greeter-user=lightdm 24 | #minimum-display-number=0 25 | #minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799 26 | #lock-memory=true 27 | #user-authority-in-system-dir=false 28 | #guest-account-script=guest-account 29 | #logind-check-graphical=false 30 | #log-directory=/var/log/lightdm 31 | run-directory=/run/lightdm 32 | #cache-directory=/var/cache/lightdm 33 | #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions 34 | #remote-sessions-directory=/usr/share/lightdm/remote-sessions 35 | #greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters 36 | #backup-logs=true 37 | #dbus-service=true 38 | 39 | # 40 | # Seat configuration 41 | # 42 | # Seat configuration is matched against the seat name glob in the section, for example: 43 | # [Seat:*] matches all seats and is applied first. 44 | # [Seat:seat0] matches the seat named "seat0". 45 | # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client". 46 | # 47 | # type = Seat type (local, xremote) 48 | # pam-service = PAM service to use for login 49 | # pam-autologin-service = PAM service to use for autologin 50 | # pam-greeter-service = PAM service to use for greeters 51 | # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) 52 | # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option) 53 | # xserver-config = Config file to pass to X server 54 | # xserver-layout = Layout to pass to X server 55 | # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server 56 | # xserver-share = True if the X server is shared for both greeter and session 57 | # xserver-hostname = Hostname of X server (only for type=xremote) 58 | # xserver-display-number = Display number of X server (only for type=xremote) 59 | # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true) 60 | # xdmcp-port = XDMCP UDP/IP port to communicate on 61 | # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf) 62 | # greeter-session = Session to load for greeter 63 | # greeter-hide-users = True to hide the user list 64 | # greeter-allow-guest = True if the greeter should show a guest login option 65 | # greeter-show-manual-login = True if the greeter should offer a manual login option 66 | # greeter-show-remote-login = True if the greeter should offer a remote login option 67 | # user-session = Session to load for users 68 | # allow-user-switching = True if allowed to switch users 69 | # allow-guest = True if guest login is allowed 70 | # guest-session = Session to load for guests (overrides user-session) 71 | # session-wrapper = Wrapper script to run session with 72 | # greeter-wrapper = Wrapper script to run greeter with 73 | # guest-wrapper = Wrapper script to run guest sessions with 74 | # display-setup-script = Script to run when starting a greeter session (runs as root) 75 | # display-stopped-script = Script to run after stopping the display server (runs as root) 76 | # greeter-setup-script = Script to run when starting a greeter (runs as root) 77 | # session-setup-script = Script to run when starting a user session (runs as root) 78 | # session-cleanup-script = Script to run when quitting a user session (runs as root) 79 | # autologin-guest = True to log in as guest by default 80 | # autologin-user = User to log in with by default (overrides autologin-guest) 81 | # autologin-user-timeout = Number of seconds to wait before loading default user 82 | # autologin-session = Session to load for automatic login (overrides user-session) 83 | # autologin-in-background = True if autologin session should not be immediately activated 84 | # exit-on-failure = True if the daemon should exit if this seat fails 85 | # 86 | [Seat:*] 87 | #type=local 88 | #pam-service=lightdm 89 | #pam-autologin-service=lightdm-autologin 90 | #pam-greeter-service=lightdm-greeter 91 | #xserver-command=X 92 | #xmir-command=Xmir 93 | #xserver-config= 94 | #xserver-layout= 95 | #xserver-allow-tcp=false 96 | #xserver-share=true 97 | #xserver-hostname= 98 | #xserver-display-number= 99 | #xdmcp-manager= 100 | #xdmcp-port=177 101 | #xdmcp-key= 102 | greeter-session=lightdm-gtk-greeter 103 | #greeter-hide-users=false 104 | #greeter-allow-guest=true 105 | #greeter-show-manual-login=false 106 | #greeter-show-remote-login=true 107 | #user-session=default 108 | #allow-user-switching=true 109 | #allow-guest=true 110 | #guest-session= 111 | session-wrapper=/etc/lightdm/Xsession 112 | #greeter-wrapper= 113 | #guest-wrapper= 114 | #display-setup-script= 115 | #display-stopped-script= 116 | #greeter-setup-script= 117 | #session-setup-script= 118 | #session-cleanup-script= 119 | #autologin-guest=false 120 | autologin-user=liveuser 121 | #autologin-user-timeout=0 122 | #autologin-in-background=false 123 | autologin-session=xfce 124 | #exit-on-failure=false 125 | 126 | # 127 | # XDMCP Server configuration 128 | # 129 | # enabled = True if XDMCP connections should be allowed 130 | # port = UDP/IP port to listen for connections on 131 | # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present) 132 | # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf) 133 | # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset) 134 | # 135 | # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively 136 | # it can be a word and the first 7 characters are used as the key. 137 | # 138 | [XDMCPServer] 139 | #enabled=false 140 | #port=177 141 | #listen-address= 142 | #key= 143 | #hostname= 144 | 145 | # 146 | # VNC Server configuration 147 | # 148 | # enabled = True if VNC connections should be allowed 149 | # command = Command to run Xvnc server with 150 | # port = TCP/IP port to listen for connections on 151 | # listen-address = Host/address to listen for VNC connections (use all addresses if not present) 152 | # width = Width of display to use 153 | # height = Height of display to use 154 | # depth = Color depth of display to use 155 | # 156 | [VNCServer] 157 | #enabled=false 158 | #command=Xvnc 159 | #port=5900 160 | #listen-address= 161 | #width=1024 162 | #height=768 163 | #depth=8 164 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/locale.conf: -------------------------------------------------------------------------------- 1 | LANG=en_US.UTF-8 2 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/localtime: -------------------------------------------------------------------------------- 1 | /usr/share/zoneinfo/UTC -------------------------------------------------------------------------------- /archiso/airootfs/etc/mkinitcpio.conf: -------------------------------------------------------------------------------- 1 | # vim:set ft=sh 2 | # MODULES 3 | # The following modules are loaded before any boot hooks are 4 | # run. Advanced users may wish to specify all system modules 5 | # in this array. For instance: 6 | # MODULES=(piix ide_disk reiserfs) 7 | MODULES=() 8 | 9 | # BINARIES 10 | # This setting includes any additional binaries a given user may 11 | # wish into the CPIO image. This is run last, so it may be used to 12 | # override the actual binaries included by a given hook 13 | # BINARIES are dependency parsed, so you may safely ignore libraries 14 | BINARIES=() 15 | 16 | # FILES 17 | # This setting is similar to BINARIES above, however, files are added 18 | # as-is and are not parsed in any way. This is useful for config files. 19 | FILES=() 20 | 21 | # HOOKS 22 | # This is the most important setting in this file. The HOOKS control the 23 | # modules and scripts added to the image, and what happens at boot time. 24 | # Order is important, and it is recommended that you do not change the 25 | # order in which HOOKS are added. Run 'mkinitcpio -H ' for 26 | # help on a given hook. 27 | # 'base' is _required_ unless you know precisely what you are doing. 28 | # 'udev' is _required_ in order to automatically load modules 29 | # 'filesystems' is _required_ unless you specify your fs modules in MODULES 30 | # Examples: 31 | ## This setup specifies all modules in the MODULES setting above. 32 | ## No raid, lvm2, or encrypted root is needed. 33 | # HOOKS=(base) 34 | # 35 | ## This setup will autodetect all modules for your system and should 36 | ## work as a sane default 37 | # HOOKS=(base udev autodetect block filesystems) 38 | # 39 | ## This setup will generate a 'full' image which supports most systems. 40 | ## No autodetection is done. 41 | # HOOKS=(base udev block filesystems) 42 | # 43 | ## This setup assembles a pata mdadm array with an encrypted root FS. 44 | ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. 45 | # HOOKS=(base udev block mdadm encrypt filesystems) 46 | # 47 | ## This setup loads an lvm2 volume group on a usb device. 48 | # HOOKS=(base udev block lvm2 filesystems) 49 | # 50 | ## NOTE: If you have /usr on a separate partition, you MUST include the 51 | # usr, fsck and shutdown hooks. 52 | HOOKS=(base udev modconf archiso_shutdown archiso archiso_loop_mnt archiso_kms block filesystems keyboard) 53 | 54 | # COMPRESSION 55 | # Use this to compress the initramfs image. By default, gzip compression 56 | # is used. Use 'cat' to create an uncompressed image. 57 | #COMPRESSION="gzip" 58 | #COMPRESSION="bzip2" 59 | #COMPRESSION="lzma" 60 | COMPRESSION="xz" 61 | #COMPRESSION="lzop" 62 | #COMPRESSION="lz4" 63 | #COMPRESSION="zstd" 64 | 65 | # COMPRESSION_OPTIONS 66 | # Additional options for the compressor 67 | #COMPRESSION_OPTIONS=() 68 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/mkinitcpio.d/linux.preset: -------------------------------------------------------------------------------- 1 | # mkinitcpio preset file for the 'linux' package on archiso 2 | 3 | ALL_kver="/boot/vmlinuz-linux" 4 | ALL_config="/etc/mkinitcpio.conf" 5 | 6 | PRESETS=('default' 'fallback') 7 | 8 | #default_config="/etc/mkinitcpio.conf" 9 | default_image="/boot/initramfs-linux.img" 10 | #default_options="" 11 | 12 | #fallback_config="/etc/mkinitcpio.conf" 13 | fallback_image="/boot/initramfs-linux-fallback.img" 14 | fallback_options="-S autodetect" 15 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/modprobe.d/broadcom-wl.conf: -------------------------------------------------------------------------------- 1 | # The broadcom-wl package requires some modules to be disabled in order to use 2 | # wl. Since the ISO image needs to cover many hardware cases, this file 3 | # overrides the default blacklist in /usr/lib/modprobe.d/ 4 | # 5 | # If you need to use wl, you may need to delete this file, then `rmmod` any 6 | # already-loaded modules that are now blacklisted before proceeding to modprobe 7 | # wl itself. 8 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/motd: -------------------------------------------------------------------------------- 1 | To install Arch Linux follow the installation guide: 2 | https://wiki.archlinux.org/title/Installation_guide 3 | 4 | For Wi-Fi, authenticate to the wireless network using the iwctl utility. 5 | For mobile broadband (WWAN) modems, connect with the mmcli utility. 6 | Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. 7 | 8 | After connecting to the internet, the installation guide can be accessed 9 | via the convenience script Installation_guide. 10 | 11 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/pacman.conf 3 | # 4 | # See the pacman.conf(5) manpage for option and repository directives 5 | 6 | # 7 | # GENERAL OPTIONS 8 | # 9 | [options] 10 | # The following paths are commented out with their default values listed. 11 | # If you wish to use different paths, uncomment and update the paths. 12 | #RootDir = / 13 | #DBPath = /var/lib/pacman/ 14 | #CacheDir = /var/cache/pacman/pkg/ 15 | #LogFile = /var/log/pacman.log 16 | #GPGDir = /etc/pacman.d/gnupg/ 17 | #HookDir = /etc/pacman.d/hooks/ 18 | HoldPkg = pacman glibc 19 | #XferCommand = /usr/bin/curl -L -C - -f -o %o %u 20 | #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u 21 | #CleanMethod = KeepInstalled 22 | Architecture = auto 23 | 24 | # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup 25 | #IgnorePkg = 26 | #IgnoreGroup = 27 | 28 | #NoUpgrade = 29 | #NoExtract = 30 | 31 | # Misc options 32 | #UseSyslog 33 | Color 34 | #NoProgressBar 35 | CheckSpace 36 | VerbosePkgLists 37 | ILoveCandy 38 | ParallelDownloads = 5 39 | 40 | # By default, pacman accepts packages signed by keys that its local keyring 41 | # trusts (see pacman-key and its man page), as well as unsigned packages. 42 | SigLevel = Required DatabaseOptional 43 | LocalFileSigLevel = Optional 44 | #RemoteFileSigLevel = Required 45 | 46 | # NOTE: You must run `pacman-key --init` before first using pacman; the local 47 | # keyring can then be populated with the keys of all official Arch Linux 48 | # packagers with `pacman-key --populate archlinux`. 49 | 50 | # 51 | # REPOSITORIES 52 | # - can be defined here or included from another file 53 | # - pacman will search repositories in the order defined here 54 | # - local/custom mirrors can be added here or in separate files 55 | # - repositories listed first will take precedence when packages 56 | # have identical names, regardless of version number 57 | # - URLs will have $repo replaced by the name of the current repo 58 | # - URLs will have $arch replaced by the name of the architecture 59 | # 60 | # Repository entries are of the format: 61 | # [repo-name] 62 | # Server = ServerName 63 | # Include = IncludePath 64 | # 65 | # The header [repo-name] is crucial - it must be present and 66 | # uncommented to enable the repo. 67 | # 68 | 69 | # The testing repositories are disabled by default. To enable, uncomment the 70 | # repo name header and Include lines. You can add preferred servers immediately 71 | # after the header, and they will be used before the default mirrors. 72 | 73 | #[testing] 74 | #Include = /etc/pacman.d/mirrorlist 75 | #Usage = Sync Search 76 | 77 | [zone-core-repo] 78 | SigLevel = Optional TrustedOnly 79 | Server = https://zone-linux.github.io/$repo/$arch 80 | 81 | [zone-repo] 82 | SigLevel = Optional TrustedOnly 83 | Server = https://zone-linux.github.io/$repo/$arch 84 | 85 | [zone-3party-repo] 86 | SigLevel = Optional TrustedOnly 87 | Server = https://zone-linux.github.io/$repo/$arch 88 | 89 | [core] 90 | Include = /etc/pacman.d/mirrorlist 91 | 92 | [extra] 93 | Include = /etc/pacman.d/mirrorlist 94 | 95 | #[community-testing] 96 | #Include = /etc/pacman.d/mirrorlist 97 | #Usage = Sync Search 98 | 99 | [community] 100 | Include = /etc/pacman.d/mirrorlist 101 | 102 | # If you want to run 32 bit applications on your x86_64 system, 103 | # enable the multilib repositories as required here. 104 | 105 | #[multilib-testing] 106 | #Include = /etc/pacman.d/mirrorlist 107 | #Usage = Sync Search 108 | 109 | [multilib] 110 | Include = /etc/pacman.d/mirrorlist 111 | 112 | # An example of a custom package repository. See the pacman manpage for 113 | # tips on creating your own repositories. 114 | #[custom] 115 | #SigLevel = Optional TrustAll 116 | #Server = file:///home/custompkgs 117 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.d/gnupg/gpg.conf: -------------------------------------------------------------------------------- 1 | no-greeting 2 | no-permission-warning 3 | lock-never 4 | keyserver-options timeout=10 5 | keyserver-options import-clean 6 | keyserver-options no-self-sigs-only 7 | 8 | keyserver hkp://pool.sks-keyservers.net:80 9 | keyserver hkps://hkps.pool.sks-keyservers.net:443 10 | keyserver hkp://ipv4.pool.sks-keyservers.net:11371 11 | 12 | 13 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.d/hooks/40-locale-gen.hook: -------------------------------------------------------------------------------- 1 | # remove from airootfs! 2 | [Trigger] 3 | Operation = Install 4 | Type = Package 5 | Target = glibc 6 | 7 | [Action] 8 | Description = Uncommenting en_US.UTF-8 locale and running locale-gen... 9 | When = PostTransaction 10 | Depends = glibc 11 | Depends = sed 12 | Depends = sh 13 | Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" 14 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook: -------------------------------------------------------------------------------- 1 | # remove from airootfs! 2 | [Trigger] 3 | Operation = Install 4 | Operation = Upgrade 5 | Type = Package 6 | Target = pacman-mirrorlist 7 | 8 | [Action] 9 | Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist... 10 | When = PostTransaction 11 | Depends = pacman-mirrorlist 12 | Depends = sed 13 | Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist 14 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook: -------------------------------------------------------------------------------- 1 | # remove from airootfs! 2 | # As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. 3 | # If not, they would be used when pacstrap is run in the live environment. 4 | 5 | [Trigger] 6 | Operation = Install 7 | Operation = Upgrade 8 | Operation = Remove 9 | Type = Package 10 | Target = * 11 | 12 | [Action] 13 | Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... 14 | When = PostTransaction 15 | Depends = sh 16 | Depends = coreutils 17 | Depends = grep 18 | Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" 19 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/pacman.d/mirrorlist: -------------------------------------------------------------------------------- 1 | ## 2 | ## Arch Linux repository mirrorlist 3 | ## Generated on 2020-09-07 4 | ## 5 | 6 | ## Worldwide 7 | Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch 8 | Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch 9 | Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch 10 | Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch 11 | 12 | ## Australia 13 | Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch 14 | Server = http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch 15 | Server = https://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch 16 | Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch 17 | Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch 18 | Server = http://syd.mirror.rackspace.com/archlinux/$repo/os/$arch 19 | Server = https://syd.mirror.rackspace.com/archlinux/$repo/os/$arch 20 | Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch 21 | 22 | ## Austria 23 | Server = http://mirror.digitalnova.at/archlinux/$repo/os/$arch 24 | Server = http://mirror.easyname.at/archlinux/$repo/os/$arch 25 | Server = http://mirror.reisenbauer.ee/archlinux/$repo/os/$arch 26 | Server = https://mirror.reisenbauer.ee/archlinux/$repo/os/$arch 27 | 28 | ## Bangladesh 29 | Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch 30 | 31 | ## Belarus 32 | Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch 33 | Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch 34 | 35 | ## Belgium 36 | Server = http://archlinux.cu.be/$repo/os/$arch 37 | Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch 38 | Server = http://mirror.tiguinet.net/arch/$repo/os/$arch 39 | 40 | ## Bosnia and Herzegovina 41 | Server = http://archlinux.mirror.ba/$repo/os/$arch 42 | 43 | ## Brazil 44 | Server = http://br.mirror.archlinux-br.org/$repo/os/$arch 45 | Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch 46 | Server = http://www.caco.ic.unicamp.br/archlinux/$repo/os/$arch 47 | Server = https://www.caco.ic.unicamp.br/archlinux/$repo/os/$arch 48 | Server = http://linorg.usp.br/archlinux/$repo/os/$arch 49 | Server = http://archlinux.pop-es.rnp.br/$repo/os/$arch 50 | Server = http://mirror.ufam.edu.br/archlinux/$repo/os/$arch 51 | Server = http://mirror.ufscar.br/archlinux/$repo/os/$arch 52 | 53 | ## Bulgaria 54 | Server = http://mirror.host.ag/archlinux/$repo/os/$arch 55 | Server = http://mirrors.netix.net/archlinux/$repo/os/$arch 56 | Server = http://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch 57 | Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch 58 | 59 | ## Canada 60 | Server = http://mirror.cedille.club/archlinux/$repo/os/$arch 61 | Server = http://archlinux.mirror.colo-serv.net/$repo/os/$arch 62 | Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch 63 | Server = https://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch 64 | Server = http://mirror2.evolution-host.com/archlinux/$repo/os/$arch 65 | Server = https://mirror2.evolution-host.com/archlinux/$repo/os/$arch 66 | Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch 67 | Server = http://muug.ca/mirror/archlinux/$repo/os/$arch 68 | Server = https://muug.ca/mirror/archlinux/$repo/os/$arch 69 | Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch 70 | Server = http://mirror.scd31.com/arch/$repo/os/$arch 71 | Server = https://mirror.scd31.com/arch/$repo/os/$arch 72 | Server = http://mirror.sergal.org/archlinux/$repo/os/$arch 73 | Server = https://mirror.sergal.org/archlinux/$repo/os/$arch 74 | 75 | ## Chile 76 | Server = http://mirror.anquan.cl/archlinux/$repo/os/$arch 77 | Server = http://mirror.archlinux.cl/$repo/os/$arch 78 | Server = http://mirror1.cl.netactuate.com/archlinux/$repo/os/$arch 79 | Server = https://mirror1.cl.netactuate.com/archlinux/$repo/os/$arch 80 | Server = http://mirror.ufro.cl/archlinux/$repo/os/$arch 81 | Server = https://mirror.ufro.cl/archlinux/$repo/os/$arch 82 | 83 | ## China 84 | Server = http://mirrors.163.com/archlinux/$repo/os/$arch 85 | Server = http://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch 86 | Server = https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch 87 | Server = http://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch 88 | Server = https://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch 89 | Server = http://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch 90 | Server = https://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch 91 | Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch 92 | Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch 93 | Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch 94 | Server = http://mirrors.nju.edu.cn/archlinux/$repo/os/$arch 95 | Server = https://mirrors.nju.edu.cn/archlinux/$repo/os/$arch 96 | Server = http://mirror.redrock.team/archlinux/$repo/os/$arch 97 | Server = https://mirror.redrock.team/archlinux/$repo/os/$arch 98 | Server = https://mirrors.sjtug.sjtu.edu.cn/archlinux/$repo/os/$arch 99 | Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch 100 | Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch 101 | Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch 102 | Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch 103 | Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch 104 | Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch 105 | 106 | ## Colombia 107 | Server = http://mirrors.udenar.edu.co/archlinux/$repo/os/$arch 108 | 109 | ## Croatia 110 | Server = http://archlinux.iskon.hr/$repo/os/$arch 111 | 112 | ## Czechia 113 | Server = http://mirror.dkm.cz/archlinux/$repo/os/$arch 114 | Server = https://mirror.dkm.cz/archlinux/$repo/os/$arch 115 | Server = http://ftp.fi.muni.cz/pub/linux/arch/$repo/os/$arch 116 | Server = http://ftp.linux.cz/pub/linux/arch/$repo/os/$arch 117 | Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch 118 | Server = https://gluttony.sin.cvut.cz/arch/$repo/os/$arch 119 | Server = http://mirrors.nic.cz/archlinux/$repo/os/$arch 120 | Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch 121 | Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch 122 | Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch 123 | 124 | ## Denmark 125 | Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch 126 | Server = https://mirrors.dotsrc.org/archlinux/$repo/os/$arch 127 | Server = http://mirror.one.com/archlinux/$repo/os/$arch 128 | Server = https://mirror.one.com/archlinux/$repo/os/$arch 129 | 130 | ## Ecuador 131 | Server = http://mirror.cedia.org.ec/archlinux/$repo/os/$arch 132 | Server = http://mirror.espoch.edu.ec/archlinux/$repo/os/$arch 133 | Server = http://mirror.uta.edu.ec/archlinux/$repo/os/$arch 134 | 135 | ## Finland 136 | Server = http://arch.mirror.far.fi/$repo/os/$arch 137 | Server = http://mirror.hosthink.net/archlinux/$repo/os/$arch 138 | Server = http://mirror.pseudoform.org/$repo/os/$arch 139 | Server = https://mirror.pseudoform.org/$repo/os/$arch 140 | Server = https://mirror.srv.fail/archlinux/$repo/os/$arch 141 | Server = http://mirror.wuki.li/archlinux/$repo/os/$arch 142 | Server = https://mirror.wuki.li/archlinux/$repo/os/$arch 143 | 144 | ## France 145 | Server = http://archlinux.de-labrusse.fr/$repo/os/$arch 146 | Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch 147 | Server = http://archlinux.vi-di.fr/$repo/os/$arch 148 | Server = http://archlinux.mirrors.benatherton.com/$repo/os/$arch 149 | Server = http://mirror.cyberbits.eu/archlinux/$repo/os/$arch 150 | Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch 151 | Server = https://mirrors.eric.ovh/arch/$repo/os/$arch 152 | Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch 153 | Server = http://mirror.lastmikoi.net/archlinux/$repo/os/$arch 154 | Server = https://arch-mirror.cloud.louifox.house/$repo/os/$arch 155 | Server = http://archlinux.mailtunnel.eu/$repo/os/$arch 156 | Server = https://archlinux.mailtunnel.eu/$repo/os/$arch 157 | Server = http://mir.archlinux.fr/$repo/os/$arch 158 | Server = http://mirrors.celianvdb.fr/archlinux/$repo/os/$arch 159 | Server = https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch 160 | Server = http://arch.nimukaito.net/$repo/os/$arch 161 | Server = https://arch.nimukaito.net/$repo/os/$arch 162 | Server = http://mirror.oldsql.cc/archlinux/$repo/os/$arch 163 | Server = https://mirror.oldsql.cc/archlinux/$repo/os/$arch 164 | Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch 165 | Server = http://archlinux.polymorf.fr/$repo/os/$arch 166 | Server = http://archlinux.rezopole.net/$repo/os/$arch 167 | Server = https://mirrors.slaanesh.org/archlinux/$repo/os/$arch 168 | Server = http://mirrors.standaloneinstaller.com/archlinux/$repo/os/$arch 169 | Server = https://mirror.sysa.tech/archlinux/$repo/os/$arch 170 | Server = https://mirror.thekinrar.fr/archlinux/$repo/os/$arch 171 | Server = http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch 172 | Server = https://mirror.wormhole.eu/archlinux/$repo/os/$arch 173 | Server = http://mirroir.wptheme.fr/archlinux/$repo/os/$arch 174 | Server = https://mirroir.wptheme.fr/archlinux/$repo/os/$arch 175 | Server = http://arch.yourlabs.org/$repo/os/$arch 176 | Server = https://arch.yourlabs.org/$repo/os/$arch 177 | 178 | ## Georgia 179 | Server = http://archlinux.grena.ge/$repo/os/$arch 180 | Server = https://archlinux.grena.ge/$repo/os/$arch 181 | 182 | ## Germany 183 | Server = http://mirror.23media.com/archlinux/$repo/os/$arch 184 | Server = https://mirror.23media.com/archlinux/$repo/os/$arch 185 | Server = https://appuals.com/archlinux/$repo/os/$arch 186 | Server = http://artfiles.org/archlinux.org/$repo/os/$arch 187 | Server = https://mirror.bethselamin.de/$repo/os/$arch 188 | Server = http://mirror.chaoticum.net/arch/$repo/os/$arch 189 | Server = https://mirror.chaoticum.net/arch/$repo/os/$arch 190 | Server = http://mirror.checkdomain.de/archlinux/$repo/os/$arch 191 | Server = https://mirror.checkdomain.de/archlinux/$repo/os/$arch 192 | Server = http://mirror.f4st.host/archlinux/$repo/os/$arch 193 | Server = https://mirror.f4st.host/archlinux/$repo/os/$arch 194 | Server = http://ftp.fau.de/archlinux/$repo/os/$arch 195 | Server = https://ftp.fau.de/archlinux/$repo/os/$arch 196 | Server = https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch 197 | Server = http://mirror.fsrv.services/archlinux/$repo/os/$arch 198 | Server = https://mirror.fsrv.services/archlinux/$repo/os/$arch 199 | Server = https://mirror.gnomus.de/$repo/os/$arch 200 | Server = http://www.gutscheindrache.com/mirror/archlinux/$repo/os/$arch 201 | Server = http://ftp.gwdg.de/pub/linux/archlinux/$repo/os/$arch 202 | Server = http://archlinux.honkgong.info/$repo/os/$arch 203 | Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch 204 | Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch 205 | Server = http://archlinux.mirror.iphh.net/$repo/os/$arch 206 | Server = http://arch.jensgutermuth.de/$repo/os/$arch 207 | Server = https://arch.jensgutermuth.de/$repo/os/$arch 208 | Server = http://mirror.kumi.systems/archlinux/$repo/os/$arch 209 | Server = https://mirror.kumi.systems/archlinux/$repo/os/$arch 210 | Server = http://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch 211 | Server = https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch 212 | Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch 213 | Server = https://mirror.metalgamer.eu/archlinux/$repo/os/$arch 214 | Server = http://mirror.mikrogravitation.org/archlinux/$repo/os/$arch 215 | Server = https://mirror.mikrogravitation.org/archlinux/$repo/os/$arch 216 | Server = https://ger.mirror.pkgbuild.com/$repo/os/$arch 217 | Server = https://mirror.pkgbuild.com/$repo/os/$arch 218 | Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch 219 | Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch 220 | Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch 221 | Server = https://mirror.netcologne.de/archlinux/$repo/os/$arch 222 | Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch 223 | Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch 224 | Server = http://mirror.orbit-os.com/archlinux/$repo/os/$arch 225 | Server = https://mirror.orbit-os.com/archlinux/$repo/os/$arch 226 | Server = http://packages.oth-regensburg.de/archlinux/$repo/os/$arch 227 | Server = https://packages.oth-regensburg.de/archlinux/$repo/os/$arch 228 | Server = http://phinau.de/arch/$repo/os/$arch 229 | Server = https://phinau.de/arch/$repo/os/$arch 230 | Server = https://www.ratenzahlung.de/mirror/archlinux/$repo/os/$arch 231 | Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch 232 | Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch 233 | Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch 234 | Server = http://mirror.satis-faction.de/archlinux/$repo/os/$arch 235 | Server = https://mirror.satis-faction.de/archlinux/$repo/os/$arch 236 | Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch 237 | Server = https://mirror.selfnet.de/archlinux/$repo/os/$arch 238 | Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch 239 | Server = https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch 240 | Server = http://archlinux.thaller.ws/$repo/os/$arch 241 | Server = https://archlinux.thaller.ws/$repo/os/$arch 242 | Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch 243 | Server = http://mirror.ubrco.de/archlinux/$repo/os/$arch 244 | Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch 245 | Server = http://mirror.undisclose.de/archlinux/$repo/os/$arch 246 | Server = https://mirror.undisclose.de/archlinux/$repo/os/$arch 247 | Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch 248 | Server = http://ftp.uni-hannover.de/archlinux/$repo/os/$arch 249 | Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch 250 | Server = http://mirror.united-gameserver.de/archlinux/$repo/os/$arch 251 | Server = https://arch.unixpeople.org/$repo/os/$arch 252 | Server = http://ftp.wrz.de/pub/archlinux/$repo/os/$arch 253 | Server = https://ftp.wrz.de/pub/archlinux/$repo/os/$arch 254 | Server = http://mirror.wtnet.de/arch/$repo/os/$arch 255 | Server = https://mirror.wtnet.de/arch/$repo/os/$arch 256 | 257 | ## Greece 258 | Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch 259 | Server = http://mirrors.myaegean.gr/linux/archlinux/$repo/os/$arch 260 | Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch 261 | Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch 262 | 263 | ## Hong Kong 264 | Server = http://mirror-hk.koddos.net/archlinux/$repo/os/$arch 265 | Server = https://mirror-hk.koddos.net/archlinux/$repo/os/$arch 266 | Server = http://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch 267 | Server = https://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch 268 | Server = https://arch-mirror.wtako.net/$repo/os/$arch 269 | Server = http://mirror.xtom.com.hk/archlinux/$repo/os/$arch 270 | Server = https://mirror.xtom.com.hk/archlinux/$repo/os/$arch 271 | 272 | ## Hungary 273 | Server = http://ftp.energia.mta.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch 274 | Server = http://archmirror.hbit.sztaki.hu/archlinux/$repo/os/$arch 275 | Server = http://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 276 | Server = http://quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 277 | Server = http://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 278 | Server = https://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 279 | Server = https://quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 280 | Server = https://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch 281 | 282 | ## Iceland 283 | Server = http://mirror.system.is/arch/$repo/os/$arch 284 | Server = https://mirror.system.is/arch/$repo/os/$arch 285 | 286 | ## India 287 | Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch 288 | Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch 289 | Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch 290 | 291 | ## Indonesia 292 | Server = http://mirror.gi.co.id/archlinux/$repo/os/$arch 293 | Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch 294 | Server = http://mirror.labkom.id/archlinux/$repo/os/$arch 295 | Server = http://mirror.papua.go.id/archlinux/$repo/os/$arch 296 | Server = https://mirror.papua.go.id/archlinux/$repo/os/$arch 297 | Server = http://mirror.poliwangi.ac.id/archlinux/$repo/os/$arch 298 | Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch 299 | Server = http://mirror.telkomuniversity.ac.id/archlinux/$repo/os/$arch 300 | Server = https://mirror.telkomuniversity.ac.id/archlinux/$repo/os/$arch 301 | 302 | ## Iran 303 | Server = http://repo.iut.ac.ir/repo/archlinux/$repo/os/$arch 304 | Server = http://mirrors.mirjamali.ir/archlinux/$repo/os/$arch 305 | Server = https://mirrors.mirjamali.ir/archlinux/$repo/os/$arch 306 | Server = http://mirror.nak-mci.ir/arch/$repo/os/$arch 307 | Server = http://mirror.rasanegar.com/archlinux/$repo/os/$arch 308 | Server = https://mirror.rasanegar.com/archlinux/$repo/os/$arch 309 | 310 | ## Ireland 311 | Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch 312 | Server = https://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch 313 | 314 | ## Israel 315 | Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch 316 | Server = https://archlinux.mivzakim.net/$repo/os/$arch 317 | 318 | ## Italy 319 | Server = https://archlinux.beccacervello.it/archlinux/$repo/os/$arch 320 | Server = http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch 321 | Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch 322 | 323 | ## Japan 324 | Server = http://mirrors.cat.net/archlinux/$repo/os/$arch 325 | Server = https://mirrors.cat.net/archlinux/$repo/os/$arch 326 | Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch 327 | Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch 328 | Server = https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch 329 | 330 | ## Kazakhstan 331 | Server = http://mirror.ps.kz/archlinux/$repo/os/$arch 332 | Server = https://mirror.ps.kz/archlinux/$repo/os/$arch 333 | 334 | ## Kenya 335 | Server = http://archlinux.mirror.liquidtelecom.com/$repo/os/$arch 336 | Server = https://archlinux.mirror.liquidtelecom.com/$repo/os/$arch 337 | 338 | ## Latvia 339 | Server = http://archlinux.koyanet.lv/archlinux/$repo/os/$arch 340 | 341 | ## Lithuania 342 | Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch 343 | Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch 344 | Server = http://mirrors.ims.nksc.lt/archlinux/$repo/os/$arch 345 | Server = https://mirrors.ims.nksc.lt/archlinux/$repo/os/$arch 346 | 347 | ## Luxembourg 348 | Server = http://archlinux.mirror.root.lu/$repo/os/$arch 349 | 350 | ## Netherlands 351 | Server = https://mirrors.daan.vodka/archlinux/$repo/os/$arch 352 | Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch 353 | Server = https://mirror.i3d.net/pub/archlinux/$repo/os/$arch 354 | Server = https://arch.jeweet.net/$repo/os/$arch 355 | Server = http://mirror.koddos.net/archlinux/$repo/os/$arch 356 | Server = https://mirror.koddos.net/archlinux/$repo/os/$arch 357 | Server = http://arch.mirrors.lavatech.top/$repo/os/$arch 358 | Server = https://arch.mirrors.lavatech.top/$repo/os/$arch 359 | Server = http://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch 360 | Server = https://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch 361 | Server = http://archlinux.mirror.liteserver.nl/$repo/os/$arch 362 | Server = https://archlinux.mirror.liteserver.nl/$repo/os/$arch 363 | Server = http://mirror.lyrahosting.com/archlinux/$repo/os/$arch 364 | Server = https://mirror.lyrahosting.com/archlinux/$repo/os/$arch 365 | Server = http://mirror.mijn.host/archlinux/$repo/os/$arch 366 | Server = https://mirror.mijn.host/archlinux/$repo/os/$arch 367 | Server = http://mirror.neostrada.nl/archlinux/$repo/os/$arch 368 | Server = https://mirror.neostrada.nl/archlinux/$repo/os/$arch 369 | Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch 370 | Server = http://archlinux.mirror.pcextreme.nl/$repo/os/$arch 371 | Server = https://archlinux.mirror.pcextreme.nl/$repo/os/$arch 372 | Server = http://mirror.serverion.com/archlinux/$repo/os/$arch 373 | Server = https://mirror.serverion.com/archlinux/$repo/os/$arch 374 | Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch 375 | Server = http://mirror.tarellia.net/distr/archlinux/$repo/os/$arch 376 | Server = https://mirror.tarellia.net/distr/archlinux/$repo/os/$arch 377 | Server = http://archlinux.mirror.wearetriple.com/$repo/os/$arch 378 | Server = https://archlinux.mirror.wearetriple.com/$repo/os/$arch 379 | Server = http://mirror-archlinux.webruimtehosting.nl/$repo/os/$arch 380 | Server = https://mirror-archlinux.webruimtehosting.nl/$repo/os/$arch 381 | Server = http://mirrors.xtom.nl/archlinux/$repo/os/$arch 382 | Server = https://mirrors.xtom.nl/archlinux/$repo/os/$arch 383 | 384 | ## New Caledonia 385 | Server = http://mirror.lagoon.nc/pub/archlinux/$repo/os/$arch 386 | Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch 387 | Server = https://archlinux.nautile.nc/archlinux/$repo/os/$arch 388 | 389 | ## New Zealand 390 | Server = http://mirror.fsmg.org.nz/archlinux/$repo/os/$arch 391 | Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch 392 | Server = http://mirror.smith.geek.nz/archlinux/$repo/os/$arch 393 | Server = https://mirror.smith.geek.nz/archlinux/$repo/os/$arch 394 | 395 | ## North Macedonia 396 | Server = http://arch.softver.org.mk/archlinux/$repo/os/$arch 397 | Server = http://mirror.onevip.mk/archlinux/$repo/os/$arch 398 | Server = http://mirror.t-home.mk/archlinux/$repo/os/$arch 399 | Server = https://mirror.t-home.mk/archlinux/$repo/os/$arch 400 | 401 | ## Norway 402 | Server = http://mirror.archlinux.no/$repo/os/$arch 403 | Server = https://mirror.archlinux.no/$repo/os/$arch 404 | Server = http://archlinux.uib.no/$repo/os/$arch 405 | Server = http://mirror.neuf.no/archlinux/$repo/os/$arch 406 | Server = https://mirror.neuf.no/archlinux/$repo/os/$arch 407 | Server = http://mirror.terrahost.no/linux/archlinux/$repo/os/$arch 408 | 409 | ## Paraguay 410 | Server = http://archlinux.mirror.py/archlinux/$repo/os/$arch 411 | 412 | ## Philippines 413 | Server = http://mirror.rise.ph/archlinux/$repo/os/$arch 414 | 415 | ## Poland 416 | Server = http://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch 417 | Server = https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch 418 | Server = http://arch.midov.pl/arch/$repo/os/$arch 419 | Server = http://arch.nixlab.pl/$repo/os/$arch 420 | Server = https://arch.nixlab.pl/$repo/os/$arch 421 | Server = http://mirror.onet.pl/pub/mirrors/archlinux/$repo/os/$arch 422 | Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch 423 | Server = http://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch 424 | Server = https://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch 425 | Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch 426 | 427 | ## Portugal 428 | Server = http://glua.ua.pt/pub/archlinux/$repo/os/$arch 429 | Server = https://glua.ua.pt/pub/archlinux/$repo/os/$arch 430 | Server = http://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch 431 | Server = https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch 432 | 433 | ## Romania 434 | Server = http://mirrors.chroot.ro/archlinux/$repo/os/$arch 435 | Server = https://mirrors.chroot.ro/archlinux/$repo/os/$arch 436 | Server = http://mirror.efect.ro/archlinux/$repo/os/$arch 437 | Server = https://mirror.efect.ro/archlinux/$repo/os/$arch 438 | Server = http://archlinux.mirrors.linux.ro/$repo/os/$arch 439 | Server = http://mirrors.m247.ro/archlinux/$repo/os/$arch 440 | Server = http://mirrors.nav.ro/archlinux/$repo/os/$arch 441 | Server = http://mirrors.nxthost.com/archlinux/$repo/os/$arch 442 | Server = https://mirrors.nxthost.com/archlinux/$repo/os/$arch 443 | Server = http://mirrors.pidginhost.com/arch/$repo/os/$arch 444 | Server = https://mirrors.pidginhost.com/arch/$repo/os/$arch 445 | 446 | ## Russia 447 | Server = http://mirrors.powernet.com.ru/archlinux/$repo/os/$arch 448 | Server = http://mirror.rol.ru/archlinux/$repo/os/$arch 449 | Server = https://mirror.rol.ru/archlinux/$repo/os/$arch 450 | Server = http://mirror.truenetwork.ru/archlinux/$repo/os/$arch 451 | Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch 452 | Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch 453 | Server = http://archlinux.zepto.cloud/$repo/os/$arch 454 | 455 | ## Serbia 456 | Server = http://arch.petarmaric.com/$repo/os/$arch 457 | Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch 458 | 459 | ## Singapore 460 | Server = http://mirror.0x.sg/archlinux/$repo/os/$arch 461 | Server = https://mirror.0x.sg/archlinux/$repo/os/$arch 462 | Server = http://mirror.aktkn.sg/archlinux/$repo/os/$arch 463 | Server = https://mirror.aktkn.sg/archlinux/$repo/os/$arch 464 | Server = https://download.nus.edu.sg/mirror/archlinux/$repo/os/$arch 465 | Server = http://mirror.nus.edu.sg/archlinux/$repo/os/$arch 466 | 467 | ## Slovakia 468 | Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch 469 | Server = https://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch 470 | Server = http://tux.rainside.sk/archlinux/$repo/os/$arch 471 | 472 | ## Slovenia 473 | Server = http://archimonde.ts.si/archlinux/$repo/os/$arch 474 | Server = https://archimonde.ts.si/archlinux/$repo/os/$arch 475 | 476 | ## South Africa 477 | Server = http://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch 478 | Server = https://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch 479 | Server = http://za.mirror.archlinux-br.org/$repo/os/$arch 480 | Server = http://mirror.is.co.za/mirror/archlinux.org/$repo/os/$arch 481 | Server = http://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch 482 | Server = https://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch 483 | 484 | ## South Korea 485 | Server = http://ftp.harukasan.org/archlinux/$repo/os/$arch 486 | Server = https://ftp.harukasan.org/archlinux/$repo/os/$arch 487 | Server = http://ftp.lanet.kr/pub/archlinux/$repo/os/$arch 488 | Server = https://ftp.lanet.kr/pub/archlinux/$repo/os/$arch 489 | Server = http://mirror.premi.st/archlinux/$repo/os/$arch 490 | Server = https://mirror.premi.st/archlinux/$repo/os/$arch 491 | 492 | ## Spain 493 | Server = https://mirror.cloroformo.org/archlinux/$repo/os/$arch 494 | Server = http://mirror.librelabucm.org/archlinux/$repo/os/$arch 495 | Server = https://mirror.librelabucm.org/archlinux/$repo/os/$arch 496 | Server = https://osl.ugr.es/archlinux/$repo/os/$arch 497 | Server = http://ftp.rediris.es/mirror/archlinux/$repo/os/$arch 498 | Server = http://sharing.thelinuxsect.com/archlinux/$repo/os/$arch 499 | 500 | ## Sweden 501 | Server = http://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch 502 | Server = https://ftp.acc.umu.se/mirror/archlinux/$repo/os/$arch 503 | Server = http://archlinux.dynamict.se/$repo/os/$arch 504 | Server = https://archlinux.dynamict.se/$repo/os/$arch 505 | Server = http://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch 506 | Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch 507 | Server = https://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch 508 | Server = http://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch 509 | Server = https://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch 510 | Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch 511 | 512 | ## Switzerland 513 | Server = http://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch 514 | Server = https://pkg.adfinis-sygroup.ch/archlinux/$repo/os/$arch 515 | Server = http://mirror.init7.net/archlinux/$repo/os/$arch 516 | Server = https://mirror.init7.net/archlinux/$repo/os/$arch 517 | Server = http://mirror.puzzle.ch/archlinux/$repo/os/$arch 518 | Server = https://mirror.puzzle.ch/archlinux/$repo/os/$arch 519 | Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch 520 | 521 | ## Taiwan 522 | Server = http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch 523 | Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch 524 | Server = http://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch 525 | Server = https://shadow.ind.ntou.edu.tw/archlinux/$repo/os/$arch 526 | Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch 527 | Server = http://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch 528 | Server = https://ftp.yzu.edu.tw/Linux/archlinux/$repo/os/$arch 529 | 530 | ## Thailand 531 | Server = http://mirror.kku.ac.th/archlinux/$repo/os/$arch 532 | Server = https://mirror.kku.ac.th/archlinux/$repo/os/$arch 533 | Server = http://mirror2.totbb.net/archlinux/$repo/os/$arch 534 | 535 | ## Turkey 536 | Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch 537 | Server = http://mirror.veriteknik.net.tr/archlinux/$repo/os/$arch 538 | 539 | ## Ukraine 540 | Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch 541 | Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch 542 | Server = http://mirror.mirohost.net/archlinux/$repo/os/$arch 543 | Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch 544 | Server = http://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch 545 | Server = https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch 546 | 547 | ## United Kingdom 548 | Server = http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch 549 | Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch 550 | Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch 551 | Server = https://mirror.bytemark.co.uk/archlinux/$repo/os/$arch 552 | Server = http://mirrors.gethosted.online/archlinux/$repo/os/$arch 553 | Server = https://mirrors.gethosted.online/archlinux/$repo/os/$arch 554 | Server = http://mirrors.manchester.m247.com/arch-linux/$repo/os/$arch 555 | Server = http://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch 556 | Server = https://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch 557 | Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch 558 | Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch 559 | Server = http://mirror.netweaver.uk/archlinux/$repo/os/$arch 560 | Server = https://mirror.netweaver.uk/archlinux/$repo/os/$arch 561 | Server = http://lon.mirror.rackspace.com/archlinux/$repo/os/$arch 562 | Server = https://lon.mirror.rackspace.com/archlinux/$repo/os/$arch 563 | Server = http://arch.serverspace.co.uk/arch/$repo/os/$arch 564 | Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch 565 | Server = http://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch 566 | Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch 567 | 568 | ## United States 569 | Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch 570 | Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch 571 | Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch 572 | Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch 573 | Server = http://il.us.mirror.archlinux-br.org/$repo/os/$arch 574 | Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch 575 | Server = https://archlinux.surlyjake.com/archlinux/$repo/os/$arch 576 | Server = http://mirror.arizona.edu/archlinux/$repo/os/$arch 577 | Server = https://mirror.arizona.edu/archlinux/$repo/os/$arch 578 | Server = http://arlm.tyzoid.com/$repo/os/$arch 579 | Server = https://arlm.tyzoid.com/$repo/os/$arch 580 | Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch 581 | Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch 582 | Server = http://arch.mirror.constant.com/$repo/os/$arch 583 | Server = https://arch.mirror.constant.com/$repo/os/$arch 584 | Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch 585 | Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/$arch 586 | Server = http://distro.ibiblio.org/archlinux/$repo/os/$arch 587 | Server = http://mirror.es.its.nyu.edu/archlinux/$repo/os/$arch 588 | Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch 589 | Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch 590 | Server = http://mirror.dc02.hackingand.coffee/arch/$repo/os/$arch 591 | Server = https://mirror.dc02.hackingand.coffee/arch/$repo/os/$arch 592 | Server = https://mirror.hodgepodge.dev/archlinux/$repo/os/$arch 593 | Server = http://arch.hu.fo/archlinux/$repo/os/$arch 594 | Server = https://arch.hu.fo/archlinux/$repo/os/$arch 595 | Server = http://repo.ialab.dsu.edu/archlinux/$repo/os/$arch 596 | Server = https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch 597 | Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch 598 | Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch 599 | Server = http://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch 600 | Server = http://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch 601 | Server = http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch 602 | Server = http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch 603 | Server = https://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch 604 | Server = https://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch 605 | Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch 606 | Server = https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch 607 | Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch 608 | Server = http://mirror.lty.me/archlinux/$repo/os/$arch 609 | Server = https://mirror.lty.me/archlinux/$repo/os/$arch 610 | Server = http://reflector.luehm.com/arch/$repo/os/$arch 611 | Server = https://reflector.luehm.com/arch/$repo/os/$arch 612 | Server = http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch 613 | Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch 614 | Server = http://mirror.math.princeton.edu/pub/archlinux/$repo/os/$arch 615 | Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch 616 | Server = http://mirror.kaminski.io/archlinux/$repo/os/$arch 617 | Server = https://mirror.kaminski.io/archlinux/$repo/os/$arch 618 | Server = http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch 619 | Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch 620 | Server = http://repo.miserver.it.umich.edu/archlinux/$repo/os/$arch 621 | Server = http://mirrors.mit.edu/archlinux/$repo/os/$arch 622 | Server = https://mirrors.mit.edu/archlinux/$repo/os/$arch 623 | Server = http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch 624 | Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch 625 | Server = http://archmirror1.octyl.net/$repo/os/$arch 626 | Server = https://archmirror1.octyl.net/$repo/os/$arch 627 | Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch 628 | Server = http://arch.mirrors.pair.com/$repo/os/$arch 629 | Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch 630 | Server = http://iad.mirror.rackspace.com/archlinux/$repo/os/$arch 631 | Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch 632 | Server = https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch 633 | Server = https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch 634 | Server = https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch 635 | Server = http://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch 636 | Server = https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch 637 | Server = http://mirrors.rit.edu/archlinux/$repo/os/$arch 638 | Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch 639 | Server = https://arch.rrig.gs/$repo/os/$arch 640 | Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch 641 | Server = https://mirrors.rutgers.edu/archlinux/$repo/os/$arch 642 | Server = http://mirror.siena.edu/archlinux/$repo/os/$arch 643 | Server = http://mirrors.sonic.net/archlinux/$repo/os/$arch 644 | Server = https://mirrors.sonic.net/archlinux/$repo/os/$arch 645 | Server = http://arch.mirror.square-r00t.net/$repo/os/$arch 646 | Server = https://arch.mirror.square-r00t.net/$repo/os/$arch 647 | Server = http://mirror.stephen304.com/archlinux/$repo/os/$arch 648 | Server = https://mirror.stephen304.com/archlinux/$repo/os/$arch 649 | Server = http://ftp.sudhip.com/archlinux/$repo/os/$arch 650 | Server = https://ftp.sudhip.com/archlinux/$repo/os/$arch 651 | Server = http://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch 652 | Server = https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch 653 | Server = http://mirror.umd.edu/archlinux/$repo/os/$arch 654 | Server = http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch 655 | Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch 656 | Server = http://mirrors.xtom.com/archlinux/$repo/os/$arch 657 | Server = https://mirrors.xtom.com/archlinux/$repo/os/$arch 658 | 659 | ## Vietnam 660 | Server = http://f.archlinuxvn.org/archlinux/$repo/os/$arch 661 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0:root:/root:/usr/bin/zsh 2 | liveuser:x:1000:1000::/home/liveuser:/bin/zsh 3 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | if (/^org\.freedesktop\.udisks\./.test(action.id) 3 | && subject.isInGroup("wheel")) 4 | { 5 | return polkit.Result.YES; 6 | } 7 | }); 8 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/polkit-1/rules.d/50-org.freedesktop.NetworkManager.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) { 3 | return polkit.Result.YES; 4 | } 5 | }); 6 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/polkit-1/rules.d/50-udiskie.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | var YES = polkit.Result.YES; 3 | // NOTE: there must be a comma at the end of each line except for the last: 4 | var permission = { 5 | // required for udisks1: 6 | "org.freedesktop.udisks.filesystem-mount": YES, 7 | "org.freedesktop.udisks.luks-unlock": YES, 8 | "org.freedesktop.udisks.drive-eject": YES, 9 | "org.freedesktop.udisks.drive-detach": YES, 10 | // required for udisks2: 11 | "org.freedesktop.udisks2.filesystem-mount": YES, 12 | "org.freedesktop.udisks2.encrypted-unlock": YES, 13 | "org.freedesktop.udisks2.eject-media": YES, 14 | "org.freedesktop.udisks2.power-off-drive": YES, 15 | // required for udisks2 if using udiskie from another seat (e.g. systemd): 16 | "org.freedesktop.udisks2.filesystem-mount-other-seat": YES, 17 | "org.freedesktop.udisks2.filesystem-unmount-others": YES, 18 | "org.freedesktop.udisks2.encrypted-unlock-other-seat": YES, 19 | "org.freedesktop.udisks2.eject-media-other-seat": YES, 20 | "org.freedesktop.udisks2.power-off-drive-other-seat": YES 21 | }; 22 | if (subject.isInGroup("storage")) { 23 | return permission[action.id]; 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/polkit-1/rules.d/allow-mount-internal.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" || 3 | action.id == "org.freedesktop.udisks.filesystem-mount-system-internal") && 4 | subject.local && subject.active && subject.isInGroup("users")) 5 | { 6 | return polkit.Result.YES; 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/polkit-1/rules.d/udisks-no-consolekit.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | if (action.id == "org.freedesktop.udisks.filesystem-mount") { 3 | if (subject.isInGroup("wheel")) 4 | return polkit.Result.YES; 5 | else 6 | return polkit.Result.AUTH_ADMIN_KEEP; 7 | } else if (/^org\.freedesktop\.udisks\./.test(action.id)) { 8 | return polkit.Result.AUTH_ADMIN_KEEP; 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/shadow: -------------------------------------------------------------------------------- 1 | root::14871:::::: 2 | liveuser::14871:::::: -------------------------------------------------------------------------------- /archiso/airootfs/etc/skel/.Xresources: -------------------------------------------------------------------------------- 1 | ! ------------------------------------------------------------------------------ 2 | ! xterm standard arcolinux theme 3 | ! ------------------------------------------------------------------------------ 4 | ! https://critical.ch/xterm/ 5 | ! ------------------------------------------------------------------------------ 6 | 7 | xterm*faceName: Monospace 8 | xterm*faceSize: 13 9 | xterm*loginShell: true 10 | xterm*saveLines: 4000 11 | xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 12 | xterm*termName: xterm-color 13 | xterm*eightBitInput: false 14 | xterm*foreground: rgb:d9/d4/d4 15 | xterm*background: rgb:32/32/32 16 | xterm*color0: rgb:00/00/00 17 | xterm*color1: rgb:a8/00/00 18 | xterm*color2: rgb:00/a8/00 19 | xterm*color3: rgb:a8/54/00 20 | xterm*color4: rgb:5f/81/9d 21 | xterm*color5: rgb:a8/00/a8 22 | xterm*color6: rgb:00/a8/a8 23 | xterm*color7: rgb:70/78/80 24 | xterm*color8: rgb:54/54/54 25 | xterm*color9: rgb:fc/54/54 26 | xterm*color10: rgb:54/fc/54 27 | xterm*color11: rgb:fc/fc/54 28 | xterm*color12: rgb:81/a2/be 29 | xterm*color13: rgb:fc/54/fc 30 | xterm*color14: rgb:54/fc/fc 31 | xterm*color15: rgb:c5/c8/c6 32 | xterm*boldMode: false 33 | 34 | 35 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/skel/.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | alias ls='ls --color=auto -rthla' 9 | PS1='[\u@\h \W]\$ ' 10 | 11 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/ssh/sshd_config: -------------------------------------------------------------------------------- 1 | # $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $ 2 | 3 | # This is the sshd server system-wide configuration file. See 4 | # sshd_config(5) for more information. 5 | 6 | # This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin 7 | 8 | # The strategy used for options in the default sshd_config shipped with 9 | # OpenSSH is to specify options with their default value where 10 | # possible, but leave them commented. Uncommented options override the 11 | # default value. 12 | 13 | #Port 22 14 | #AddressFamily any 15 | #ListenAddress 0.0.0.0 16 | #ListenAddress :: 17 | 18 | #HostKey /etc/ssh/ssh_host_rsa_key 19 | #HostKey /etc/ssh/ssh_host_ecdsa_key 20 | #HostKey /etc/ssh/ssh_host_ed25519_key 21 | 22 | # Ciphers and keying 23 | #RekeyLimit default none 24 | 25 | # Logging 26 | #SyslogFacility AUTH 27 | #LogLevel INFO 28 | 29 | # Authentication: 30 | 31 | #LoginGraceTime 2m 32 | PermitRootLogin yes 33 | #StrictModes yes 34 | #MaxAuthTries 6 35 | #MaxSessions 10 36 | 37 | #PubkeyAuthentication yes 38 | 39 | # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 40 | # but this is overridden so installations will only check .ssh/authorized_keys 41 | AuthorizedKeysFile .ssh/authorized_keys 42 | 43 | #AuthorizedPrincipalsFile none 44 | 45 | #AuthorizedKeysCommand none 46 | #AuthorizedKeysCommandUser nobody 47 | 48 | # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts 49 | #HostbasedAuthentication no 50 | # Change to yes if you don't trust ~/.ssh/known_hosts for 51 | # HostbasedAuthentication 52 | #IgnoreUserKnownHosts no 53 | # Don't read the user's ~/.rhosts and ~/.shosts files 54 | #IgnoreRhosts yes 55 | 56 | # To disable tunneled clear text passwords, change to no here! 57 | #PasswordAuthentication yes 58 | #PermitEmptyPasswords no 59 | 60 | # Change to no to disable s/key passwords 61 | #KbdInteractiveAuthentication yes 62 | 63 | # Kerberos options 64 | #KerberosAuthentication no 65 | #KerberosOrLocalPasswd yes 66 | #KerberosTicketCleanup yes 67 | #KerberosGetAFSToken no 68 | 69 | # GSSAPI options 70 | #GSSAPIAuthentication no 71 | #GSSAPICleanupCredentials yes 72 | 73 | # Set this to 'yes' to enable PAM authentication, account processing, 74 | # and session processing. If this is enabled, PAM authentication will 75 | # be allowed through the KbdInteractiveAuthentication and 76 | # PasswordAuthentication. Depending on your PAM configuration, 77 | # PAM authentication via KbdInteractiveAuthentication may bypass 78 | # the setting of "PermitRootLogin without-password". 79 | # If you just want the PAM account and session checks to run without 80 | # PAM authentication, then enable this but set PasswordAuthentication 81 | # and KbdInteractiveAuthentication to 'no'. 82 | UsePAM yes 83 | 84 | #AllowAgentForwarding yes 85 | #AllowTcpForwarding yes 86 | #GatewayPorts no 87 | #X11Forwarding no 88 | #X11DisplayOffset 10 89 | #X11UseLocalhost yes 90 | #PermitTTY yes 91 | PrintMotd no # pam does that 92 | #PrintLastLog yes 93 | #TCPKeepAlive yes 94 | #PermitUserEnvironment no 95 | #Compression delayed 96 | #ClientAliveInterval 0 97 | #ClientAliveCountMax 3 98 | #UseDNS no 99 | #PidFile /run/sshd.pid 100 | #MaxStartups 10:30:100 101 | #PermitTunnel no 102 | #ChrootDirectory none 103 | #VersionAddendum none 104 | 105 | # no default banner path 106 | #Banner none 107 | 108 | # override default of no subsystems 109 | Subsystem sftp /usr/lib/ssh/sftp-server 110 | 111 | # Example of overriding settings on a per-user basis 112 | #Match User anoncvs 113 | # X11Forwarding no 114 | # AllowTcpForwarding no 115 | # PermitTTY no 116 | # ForceCommand cvs server 117 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/sudoers.d/01_pw_feedback: -------------------------------------------------------------------------------- 1 | Defaults env_reset,pwfeedback,insults 2 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/sudoers.d/g_wheel: -------------------------------------------------------------------------------- 1 | %wheel ALL=(ALL) NOPASSWD: ALL 2 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/journald.conf: -------------------------------------------------------------------------------- 1 | # This file is part of systemd. 2 | # 3 | # systemd is free software; you can redistribute it and/or modify it 4 | # under the terms of the GNU Lesser General Public License as published by 5 | # the Free Software Foundation; either version 2.1 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # Entries in this file show the compile time defaults. 9 | # You can change settings by editing this file. 10 | # Defaults can be restored by simply deleting this file. 11 | # 12 | # See journald.conf(5) for details. 13 | 14 | [Journal] 15 | Storage=volatile 16 | #Compress=yes 17 | #Seal=yes 18 | #SplitMode=uid 19 | #SyncIntervalSec=5m 20 | #RateLimitIntervalSec=30s 21 | #RateLimitBurst=10000 22 | #SystemMaxUse= 23 | #SystemKeepFree= 24 | #SystemMaxFileSize= 25 | #SystemMaxFiles=100 26 | #RuntimeMaxUse= 27 | #RuntimeKeepFree= 28 | #RuntimeMaxFileSize= 29 | #RuntimeMaxFiles=100 30 | #MaxRetentionSec= 31 | #MaxFileSec=1month 32 | #ForwardToSyslog=no 33 | #ForwardToKMsg=no 34 | #ForwardToConsole=no 35 | #ForwardToWall=yes 36 | #TTYPath=/dev/console 37 | #MaxLevelStore=debug 38 | #MaxLevelSyslog=debug 39 | #MaxLevelKMsg=notice 40 | #MaxLevelConsole=info 41 | #MaxLevelWall=emerg 42 | #LineMax=48K 43 | #ReadKMsg=yes 44 | #Audit=yes 45 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf: -------------------------------------------------------------------------------- 1 | [Journal] 2 | Storage=volatile 3 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/logind.conf: -------------------------------------------------------------------------------- 1 | # This file is part of systemd. 2 | # 3 | # systemd is free software; you can redistribute it and/or modify it 4 | # under the terms of the GNU Lesser General Public License as published by 5 | # the Free Software Foundation; either version 2.1 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # Entries in this file show the compile time defaults. 9 | # You can change settings by editing this file. 10 | # Defaults can be restored by simply deleting this file. 11 | # 12 | # See logind.conf(5) for details. 13 | 14 | [Login] 15 | #NAutoVTs=6 16 | #ReserveVT=6 17 | #KillUserProcesses=no 18 | #KillOnlyUsers= 19 | #KillExcludeUsers=root 20 | #InhibitDelayMaxSec=5 21 | #HandlePowerKey=poweroff 22 | HandleSuspendKey=ignore 23 | HandleHibernateKey=ignore 24 | HandleLidSwitch=ignore 25 | #HandleLidSwitchExternalPower=suspend 26 | #HandleLidSwitchDocked=ignore 27 | #PowerKeyIgnoreInhibited=no 28 | #SuspendKeyIgnoreInhibited=no 29 | #HibernateKeyIgnoreInhibited=no 30 | #LidSwitchIgnoreInhibited=yes 31 | #HoldoffTimeoutSec=30s 32 | #IdleAction=ignore 33 | #IdleActionSec=30min 34 | #RuntimeDirectorySize=10% 35 | #RuntimeDirectoryInodes=400k 36 | #RemoveIPC=yes 37 | #InhibitorsMax=8192 38 | #SessionsMax=8192 39 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf: -------------------------------------------------------------------------------- 1 | [Login] 2 | HandleSuspendKey=ignore 3 | HandleHibernateKey=ignore 4 | HandleLidSwitch=ignore 5 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/network/20-ethernet.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=en* 3 | Name=eth* 4 | 5 | [Network] 6 | DHCP=yes 7 | IPv6PrivacyExtensions=yes 8 | 9 | # systemd-networkd does not set per-interface-type default route metrics 10 | # https://github.com/systemd/systemd/issues/17698 11 | # Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. 12 | # Use values from NetworkManager. From nm_device_get_route_metric_default in 13 | # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c 14 | [DHCPv4] 15 | RouteMetric=100 16 | 17 | [IPv6AcceptRA] 18 | RouteMetric=100 19 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/network/20-wlan.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=wl* 3 | 4 | [Network] 5 | DHCP=yes 6 | IPv6PrivacyExtensions=yes 7 | 8 | # systemd-networkd does not set per-interface-type default route metrics 9 | # https://github.com/systemd/systemd/issues/17698 10 | # Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. 11 | # Use values from NetworkManager. From nm_device_get_route_metric_default in 12 | # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c 13 | [DHCPv4] 14 | RouteMetric=600 15 | 16 | [IPv6AcceptRA] 17 | RouteMetric=600 18 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/network/20-wwan.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=ww* 3 | 4 | [Network] 5 | DHCP=yes 6 | IPv6PrivacyExtensions=yes 7 | 8 | # systemd-networkd does not set per-interface-type default route metrics 9 | # https://github.com/systemd/systemd/issues/17698 10 | # Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. 11 | # Use values from NetworkManager. From nm_device_get_route_metric_default in 12 | # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c 13 | [DHCPv4] 14 | RouteMetric=700 15 | 16 | [IPv6AcceptRA] 17 | RouteMetric=700 18 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/bluetooth.target.wants/bluetooth.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/bluetooth.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/choose-mirror.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Choose mirror from the kernel command line 3 | ConditionKernelCommandLine=mirror 4 | 5 | [Service] 6 | Type=oneshot 7 | ExecStart=/usr/local/bin/choose-mirror 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/cloud-config.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/cloud-final.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/cloud-init-local.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/cloud-init.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/ModemManager.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-networkd.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/NetworkManager-dispatcher.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-resolved.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/default.target: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/graphical.target -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/display-manager.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/lightdm.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Temporary /etc/pacman.d/gnupg directory 3 | 4 | [Mount] 5 | What=tmpfs 6 | Where=/etc/pacman.d/gnupg 7 | Type=tmpfs 8 | Options=mode=0755 9 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | ExecStart= 3 | ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux 4 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Unmute All Sound Card Controls For Use With The Live Arch Environment 3 | # This needs to run after the audio device becomes available. 4 | Wants=systemd-udev-settle.service 5 | After=systemd-udev-settle.service sound.target 6 | ConditionKernelCommandLine=accessibility=on 7 | 8 | [Service] 9 | Type=oneshot 10 | ExecStart=/usr/local/bin/livecd-sound -u 11 | 12 | [Install] 13 | WantedBy=sound.target 14 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/livecd-talk.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Screen reader service 3 | After=livecd-alsa-unmuter.service 4 | Before=getty@tty1.service 5 | ConditionKernelCommandLine=accessibility=on 6 | 7 | [Service] 8 | Type=oneshot 9 | TTYPath=/dev/tty13 10 | ExecStartPre=/usr/bin/chvt 13 11 | ExecStart=/usr/local/bin/livecd-sound -p 12 | ExecStartPost=/usr/bin/chvt 1 13 | ExecStartPost=systemctl start espeakup.service 14 | StandardInput=tty 15 | TTYVHangup=yes 16 | TTYVTDisallocate=yes 17 | RemainAfterExit=true 18 | 19 | [Install] 20 | WantedBy=multi-user.target 21 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/ModemManager.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/NetworkManager.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service: -------------------------------------------------------------------------------- 1 | ../choose-mirror.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/iwd.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service: -------------------------------------------------------------------------------- 1 | /etc/systemd/system/livecd-talk.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service: -------------------------------------------------------------------------------- 1 | ../pacman-init.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/qemu-guest-agent.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/reflector.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/sshd.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-networkd.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-resolved.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/vboxservice.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/NetworkManager-wait-online.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-networkd-wait-online.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/pacman-init.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Initializes Pacman keyring 3 | Requires=etc-pacman.d-gnupg.mount 4 | After=etc-pacman.d-gnupg.mount 5 | 6 | [Service] 7 | Type=oneshot 8 | RemainAfterExit=yes 9 | ExecStart=/usr/bin/pacman-key --init 10 | ExecStart=/usr/bin/pacman-key --populate 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf: -------------------------------------------------------------------------------- 1 | [Unit] 2 | ConditionKernelCommandLine=!mirror 3 | 4 | [Service] 5 | Restart=on-failure 6 | RestartSec=10 7 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket: -------------------------------------------------------------------------------- 1 | /usr/lib/systemd/system/systemd-networkd.socket -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service: -------------------------------------------------------------------------------- 1 | ../livecd-alsa-unmuter.service -------------------------------------------------------------------------------- /archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf: -------------------------------------------------------------------------------- 1 | # Allow systemd-networkd-wait-online to succeed with one interface, otherwise, if multiple network interfaces exist, 2 | # network-online.target gets needlessly delayed. 3 | # See https://wiki.archlinux.org/title/systemd-networkd#systemd-networkd-wait-online 4 | [Service] 5 | ExecStart= 6 | ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any 7 | -------------------------------------------------------------------------------- /archiso/airootfs/etc/xdg/reflector/reflector.conf: -------------------------------------------------------------------------------- 1 | # Reflector configuration file for the systemd service. 2 | 3 | --save /etc/pacman.d/mirrorlist 4 | --protocol https 5 | --latest 20 6 | --sort rate 7 | -------------------------------------------------------------------------------- /archiso/airootfs/root/.automated_script.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | script_cmdline () 4 | { 5 | local param 6 | for param in $(< /proc/cmdline); do 7 | case "${param}" in 8 | script=*) echo "${param#*=}" ; return 0 ;; 9 | esac 10 | done 11 | } 12 | 13 | automated_script () 14 | { 15 | local script rt 16 | script="$(script_cmdline)" 17 | if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then 18 | if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then 19 | curl "${script}" --location --retry-connrefused -s -o /tmp/startup_script >/dev/null 20 | rt=$? 21 | else 22 | cp "${script}" /tmp/startup_script 23 | rt=$? 24 | fi 25 | if [[ ${rt} -eq 0 ]]; then 26 | chmod +x /tmp/startup_script 27 | /tmp/startup_script 28 | fi 29 | fi 30 | } 31 | 32 | if [[ $(tty) == "/dev/tty1" ]]; then 33 | automated_script 34 | fi 35 | -------------------------------------------------------------------------------- /archiso/airootfs/root/.zlogin: -------------------------------------------------------------------------------- 1 | # fix for screen readers 2 | if grep -Fq 'accessibility=' /proc/cmdline &> /dev/null; then 3 | setopt SINGLE_LINE_ZLE 4 | fi 5 | 6 | ~/.automated_script.sh 7 | -------------------------------------------------------------------------------- /archiso/airootfs/root/customize_airootfs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/env bash 2 | set -e -u 3 | 4 | ## Copy Specific Configurations to Root Directory 5 | skeldir="/etc/skel" 6 | rootdir="/root" 7 | if [[ ! -d "$rootdir"/.config ]]; then mkdir -p "$rootdir"/.config; fi 8 | 9 | declare -a rootdots=('.local' '.vim_runtime' '.vimrc' '.mpd' '.dmrc' '.zshrc' '.zshrc-personal') 10 | for dfile in "${rootdots[@]}"; do if [[ -e "$skeldir/$dfile" ]]; then cp -rf "$skeldir"/"$dfile" /root; fi done 11 | 12 | declare -a rootconfig=(dconf cava qt5ct neofetch conky Thunar gtk-2.0 gtk-3.0 xfce4 geany Kvantum ulauncher ranger autostart nvim) 13 | for cfg in "${rootconfig[@]}"; do if [[ -e "$skeldir/.config/$cfg" ]]; then cp -rf "$skeldir"/.config/"$cfg" "$rootdir"/.config; fi done 14 | 15 | # Replacing lightdm cursor theme 16 | IND_THEME="/usr/share/icons/default/index.theme" 17 | echo "[Icon Theme]" > "$IND_THEME" 18 | echo "Inherits=Zone" >> "$IND_THEME" 19 | 20 | # Remove xfce background images 21 | rm -rf /usr/share/backgrounds/xfce 22 | -------------------------------------------------------------------------------- /archiso/airootfs/usr/local/bin/choose-mirror: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | get_cmdline() { 6 | local param 7 | for param in $(< /proc/cmdline); do 8 | case "${param}" in 9 | $1=*) echo "${param##*=}"; 10 | return 0 11 | ;; 12 | esac 13 | done 14 | } 15 | 16 | mirror=$(get_cmdline mirror) 17 | [[ $mirror = auto ]] && mirror=$(get_cmdline archiso_http_srv) 18 | [[ $mirror ]] || exit 0 19 | 20 | mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig 21 | cat >/etc/pacman.d/mirrorlist << EOF 22 | # 23 | # Arch Linux repository mirrorlist 24 | # Generated by archiso 25 | # 26 | 27 | Server = ${mirror%%/}/\$repo/os/\$arch 28 | EOF 29 | -------------------------------------------------------------------------------- /archiso/airootfs/usr/local/bin/chrooted_post_install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## Post installation script for The Zone (Executes on target system to perform various operations) 4 | 5 | # Get new user's username 6 | new_user=`cat /etc/passwd | grep "/home" | cut -d: -f1 | head -1` 7 | 8 | # Check if package installed (0) or not (1) 9 | _is_pkg_installed() { 10 | local pkgname="$1" 11 | pacman -Q "$pkgname" >& /dev/null 12 | } 13 | 14 | # Remove a package 15 | _remove_a_pkg() { 16 | local pkgname="$1" 17 | pacman -Rsn --noconfirm "$pkgname" 18 | } 19 | 20 | # Remove package(s) if installed 21 | _remove_pkgs_if_installed() { 22 | local pkgname 23 | for pkgname in "$@" ; do 24 | _is_pkg_installed "$pkgname" && _remove_a_pkg "$pkgname" 25 | done 26 | } 27 | 28 | ## -------- Enable/Disable services/targets ------ 29 | _manage_systemd_services() { 30 | local _enable_services=('NetworkManager.service' 31 | 'bluetooth.service' 32 | 'cups.service' 33 | 'avahi-daemon.service' 34 | 'systemd-timesyncd.service' 35 | 'lightdm.service') 36 | local _snapd_services=('apparmor.service' 37 | 'snapd.apparmor.service' 38 | 'snapd.socket') 39 | local srv 40 | local snapsrv 41 | 42 | # Enable hypervisors services if installed on it 43 | [[ `lspci | grep -i virtualbox` ]] && echo "+---------------------->>" && echo "[*] Enabling vbox service..." && systemctl enable -f vboxservice.service 44 | [[ `lspci -k | grep -i qemu` ]] && echo "+---------------------->>" && echo "[*] Enabling qemu service..." && systemctl enable -f qemu-guest-agent.service 45 | 46 | # Manage services on target system 47 | for srv in "${_enable_services[@]}"; do 48 | echo "+---------------------->>" 49 | echo "[*] Enabling $srv for target system..." 50 | systemctl enable -f ${srv} 51 | done 52 | 53 | # Manage targets on target system 54 | systemctl disable -f multi-user.target 55 | } 56 | 57 | ## -------- Remove VM Drivers -------------------- 58 | 59 | # Remove virtualbox pkgs if not running in vbox 60 | _remove_vbox_pkgs() { 61 | local vbox_pkg='virtualbox-guest-utils' 62 | local vsrvfile='/etc/systemd/system/multi-user.target.wants/vboxservice.service' 63 | 64 | lspci | grep -i "virtualbox" >/dev/null 65 | if [[ "$?" != 0 ]] ; then 66 | echo "+---------------------->>" 67 | echo "[*] Removing $vbox_pkg from target system..." 68 | test -n "`pacman -Q $vbox_pkg 2>/dev/null`" && pacman -Rnsdd ${vbox_pkg} --noconfirm 69 | if [[ -L "$vsrvfile" ]] ; then 70 | rm -f "$vsrvfile" 71 | fi 72 | fi 73 | } 74 | 75 | # Remove vmware pkgs if not running in vmware 76 | _remove_vmware_pkgs() { 77 | local vmware_pkgs=('open-vm-tools' 'xf86-input-vmmouse' 'xf86-video-vmware') 78 | local _vw_pkg 79 | 80 | lspci | grep -i "VMware" >/dev/null 81 | if [[ "$?" != 0 ]] ; then 82 | for _vw_pkg in "${vmware_pkgs[@]}" ; do 83 | echo "+---------------------->>" 84 | echo "[*] Removing ${_vw_pkg} from target system..." 85 | test -n "`pacman -Q ${_vw_pkg} 2>/dev/null`" && pacman -Rnsdd ${_vw_pkg} --noconfirm 86 | done 87 | fi 88 | } 89 | 90 | # Remove qemu guest pkg if not running in Qemu 91 | _remove_qemu_pkgs() { 92 | local qemu_pkg='qemu-guest-agent' 93 | local qsrvfile='/etc/systemd/system/multi-user.target.wants/qemu-guest-agent.service' 94 | 95 | lspci -k | grep -i "qemu" >/dev/null 96 | if [[ "$?" != 0 ]] ; then 97 | echo "+---------------------->>" 98 | echo "[*] Removing $qemu_pkg from target system..." 99 | test -n "`pacman -Q $qemu_pkg 2>/dev/null`" && pacman -Rnsdd ${qemu_pkg} --noconfirm 100 | if [[ -L "$qsrvfile" ]] ; then 101 | rm -f "$qsrvfile" 102 | fi 103 | fi 104 | } 105 | 106 | ## -------- Remove Un-wanted Drivers ------------- 107 | _remove_unwanted_graphics_drivers() { 108 | local gpu_file='/var/log/gpu-card-info.bash' 109 | 110 | local amd_card='' 111 | local amd_driver='' 112 | local intel_card='' 113 | local intel_driver='' 114 | local nvidia_card='' 115 | local nvidia_driver='' 116 | 117 | if [[ -r "$gpu_file" ]] ; then 118 | echo "+---------------------->>" 119 | echo "[*] Getting drivers info from $gpu_file file..." 120 | source ${gpu_file} 121 | else 122 | echo "+---------------------->>" 123 | echo "[!] Warning: file $gpu_file does not exist!" 124 | fi 125 | 126 | # Remove AMD drivers 127 | if [[ -n "`lspci -k | grep 'Advanced Micro Devices'`" ]] ; then 128 | amd_card=yes 129 | elif [[ -n "`lspci -k | grep 'AMD/ATI'`" ]] ; then 130 | amd_card=yes 131 | elif [[ -n "`lspci -k | grep 'Radeon'`" ]] ; then 132 | amd_card=yes 133 | fi 134 | echo "+---------------------->>" 135 | echo "[*] AMD Card : $amd_card" 136 | if [[ "$amd_card" == 'no' ]] ; then 137 | echo "[*] Removing AMD drivers from target system..." 138 | _remove_pkgs_if_installed xf86-video-amdgpu xf86-video-ati 139 | fi 140 | 141 | # Remove intel drivers 142 | echo "+---------------------->>" 143 | echo "[*] Intel Card : $intel_card" 144 | if [[ "$intel_card" == 'no' ]] ; then 145 | echo "[*] Removing Intel drivers from target system..." 146 | _remove_pkgs_if_installed xf86-video-intel 147 | fi 148 | 149 | # Remove All nvidia drivers 150 | echo "+---------------------->>" 151 | echo "[*] Nvidia Card : $nvidia_card" 152 | if [[ "$nvidia_card" == 'no' ]] ; then 153 | echo "[*] Removing All Nvidia drivers from target system..." 154 | _remove_pkgs_if_installed xf86-video-nouveau nvidia nvidia-settings nvidia-utils 155 | fi 156 | 157 | # Remove nvidia drivers 158 | echo "+---------------------->>" 159 | echo "[*] Nvidia Drivers : $nvidia_driver" 160 | if [[ "$nvidia_driver" == 'no' ]] ; then 161 | echo "[*] Removing Nvidia drivers from target system..." 162 | _remove_pkgs_if_installed nvidia nvidia-settings nvidia-utils 163 | fi 164 | 165 | # Remove nouveau drivers 166 | echo "+---------------------->>" 167 | echo "[*] Free Nvidia Drivers : $nvidia_driver" 168 | if [[ "$nvidia_driver" == 'yes' ]] ; then 169 | echo "[*] Removing open-source Nvidia drivers from target system..." 170 | _remove_pkgs_if_installed xf86-video-nouveau 171 | fi 172 | } 173 | 174 | ## -------- Remove Un-wanted Ucode --------------- 175 | 176 | # Remove un-wanted ucode package 177 | _remove_unwanted_ucode() { 178 | cpu="`grep -w "^vendor_id" /proc/cpuinfo | head -n 1 | awk '{print $3}'`" 179 | 180 | case "$cpu" in 181 | GenuineIntel) echo "+---------------------->>" && echo "[*] Removing amd-ucode from target system..." 182 | _remove_pkgs_if_installed amd-ucode 183 | ;; 184 | *) echo "+---------------------->>" && echo "[*] Removing intel-ucode from target system..." 185 | _remove_pkgs_if_installed intel-ucode 186 | ;; 187 | esac 188 | } 189 | 190 | ## -------- Delete Unnecessary Files ------------- 191 | 192 | # Clean live ISO stuff from target system 193 | _clean_target_system() { 194 | local _files_to_remove=( 195 | /etc/sudoers.d/02_g_wheel 196 | /etc/sudoers.d/g_wheel 197 | /etc/systemd/system/{etc-pacman.d-gnupg.mount,getty@tty1.service.d} 198 | /etc/systemd/system/getty@tty1.service.d/autologin.conf 199 | /etc/initcpio 200 | /etc/mkinitcpio-archiso.conf 201 | /etc/polkit-1/rules.d/49-nopasswd-calamares.rules 202 | /etc/{group-,gshadow-,passwd-,shadow-} 203 | /etc/udev/rules.d/81-dhcpcd.rules 204 | /etc/skel/{.xinitrc,.xsession,.xprofile} 205 | /home/"$new_user"/{.xinitrc,.xsession,.xprofile,.wget-hsts,.screenrc,.ICEauthority} 206 | /root/{.automated_script.sh,.zlogin} 207 | /root/{.xinitrc,.xsession,.xprofile} 208 | /usr/local/bin/{Installation_guide} 209 | /usr/local/bin/calinstall 210 | /usr/local/bin/calinstall-debug 211 | /usr/share/applications/xfce4-about.desktop 212 | /usr/share/calamares 213 | /usr/share/backgrounds/xfce 214 | /{gpg.conf,gpg-agent.conf,pubring.gpg,secring.gpg} 215 | /var/lib/NetworkManager/NetworkManager.state 216 | ) 217 | local dfile 218 | 219 | echo "+---------------------->>" 220 | echo "[*] Deleting live ISO files..." 221 | for dfile in "${_files_to_remove[@]}"; do 222 | rm -rf ${dfile} 223 | done 224 | find /usr/lib/initcpio -name archiso* -type f -exec rm '{}' \; 225 | } 226 | 227 | ## -------- Perform Misc Operations -------------- 228 | 229 | _perform_various_stuff() { 230 | 231 | # Copy /etc/skel to /root 232 | echo "+---------------------->>" 233 | echo "[*] Copying /etc/skel to /root" 234 | cp -aT /etc/skel /root 235 | 236 | # Copy grub theme to boot directory 237 | echo "+---------------------->>" 238 | echo "[*] Copying grub theme to boot directory..." 239 | mkdir -p /boot/grub/themes 240 | cp -rf /usr/share/grub/themes/zone /boot/grub/themes 241 | 242 | # disabling autologin for lightdm (if exist) 243 | lightdm_config='/etc/lightdm/lightdm.conf' 244 | if [[ -e "$lightdm_config" ]]; then 245 | echo "+---------------------->>" 246 | echo "[*] Disabling autologin for lightdm..." 247 | sed -i -e 's|autologin-user=.*|#autologin-user=username|g' "$lightdm_config" 248 | sed -i -e 's|autologin-session=.*|#autologin-session=xfce|g' "$lightdm_config" 249 | 250 | # Replacing lightdm cursor theme 251 | IND_THEME="/usr/share/icons/default/index.theme" 252 | echo "[Icon Theme]" > "$IND_THEME" 253 | echo "Inherits=Zone" >> "$IND_THEME" 254 | fi 255 | 256 | # disabling autologin for lxdm (if exist) 257 | lxdm_config='/etc/lxdm/lxdm.conf' 258 | if [[ -e "$lxdm_config" ]]; then 259 | echo "+---------------------->>" 260 | echo "[*] Disabling autologin for lxdm..." 261 | sed -i -e 's/autologin=.*/#autologin=username/g' "$lxdm_config" 262 | fi 263 | 264 | # disabling autologin for sddm (if exist) 265 | sddm_config='/etc/sddm.conf.d/autologin.conf' 266 | if [[ -e "$sddm_config" ]]; then 267 | echo "+---------------------->>" 268 | echo "[*] Disabling autologin for sddm..." 269 | rm -rf "$sddm_config" 270 | fi 271 | 272 | # Perform various operations 273 | echo "+---------------------->>" 274 | echo "[*] Running operations as new user : ${new_user}..." 275 | [[ -x `which zone-hooks-runner` ]] && zone-hooks-runner 276 | runuser -l ${new_user} -c 'xdg-user-dirs-update' 277 | runuser -l ${new_user} -c 'xdg-user-dirs-gtk-update' 278 | 279 | # Journal stuff 280 | sed -i 's/volatile/auto/g' /etc/systemd/journald.conf 2>>/tmp/.errlog 281 | sed -i 's/.*pam_wheel\.so/#&/' /etc/pam.d/su 282 | } 283 | 284 | ## -------- ## Execute Script ## ----------------- 285 | _manage_systemd_services 286 | _remove_vbox_pkgs 287 | _remove_vmware_pkgs 288 | _remove_qemu_pkgs 289 | _remove_unwanted_graphics_drivers 290 | _remove_unwanted_ucode 291 | _clean_target_system 292 | _perform_various_stuff 293 | 294 | 295 | ## End 296 | echo "+---------------------->>" 297 | rm -f /usr/local/bin/post_install 298 | rm -f /usr/local/bin/chrooted_post_install 299 | -------------------------------------------------------------------------------- /archiso/airootfs/usr/local/bin/post_install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | ## Post installation script for The Zone (Executes on live system, only to detect drivers in use) 5 | 6 | ## Get mount points of target system according to installer being used (calamares) 7 | if [[ `pidof calamares` ]]; then 8 | chroot_path="/tmp/`lsblk | grep 'calamares-root' | awk '{ print $NF }' | sed -e 's/\/tmp\///' -e 's/\/.*$//' | tail -n1`" 9 | else 10 | chroot_path='/mnt' 11 | fi 12 | 13 | if [[ "$chroot_path" == '/tmp/' ]] ; then 14 | echo "+---------------------->>" 15 | echo "[!] Fatal error: `basename $0`: chroot_path is empty!" 16 | fi 17 | 18 | ## Use chroot not arch-chroot 19 | arch_chroot() { 20 | chroot "$chroot_path" /bin/bash -c ${1} 21 | } 22 | 23 | ## Detect drivers in use in live session 24 | gpu_file="$chroot_path"/var/log/gpu-card-info.bash 25 | 26 | _detect_vga_drivers() { 27 | local card=no 28 | local driver=no 29 | 30 | if [[ -n "`lspci -k | grep -P 'VGA|3D|Display' | grep -w "${2}"`" ]]; then 31 | card=yes 32 | if [[ -n "`lsmod | grep -w ${3}`" ]]; then 33 | driver=yes 34 | fi 35 | if [[ -n "`lspci -k | grep -wA2 "${2}" | grep 'Kernel driver in use: ${3}'`" ]]; then 36 | driver=yes 37 | fi 38 | fi 39 | echo "${1}_card=$card" >> ${gpu_file} 40 | echo "${1}_driver=$driver" >> ${gpu_file} 41 | } 42 | 43 | echo "+---------------------->>" 44 | echo "[*] Detecting GPU card & drivers used in live session..." 45 | 46 | # Detect AMD 47 | _detect_vga_drivers 'amd' 'AMD' 'amdgpu' 48 | 49 | # Detect Intel 50 | _detect_vga_drivers 'intel' 'Intel Corporation' 'i915' 51 | 52 | # Detect Nvidia 53 | _detect_vga_drivers 'nvidia' 'NVIDIA' 'nvidia' 54 | 55 | # For logs 56 | echo "+---------------------->>" 57 | echo "[*] Content of $gpu_file :" 58 | cat ${gpu_file} 59 | 60 | ##-------------------------------------------------------------------------------- 61 | 62 | ## Run the final script inside calamares chroot (target system) 63 | if [[ `pidof calamares` ]]; then 64 | echo "+---------------------->>" 65 | echo "[*] Running chroot post installation script in target system..." 66 | arch_chroot "/usr/local/bin/chrooted_post_install" 67 | fi 68 | -------------------------------------------------------------------------------- /archiso/airootfs/usr/local/share/livecd-sound/asound.conf.in: -------------------------------------------------------------------------------- 1 | Defaults node 2 | defaults.ctl.card %card%; 3 | defaults.pcm.card %card%; 4 | -------------------------------------------------------------------------------- /archiso/airootfs/usr/share/zone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zone-linux/zone-iso/86b62089b5787b8ffba78298eb56856d15c6654c/archiso/airootfs/usr/share/zone.png -------------------------------------------------------------------------------- /archiso/bootstrap_packages.x86_64: -------------------------------------------------------------------------------- 1 | arch-install-scripts 2 | base 3 | -------------------------------------------------------------------------------- /archiso/efiboot/loader/entries/01-archiso-x86_64-linux.conf: -------------------------------------------------------------------------------- 1 | title Enter The Zone (64bit, UEFI) 2 | linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 3 | initrd /%INSTALL_DIR%/boot/intel-ucode.img 4 | initrd /%INSTALL_DIR%/boot/amd-ucode.img 5 | initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 6 | options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=5G 7 | -------------------------------------------------------------------------------- /archiso/efiboot/loader/entries/02-archiso-x86_64-ram-linux.conf: -------------------------------------------------------------------------------- 1 | title Enter The Zone (64bit, UEFI, Copy to RAM) 2 | linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 3 | initrd /%INSTALL_DIR%/boot/intel-ucode.img 4 | initrd /%INSTALL_DIR%/boot/amd-ucode.img 5 | initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 6 | options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram cow_spacesize=5G 7 | -------------------------------------------------------------------------------- /archiso/efiboot/loader/entries/03-archiso-x86_64-nvidia-linux.conf: -------------------------------------------------------------------------------- 1 | title Enter The Zone (64bit, UEFI, NVIDIA) 2 | linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 3 | initrd /%INSTALL_DIR%/boot/intel-ucode.img 4 | initrd /%INSTALL_DIR%/boot/amd-ucode.img 5 | initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 6 | options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1 7 | -------------------------------------------------------------------------------- /archiso/efiboot/loader/loader.conf: -------------------------------------------------------------------------------- 1 | timeout 5 2 | default 01-archiso-x86_64-linux.conf 3 | -------------------------------------------------------------------------------- /archiso/packages.x86_64: -------------------------------------------------------------------------------- 1 | ####################### 2 | #### Base Packages #### 3 | ####################### 4 | 5 | amd-ucode 6 | arch-install-scripts 7 | archinstall 8 | b43-fwcutter 9 | base 10 | bind-tools 11 | brltty 12 | broadcom-wl 13 | btrfs-progs 14 | ckbcomp 15 | clonezilla 16 | cloud-init 17 | crda 18 | cryptsetup 19 | darkhttpd 20 | ddrescue 21 | dhclient 22 | dhcpcd 23 | diffutils 24 | dmraid 25 | dnsmasq 26 | dnsutils 27 | dosfstools 28 | e2fsprogs 29 | edk2-shell 30 | efibootmgr 31 | espeakup 32 | ethtool 33 | exfatprogs 34 | f2fs-tools 35 | fatresize 36 | fsarchiver 37 | gnu-netcat 38 | gpart 39 | gpm 40 | gptfdisk 41 | hdparm 42 | intel-ucode 43 | ipw2100-fw 44 | ipw2200-fw 45 | irssi 46 | iw 47 | iwd 48 | jfsutils 49 | kitty-terminfo 50 | less 51 | lftp 52 | libfido2 53 | libusb-compat 54 | linux 55 | linux-atm 56 | linux-firmware 57 | livecd-sounds 58 | lsscsi 59 | lvm2 60 | lynx 61 | man-db 62 | man-pages 63 | mc 64 | mdadm 65 | memtest86+ 66 | mkinitcpio 67 | mkinitcpio-archiso 68 | mkinitcpio-nfs-utils 69 | mkinitcpio-openswap 70 | modemmanager 71 | mtools 72 | nano 73 | nbd 74 | ndisc6 75 | nfs-utils 76 | nilfs-utils 77 | nmap 78 | ntfs-3g 79 | nvme-cli 80 | openconnect 81 | openssh 82 | openvpn 83 | partclone 84 | parted 85 | partimage 86 | pcsclite 87 | ppp 88 | pptpclient 89 | pv 90 | qemu-guest-agent 91 | reflector 92 | reiserfsprogs 93 | rp-pppoe 94 | rsync 95 | rxvt-unicode-terminfo 96 | screen 97 | sdparm 98 | sg3_utils 99 | smartmontools 100 | sof-firmware 101 | squashfs-tools 102 | sudo 103 | syslinux 104 | systemd-resolvconf 105 | tcpdump 106 | terminus-font 107 | testdisk 108 | tmux 109 | tpm2-tss 110 | udftools 111 | usb_modeswitch 112 | usbmuxd 113 | usbutils 114 | vpnc 115 | wireless-regdb 116 | wireless_tools 117 | wpa_supplicant 118 | wvdial 119 | xfsprogs 120 | xl2tpd 121 | zsh 122 | 123 | ####################################################### 124 | ### PACKAGES THAT ARE REMOVED AFTER INSTALLATION ### 125 | ### VIA CALAMARES CONFIG ### 126 | ####################################################### 127 | zone-calamares 128 | zone-calamares-config 129 | 130 | ################################# 131 | #### S.T.A.L.K.E.R. Packages #### 132 | ################################# 133 | zone-release 134 | zone-xfce 135 | zone-fonts 136 | zone-cursor-theme 137 | zone-grub-theme 138 | zone-nvim 139 | zone-vim 140 | zone-wallpapers 141 | stalker-metro-playlist 142 | #stalker-anomaly-playlist 143 | 144 | ####################################################### 145 | ### EXTRAS ### 146 | ####################################################### 147 | 148 | ################# 149 | #### Theming #### 150 | ################# 151 | kvantum-qt5 152 | qt5ct 153 | qogir-icon-theme 154 | qogir-gtk-theme 155 | kvantum-theme-qogir-git 156 | 157 | ############### 158 | #### Fonts #### 159 | ############### 160 | ttf-dejavu 161 | ttf-liberation 162 | nerd-fonts-jetbrains-mono 163 | #adobe-source-han-serif-cn-fonts 164 | #adobe-source-han-serif-jp-fonts 165 | #adobe-source-han-serif-kr-fonts 166 | 167 | ################### 168 | #### Utilities #### 169 | ################### 170 | acpi 171 | conky 172 | exa 173 | picom 174 | udisks2 175 | unzip 176 | xclip 177 | xfce4 178 | xfce4-goodies 179 | 180 | ####################################### 181 | #### AMD/Intel/VM Graphics Drivers #### 182 | ####################################### 183 | xf86-video-amdgpu 184 | xf86-video-ati 185 | xf86-video-intel 186 | xf86-video-fbdev 187 | xf86-video-nouveau 188 | xf86-video-vesa 189 | 190 | ######################## 191 | #### Nvidia Drivers #### 192 | ######################## 193 | nvidia 194 | nvidia-utils 195 | nvidia-settings 196 | 197 | ##################### 198 | #### Virtual Box #### 199 | ##################### 200 | virtualbox-guest-utils 201 | 202 | ############### 203 | #### Other #### 204 | ############### 205 | archiso 206 | archlinux-keyring 207 | bat 208 | base-devel 209 | fzf 210 | gpick 211 | gtop 212 | htop 213 | jq 214 | libxinerama 215 | linux-headers 216 | lightdm 217 | lightdm-gtk-greeter 218 | lightdm-gtk-greeter-settings 219 | make 220 | pacman-contrib 221 | python-pip 222 | xdg-utils 223 | xdotool 224 | zsh-autosuggestions 225 | zsh-syntax-highlighting 226 | 227 | ############## 228 | #### Grub #### 229 | ############## 230 | grub 231 | lsb-release 232 | os-prober 233 | 234 | ######################## 235 | ##### Xorg Packages #### 236 | ######################## 237 | xorg-fonts-misc 238 | xorg-server 239 | xorg-xbacklight 240 | xorg-xev 241 | xorg-xfd 242 | xorg-xkill 243 | xorg-xmodmap 244 | xorg-xrandr 245 | xorg-xrdb 246 | xorg-xset 247 | xorg-xsetroot 248 | xorg-xwininfo 249 | 250 | ########################## 251 | #### Touchpad & Mouse #### 252 | ########################## 253 | xf86-input-libinput 254 | xorg-xinput 255 | 256 | ######################################### 257 | #### Networking Tools & Applications #### 258 | ######################################### 259 | bmon 260 | discord 261 | inetutils 262 | firefox 263 | networkmanager 264 | network-manager-applet 265 | nethogs 266 | nm-connection-editor 267 | wget 268 | curl 269 | 270 | ################### 271 | #### Bluetooth #### 272 | ################### 273 | bluez 274 | bluez-utils 275 | blueberry 276 | 277 | ############### 278 | #### Sound #### 279 | ############### 280 | alsa-plugins 281 | alsa-tools 282 | alsa-utils 283 | pavucontrol 284 | portaudio 285 | pipewire 286 | wireplumber 287 | pipewire-alsa 288 | pipewire-jack 289 | pipewire-zeroconf 290 | pipewire-pulse 291 | 292 | ####################### 293 | #### Music Players #### 294 | ####################### 295 | mpc 296 | mpd 297 | mplayer 298 | mpv 299 | ncmpcpp 300 | 301 | ############### 302 | #### Files #### 303 | ############### 304 | ncdu 305 | ranger 306 | thunar 307 | ueberzug 308 | xdg-user-dirs 309 | 310 | ################ 311 | #### Images #### 312 | ################ 313 | imagemagick 314 | viewnior 315 | 316 | ########################## 317 | #### Editing Software #### 318 | ########################## 319 | #gimp 320 | #inkscape 321 | 322 | #################### 323 | #### Multimedia #### 324 | #################### 325 | ffmpeg 326 | ffmpegthumbnailer 327 | yt-dlp 328 | 329 | ###################### 330 | #### Text Editors #### 331 | ###################### 332 | geany 333 | vim 334 | 335 | ################# 336 | #### Torrent #### 337 | ################# 338 | qbittorrent 339 | qbittorrent-nox 340 | 341 | ###################### 342 | #### AUR Packages #### 343 | ###################### 344 | ani-cli-git 345 | cava 346 | oh-my-zsh-git 347 | paru-bin 348 | tty-clock-git 349 | ulauncher 350 | unimatrix-git 351 | xfce-polkit 352 | ytfzf-git 353 | -------------------------------------------------------------------------------- /archiso/pacman.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/pacman.conf 3 | # 4 | # See the pacman.conf(5) manpage for option and repository directives 5 | 6 | # 7 | # GENERAL OPTIONS 8 | # 9 | [options] 10 | # The following paths are commented out with their default values listed. 11 | # If you wish to use different paths, uncomment and update the paths. 12 | #RootDir = / 13 | #DBPath = /var/lib/pacman/ 14 | #CacheDir = /var/cache/pacman/pkg/ 15 | #LogFile = /var/log/pacman.log 16 | #GPGDir = /etc/pacman.d/gnupg/ 17 | #HookDir = /etc/pacman.d/hooks/ 18 | HoldPkg = pacman glibc 19 | #XferCommand = /usr/bin/curl -L -C - -f -o %o %u 20 | #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u 21 | #CleanMethod = KeepInstalled 22 | Architecture = auto 23 | 24 | # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup 25 | #IgnorePkg = 26 | #IgnoreGroup = 27 | 28 | #NoUpgrade = 29 | #NoExtract = 30 | 31 | # Misc options 32 | #UseSyslog 33 | Color 34 | #NoProgressBar 35 | CheckSpace 36 | VerbosePkgLists 37 | ILoveCandy 38 | ParallelDownloads = 5 39 | 40 | # By default, pacman accepts packages signed by keys that its local keyring 41 | # trusts (see pacman-key and its man page), as well as unsigned packages. 42 | SigLevel = Required DatabaseOptional 43 | LocalFileSigLevel = Optional 44 | #RemoteFileSigLevel = Required 45 | 46 | # NOTE: You must run `pacman-key --init` before first using pacman; the local 47 | # keyring can then be populated with the keys of all official Arch Linux 48 | # packagers with `pacman-key --populate archlinux`. 49 | 50 | # 51 | # REPOSITORIES 52 | # - can be defined here or included from another file 53 | # - pacman will search repositories in the order defined here 54 | # - local/custom mirrors can be added here or in separate files 55 | # - repositories listed first will take precedence when packages 56 | # have identical names, regardless of version number 57 | # - URLs will have $repo replaced by the name of the current repo 58 | # - URLs will have $arch replaced by the name of the architecture 59 | # 60 | # Repository entries are of the format: 61 | # [repo-name] 62 | # Server = ServerName 63 | # Include = IncludePath 64 | # 65 | # The header [repo-name] is crucial - it must be present and 66 | # uncommented to enable the repo. 67 | # 68 | 69 | # The testing repositories are disabled by default. To enable, uncomment the 70 | # repo name header and Include lines. You can add preferred servers immediately 71 | # after the header, and they will be used before the default mirrors. 72 | 73 | #[testing] 74 | #Include = /etc/pacman.d/mirrorlist 75 | #Usage = Sync Search 76 | 77 | [zone-core-repo] 78 | SigLevel = Optional TrustedOnly 79 | Server = https://zone-linux.github.io/$repo/$arch 80 | 81 | [zone-repo] 82 | SigLevel = Optional TrustedOnly 83 | Server = https://zone-linux.github.io/$repo/$arch 84 | 85 | [zone-3party-repo] 86 | SigLevel = Optional TrustedOnly 87 | Server = https://zone-linux.github.io/$repo/$arch 88 | 89 | [core] 90 | Include = /etc/pacman.d/mirrorlist 91 | 92 | [extra] 93 | Include = /etc/pacman.d/mirrorlist 94 | 95 | #[community-testing] 96 | #Include = /etc/pacman.d/mirrorlist 97 | #Usage = Sync Search 98 | 99 | [community] 100 | Include = /etc/pacman.d/mirrorlist 101 | 102 | # If you want to run 32 bit applications on your x86_64 system, 103 | # enable the multilib repositories as required here. 104 | 105 | #[multilib-testing] 106 | #Include = /etc/pacman.d/mirrorlist 107 | #Usage = Sync Search 108 | 109 | [multilib] 110 | Include = /etc/pacman.d/mirrorlist 111 | 112 | # An example of a custom package repository. See the pacman manpage for 113 | # tips on creating your own repositories. 114 | #[custom] 115 | #SigLevel = Optional TrustAll 116 | #Server = file:///home/custompkgs 117 | -------------------------------------------------------------------------------- /archiso/profiledef.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC2034 3 | 4 | iso_name="zone" 5 | iso_label="zone_$(date +%Y%m)" 6 | iso_publisher="zone " 7 | iso_application="zone Live/Rescue CD" 8 | iso_version="$(date +%Y.%m.%d)" 9 | install_dir="arch" 10 | buildmodes=('iso') 11 | bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') 12 | arch="x86_64" 13 | pacman_conf="pacman.conf" 14 | airootfs_image_type="squashfs" 15 | airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') 16 | file_permissions=( 17 | ["/etc/shadow"]="0:0:400" 18 | ["/root"]="0:0:750" 19 | ["/etc/polkit-1/rules.d"]="0:0:750" 20 | ["/etc/sudoers.d"]="0:0:750" 21 | ["/root/.automated_script.sh"]="0:0:755" 22 | ["/root/customize_airootfs.sh"]="0:0:755" 23 | ["/usr/local/bin/choose-mirror"]="0:0:755" 24 | ["/usr/local/bin/post_install"]="0:0:755" 25 | ["/usr/local/bin/chrooted_post_install"]="0:0:755" 26 | ) 27 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_head.cfg: -------------------------------------------------------------------------------- 1 | SERIAL 0 115200 2 | UI vesamenu.c32 3 | MENU TITLE Zone 4 | MENU BACKGROUND splash.png 5 | 6 | MENU WIDTH 78 7 | MENU MARGIN 4 8 | MENU ROWS 7 9 | MENU VSHIFT 10 10 | MENU TABMSGROW 14 11 | MENU CMDLINEROW 14 12 | MENU HELPMSGROW 16 13 | MENU HELPMSGENDROW 29 14 | 15 | # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu 16 | 17 | MENU COLOR border 30;44 #40ffffff #a0000000 std 18 | MENU COLOR title 1;36;44 #9033ccff #a0000000 std 19 | MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all 20 | MENU COLOR unsel 37;44 #50ffffff #a0000000 std 21 | MENU COLOR help 37;40 #c0ffffff #a0000000 std 22 | MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std 23 | MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std 24 | MENU COLOR msg07 37;40 #90ffffff #a0000000 std 25 | MENU COLOR tabmsg 31;40 #30ffffff #00000000 std 26 | 27 | MENU CLEAR 28 | MENU IMMEDIATE 29 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_pxe-linux.cfg: -------------------------------------------------------------------------------- 1 | LABEL arch64_nbd 2 | TEXT HELP 3 | Boot the Zone install medium using NBD. 4 | It allows you to install Zone or perform system maintenance. 5 | ENDTEXT 6 | MENU LABEL Zone install medium (x86_64, NBD) 7 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 8 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 9 | APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} checksum verify 10 | SYSAPPEND 3 11 | 12 | LABEL arch64_nfs 13 | TEXT HELP 14 | Boot the Zone live medium using NFS. 15 | It allows you to install Zone or perform system maintenance. 16 | ENDTEXT 17 | MENU LABEL Zone install medium (x86_64, NFS) 18 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 19 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 20 | APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt checksum verify 21 | SYSAPPEND 3 22 | 23 | LABEL arch64_http 24 | TEXT HELP 25 | Boot the Zone live medium using HTTP. 26 | It allows you to install Zone or perform system maintenance. 27 | ENDTEXT 28 | MENU LABEL one install medium (x86_64, HTTP) 29 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 30 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 31 | APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ checksum verify 32 | SYSAPPEND 3 33 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_pxe.cfg: -------------------------------------------------------------------------------- 1 | INCLUDE archiso_head.cfg 2 | 3 | INCLUDE archiso_pxe-linux.cfg 4 | 5 | INCLUDE archiso_tail.cfg 6 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_sys-linux.cfg: -------------------------------------------------------------------------------- 1 | # Default 2 | LABEL arch64 3 | MENU LABEL Enter The Zone install medium (x86_64, BIOS) 4 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 5 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 6 | APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=5G 7 | 8 | 9 | # Copy to RAM boot option 10 | LABEL arch64-ctr 11 | MENU LABEL Enter The Zone install medium (x86_64, BIOS, Copy to RAM) 12 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 13 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 14 | APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram cow_spacesize=1G 15 | 16 | # Nvidia propritary (Non-Free) 17 | 16 LABEL arch64-nvidia 18 | MENU LABEL Enter The Zone (64bit, NVIDIA) 19 | LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux 20 | INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img 21 | APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1 22 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_sys.cfg: -------------------------------------------------------------------------------- 1 | INCLUDE archiso_head.cfg 2 | 3 | DEFAULT arch64 4 | TIMEOUT 50 5 | 6 | INCLUDE archiso_sys-linux.cfg 7 | 8 | INCLUDE archiso_tail.cfg 9 | -------------------------------------------------------------------------------- /archiso/syslinux/archiso_tail.cfg: -------------------------------------------------------------------------------- 1 | LABEL existing 2 | MENU LABEL Boot existing OS 3 | COM32 chain.c32 4 | APPEND hd0 0 5 | 6 | # http://hdt-project.org/ 7 | LABEL hdt 8 | MENU LABEL Hardware Information (HDT) 9 | COM32 hdt.c32 10 | APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz 11 | 12 | LABEL reboot 13 | MENU LABEL Reboot 14 | COM32 reboot.c32 15 | 16 | LABEL poweroff 17 | MENU LABEL Power Off 18 | COM32 poweroff.c32 19 | -------------------------------------------------------------------------------- /archiso/syslinux/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zone-linux/zone-iso/86b62089b5787b8ffba78298eb56856d15c6654c/archiso/syslinux/splash.png -------------------------------------------------------------------------------- /archiso/syslinux/syslinux.cfg: -------------------------------------------------------------------------------- 1 | DEFAULT select 2 | 3 | LABEL select 4 | COM32 whichsys.c32 5 | APPEND -pxe- pxe -sys- sys -iso- sys 6 | 7 | LABEL pxe 8 | CONFIG archiso_pxe.cfg 9 | 10 | LABEL sys 11 | CONFIG archiso_sys.cfg 12 | -------------------------------------------------------------------------------- /installation-scripts/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #set -e 3 | echo 4 | echo "################################################################## " 5 | tput setaf 2 6 | echo "Phase 1 : " 7 | echo "- Setting General parameters" 8 | tput sgr0 9 | echo "################################################################## " 10 | echo 11 | 12 | #Let us set the desktop" 13 | #First letter of desktop is small letter 14 | 15 | #desktop="xfce" 16 | #lightdmDesktop="xfce" 17 | 18 | #arcolinuxVersion='v21.03.1' 19 | 20 | #isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso' 21 | 22 | # setting of the general parameters 23 | archisoRequiredVersion="archiso 60-1" 24 | buildFolder=$HOME"/Zone-Build" 25 | outFolder=$HOME"/Zone-Iso" 26 | archisoVersion=$(sudo pacman -Q archiso) 27 | 28 | echo "################################################################## " 29 | #echo "Building the desktop : "$desktop 30 | #echo "Building version : "$arcolinuxVersion 31 | #echo "Iso label : "$isoLabel 32 | echo "Do you have the right archiso version? : $archisoVersion" 33 | echo "What is the required archiso version? : $archisoRequiredVersion" 34 | echo "Build folder : $buildFolder" 35 | echo "Out folder : $outFolder" 36 | echo "################################################################## " 37 | 38 | if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then 39 | tput setaf 2 40 | echo "##################################################################" 41 | echo "Archiso has the correct version. Continuing ..." 42 | echo "##################################################################" 43 | tput sgr0 44 | else 45 | tput setaf 1 46 | echo "###################################################################################################" 47 | echo "You need to install the correct version of Archiso" 48 | echo "Use 'sudo downgrade archiso' to do that" 49 | echo "or update your system" 50 | echo "If a new archiso package comes in and you want to test if you can still build" 51 | echo "the iso then change the version in line 37." 52 | echo "###################################################################################################" 53 | tput sgr0 54 | fi 55 | 56 | echo 57 | echo "################################################################## " 58 | tput setaf 2 59 | echo "Phase 2 :" 60 | echo "- Checking if archiso is installed" 61 | echo "- Saving current archiso version to archiso.md" 62 | echo "- Making mkarchiso verbose" 63 | tput sgr0 64 | echo "################################################################## " 65 | echo 66 | 67 | package="archiso" 68 | 69 | #---------------------------------------------------------------------------------- 70 | 71 | #checking if application is already installed or else install with aur helpers 72 | if pacman -Qi $package &> /dev/null; then 73 | 74 | echo "Archiso is already installed" 75 | 76 | else 77 | 78 | #checking which helper is installed 79 | if pacman -Qi yay &> /dev/null; then 80 | 81 | echo "################################################################" 82 | echo "######### Installing with yay" 83 | echo "################################################################" 84 | yay -S --noconfirm $package 85 | 86 | elif pacman -Qi trizen &> /dev/null; then 87 | 88 | echo "################################################################" 89 | echo "######### Installing with trizen" 90 | echo "################################################################" 91 | trizen -S --noconfirm --needed --noedit $package 92 | 93 | fi 94 | 95 | # Just checking if installation was successful 96 | if pacman -Qi $package &> /dev/null; then 97 | 98 | echo "################################################################" 99 | echo "######### $package has been installed" 100 | echo "################################################################" 101 | 102 | else 103 | 104 | echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" 105 | echo "!!!!!!!!! $package has NOT been installed" 106 | echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" 107 | exit 1 108 | fi 109 | 110 | fi 111 | 112 | echo 113 | echo "Saving current archiso version to archiso.md" 114 | sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md 115 | echo 116 | echo "Making mkarchiso verbose" 117 | sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso 118 | 119 | echo 120 | echo "################################################################## " 121 | tput setaf 2 122 | echo "Phase 3 :" 123 | echo "- Deleting the build folder if one exists" 124 | echo "- Copying the Archiso folder to build folder" 125 | tput sgr0 126 | echo "################################################################## " 127 | echo 128 | 129 | echo "Deleting the build folder if one exists - takes some time" 130 | [ -d "$buildFolder" ] && sudo rm -rf "$buildFolder" 131 | echo 132 | echo "Copying the Archiso folder to build work" 133 | echo 134 | mkdir "$buildFolder" 135 | cp -r ../archiso "$buildFolder"/archiso 136 | 137 | # echo 138 | # echo "################################################################## " 139 | # tput setaf 2 140 | # echo "Phase 4 :" 141 | # echo "- Deleting any files in /etc/skel" 142 | # echo "- Getting the last version of bashrc in /etc/skel" 143 | # echo "- Removing the old packages.x86_64 file from build folder" 144 | # echo "- Copying the new packages.x86_64 file to the build folder" 145 | # echo "- Changing group for polkit folder" 146 | # tput sgr0 147 | # echo "################################################################## " 148 | # echo 149 | 150 | # echo "Deleting any files in /etc/skel" 151 | # rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null 152 | # echo 153 | 154 | # echo "Getting the last version of bashrc in /etc/skel" 155 | # echo 156 | # wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc 157 | 158 | # echo "Removing the old packages.x86_64 file from build folder" 159 | # rm $buildFolder/archiso/packages.x86_64 160 | # echo 161 | # echo "Copying the new packages.x86_64 file to the build folder" 162 | # cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 163 | # echo 164 | # echo "Changing group for polkit folder" 165 | # sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d 166 | # #is not working so fixing this during calamares installation 167 | 168 | # echo 169 | # echo "################################################################## " 170 | # tput setaf 2 171 | # echo "Phase 5 : " 172 | # echo "- Changing all references" 173 | # echo "- Adding time to /etc/dev-rel" 174 | # tput sgr0 175 | # echo "################################################################## " 176 | # echo 177 | # 178 | # #Setting variables 179 | # 180 | # #profiledef.sh 181 | # oldname1='iso_name=arcolinux' 182 | # newname1='iso_name=arcolinux' 183 | # 184 | # oldname2='iso_label="arcolinux' 185 | # newname2='iso_label="arcolinux' 186 | # 187 | # oldname3='ArcoLinux' 188 | # newname3='ArcoLinux' 189 | # 190 | # #hostname 191 | # oldname4='ArcoLinux' 192 | # newname4='ArcoLinux' 193 | # 194 | # #lightdm.conf user-session 195 | # oldname5='user-session=xfce' 196 | # newname5='user-session='$lightdmDesktop 197 | # 198 | # #lightdm.conf autologin-session 199 | # oldname6='#autologin-session=' 200 | # newname6='autologin-session='$lightdmDesktop 201 | # 202 | # echo "Changing all references" 203 | # echo 204 | # sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh 205 | # sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh 206 | # sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel 207 | # sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname 208 | # sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf 209 | # sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf 210 | # 211 | # echo "Adding time to /etc/dev-rel" 212 | # date_build=$(date -d now) 213 | # echo "Iso build on : "$date_build 214 | # sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel 215 | 216 | 217 | echo 218 | echo "################################################################## " 219 | tput setaf 2 220 | echo "Phase 6 :" 221 | echo "- Cleaning the cache from /var/cache/pacman/pkg/" 222 | tput sgr0 223 | echo "################################################################## " 224 | echo 225 | 226 | echo "Cleaning the cache from /var/cache/pacman/pkg/" 227 | yes | sudo pacman -Scc 228 | 229 | echo 230 | echo "################################################################## " 231 | tput setaf 2 232 | echo "Phase 7 :" 233 | echo "- Building the iso - this can take a while - be patient" 234 | tput sgr0 235 | echo "################################################################## " 236 | echo 237 | 238 | [ -d "$outFolder" ] || mkdir "$outFolder" 239 | (cd "$buildFolder"/archiso/ && sudo mkarchiso -v -w "$buildFolder" -o "$outFolder" "$buildFolder"/archiso/) 240 | 241 | 242 | 243 | # echo 244 | # echo "###################################################################" 245 | # tput setaf 2 246 | # echo "Phase 8 :" 247 | # echo "- Creating checksums" 248 | # echo "- Copying pgklist" 249 | # tput sgr0 250 | # echo "###################################################################" 251 | # echo 252 | # 253 | # cd $outFolder 254 | # 255 | # echo "Creating checksums for : "$isoLabel 256 | # echo "##################################################################" 257 | # echo 258 | # echo "Building sha1sum" 259 | # echo "########################" 260 | # sha1sum $isoLabel | tee $isoLabel.sha1 261 | # echo "Building sha256sum" 262 | # echo "########################" 263 | # sha256sum $isoLabel | tee $isoLabel.sha256 264 | # echo "Building md5sum" 265 | # echo "########################" 266 | # md5sum $isoLabel | tee $isoLabel.md5 267 | # echo 268 | echo "Moving pkglist.x86_64.txt" 269 | echo "########################" 270 | rename=$(date +%Y-%m-%d) 271 | cp "$buildFolder"/iso/arch/pkglist.x86_64.txt "$outFolder"/archlinux-"$rename"-pkglist.txt 272 | 273 | 274 | echo 275 | echo "##################################################################" 276 | tput setaf 2 277 | echo "Phase 9 :" 278 | echo "- Making sure we start with a clean slate next time" 279 | tput sgr0 280 | echo "################################################################## " 281 | echo 282 | 283 | #echo "Deleting the build folder if one exists - takes some time" 284 | #[ -d $buildFolder ] && sudo rm -rf $buildFolder 285 | 286 | echo 287 | echo "##################################################################" 288 | tput setaf 2 289 | echo "DONE" 290 | echo "- Check your out folder : $outFolder" 291 | tput sgr0 292 | echo "################################################################## " 293 | echo 294 | 295 | if [[ -f "$HOME/Zone-Iso/zone-$(date +%Y.%m.%d)-x86_64.iso" ]]; then 296 | pdir=$(dirname "$PWD") 297 | notify-send -a "Build Zone iso" -t 10000 "Zone Iso has finished building..." --icon="$pdir/archiso/airootfs/usr/share/zone.png" 298 | fi 299 | -------------------------------------------------------------------------------- /installation-scripts/re-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #set -e 3 | echo 4 | echo "################################################################## " 5 | tput setaf 2 6 | echo "Phase 1 : " 7 | echo "- Setting General parameters" 8 | tput sgr0 9 | echo "################################################################## " 10 | echo 11 | 12 | #Let us set the desktop" 13 | #First letter of desktop is small letter 14 | 15 | #desktop="xfce" 16 | #lightdmDesktop="xfce" 17 | 18 | #arcolinuxVersion='v21.03.1' 19 | 20 | #isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso' 21 | 22 | # setting of the general parameters 23 | archisoRequiredVersion="archiso 60-1" 24 | buildFolder=$HOME"/Zone-Build" 25 | outFolder=$HOME"/Zone-Iso" 26 | archisoVersion=$(sudo pacman -Q archiso) 27 | 28 | echo "################################################################## " 29 | #echo "Building the desktop : "$desktop 30 | #echo "Building version : "$arcolinuxVersion 31 | #echo "Iso label : "$isoLabel 32 | echo "Do you have the right archiso version? : $archisoVersion" 33 | echo "What is the required archiso version? : $archisoRequiredVersion" 34 | echo "Build folder : $buildFolder" 35 | echo "Out folder : $outFolder" 36 | echo "################################################################## " 37 | 38 | if [ "$archisoVersion" == "$archisoRequiredVersion" ]; then 39 | tput setaf 2 40 | echo "##################################################################" 41 | echo "Archiso has the correct version. Continuing ..." 42 | echo "##################################################################" 43 | tput sgr0 44 | else 45 | tput setaf 1 46 | echo "###################################################################################################" 47 | echo "You need to install the correct version of Archiso" 48 | echo "Use 'sudo downgrade archiso' to do that" 49 | echo "or update your system" 50 | echo "If a new archiso package comes in and you want to test if you can still build" 51 | echo "the iso then change the version in line 37." 52 | echo "###################################################################################################" 53 | tput sgr0 54 | fi 55 | 56 | echo 57 | echo "################################################################## " 58 | tput setaf 2 59 | echo "Phase 2 :" 60 | echo "- Checking if archiso is installed" 61 | echo "- Saving current archiso version to archiso.md" 62 | echo "- Making mkarchiso verbose" 63 | tput sgr0 64 | echo "################################################################## " 65 | echo 66 | 67 | package="archiso" 68 | 69 | #---------------------------------------------------------------------------------- 70 | 71 | #checking if application is already installed or else install with aur helpers 72 | if pacman -Qi $package &> /dev/null; then 73 | 74 | echo "Archiso is already installed" 75 | 76 | else 77 | 78 | #checking which helper is installed 79 | if pacman -Qi yay &> /dev/null; then 80 | 81 | echo "################################################################" 82 | echo "######### Installing with yay" 83 | echo "################################################################" 84 | yay -S --noconfirm $package 85 | 86 | elif pacman -Qi trizen &> /dev/null; then 87 | 88 | echo "################################################################" 89 | echo "######### Installing with trizen" 90 | echo "################################################################" 91 | trizen -S --noconfirm --needed --noedit $package 92 | 93 | fi 94 | 95 | # Just checking if installation was successful 96 | if pacman -Qi $package &> /dev/null; then 97 | 98 | echo "################################################################" 99 | echo "######### $package has been installed" 100 | echo "################################################################" 101 | 102 | else 103 | 104 | echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" 105 | echo "!!!!!!!!! $package has NOT been installed" 106 | echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" 107 | exit 1 108 | fi 109 | 110 | fi 111 | 112 | echo 113 | echo "Saving current archiso version to archiso.md" 114 | sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md 115 | echo 116 | echo "Making mkarchiso verbose" 117 | sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso 118 | 119 | echo 120 | echo "################################################################## " 121 | tput setaf 2 122 | echo "Phase 3 :" 123 | echo "- Deleting the build folder if one exists" 124 | echo "- Copying the Archiso folder to build folder" 125 | tput sgr0 126 | echo "################################################################## " 127 | echo 128 | 129 | echo "Deleting the build folder if one exists - takes some time" 130 | [ -d "$buildFolder" ] && sudo rm -rf "$buildFolder" 131 | echo 132 | echo "Copying the Archiso folder to build work" 133 | echo 134 | mkdir "$buildFolder" 135 | cp -r ../archiso "$buildFolder"/archiso 136 | 137 | # echo 138 | # echo "################################################################## " 139 | # tput setaf 2 140 | # echo "Phase 4 :" 141 | # echo "- Deleting any files in /etc/skel" 142 | # echo "- Getting the last version of bashrc in /etc/skel" 143 | # echo "- Removing the old packages.x86_64 file from build folder" 144 | # echo "- Copying the new packages.x86_64 file to the build folder" 145 | # echo "- Changing group for polkit folder" 146 | # tput sgr0 147 | # echo "################################################################## " 148 | # echo 149 | 150 | # echo "Deleting any files in /etc/skel" 151 | # rm -rf $buildFolder/archiso/airootfs/etc/skel/.* 2> /dev/null 152 | # echo 153 | 154 | # echo "Getting the last version of bashrc in /etc/skel" 155 | # echo 156 | # wget https://raw.githubusercontent.com/arcolinux/arcolinux-root/master/etc/skel/.bashrc-latest -O $buildFolder/archiso/airootfs/etc/skel/.bashrc 157 | 158 | # echo "Removing the old packages.x86_64 file from build folder" 159 | # rm $buildFolder/archiso/packages.x86_64 160 | # echo 161 | # echo "Copying the new packages.x86_64 file to the build folder" 162 | # cp -f ../archiso/packages.x86_64 $buildFolder/archiso/packages.x86_64 163 | # echo 164 | # echo "Changing group for polkit folder" 165 | # sudo chgrp polkitd $buildFolder/archiso/airootfs/etc/polkit-1/rules.d 166 | # #is not working so fixing this during calamares installation 167 | 168 | # echo 169 | # echo "################################################################## " 170 | # tput setaf 2 171 | # echo "Phase 5 : " 172 | # echo "- Changing all references" 173 | # echo "- Adding time to /etc/dev-rel" 174 | # tput sgr0 175 | # echo "################################################################## " 176 | # echo 177 | # 178 | # #Setting variables 179 | # 180 | # #profiledef.sh 181 | # oldname1='iso_name=arcolinux' 182 | # newname1='iso_name=arcolinux' 183 | # 184 | # oldname2='iso_label="arcolinux' 185 | # newname2='iso_label="arcolinux' 186 | # 187 | # oldname3='ArcoLinux' 188 | # newname3='ArcoLinux' 189 | # 190 | # #hostname 191 | # oldname4='ArcoLinux' 192 | # newname4='ArcoLinux' 193 | # 194 | # #lightdm.conf user-session 195 | # oldname5='user-session=xfce' 196 | # newname5='user-session='$lightdmDesktop 197 | # 198 | # #lightdm.conf autologin-session 199 | # oldname6='#autologin-session=' 200 | # newname6='autologin-session='$lightdmDesktop 201 | # 202 | # echo "Changing all references" 203 | # echo 204 | # sed -i 's/'$oldname1'/'$newname1'/g' $buildFolder/archiso/profiledef.sh 205 | # sed -i 's/'$oldname2'/'$newname2'/g' $buildFolder/archiso/profiledef.sh 206 | # sed -i 's/'$oldname3'/'$newname3'/g' $buildFolder/archiso/airootfs/etc/dev-rel 207 | # sed -i 's/'$oldname4'/'$newname4'/g' $buildFolder/archiso/airootfs/etc/hostname 208 | # sed -i 's/'$oldname5'/'$newname5'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf 209 | # sed -i 's/'$oldname6'/'$newname6'/g' $buildFolder/archiso/airootfs/etc/lightdm/lightdm.conf 210 | # 211 | # echo "Adding time to /etc/dev-rel" 212 | # date_build=$(date -d now) 213 | # echo "Iso build on : "$date_build 214 | # sudo sed -i "s/\(^ISO_BUILD=\).*/\1$date_build/" $buildFolder/archiso/airootfs/etc/dev-rel 215 | 216 | 217 | #echo 218 | #echo "################################################################## " 219 | #tput setaf 2 220 | #echo "Phase 6 :" 221 | #echo "- Cleaning the cache from /var/cache/pacman/pkg/" 222 | #tput sgr0 223 | #echo "################################################################## " 224 | #echo 225 | 226 | #echo "Cleaning the cache from /var/cache/pacman/pkg/" 227 | #yes | sudo pacman -Scc 228 | 229 | echo 230 | echo "################################################################## " 231 | tput setaf 2 232 | echo "Phase 7 :" 233 | echo "- Building the iso - this can take a while - be patient" 234 | tput sgr0 235 | echo "################################################################## " 236 | echo 237 | 238 | [ -d "$outFolder" ] || mkdir "$outFolder" 239 | (cd "$buildFolder"/archiso/ && sudo mkarchiso -v -w "$buildFolder" -o "$outFolder" "$buildFolder"/archiso/) 240 | 241 | 242 | 243 | # echo 244 | # echo "###################################################################" 245 | # tput setaf 2 246 | # echo "Phase 8 :" 247 | # echo "- Creating checksums" 248 | # echo "- Copying pgklist" 249 | # tput sgr0 250 | # echo "###################################################################" 251 | # echo 252 | # 253 | # cd $outFolder 254 | # 255 | # echo "Creating checksums for : "$isoLabel 256 | # echo "##################################################################" 257 | # echo 258 | # echo "Building sha1sum" 259 | # echo "########################" 260 | # sha1sum $isoLabel | tee $isoLabel.sha1 261 | # echo "Building sha256sum" 262 | # echo "########################" 263 | # sha256sum $isoLabel | tee $isoLabel.sha256 264 | # echo "Building md5sum" 265 | # echo "########################" 266 | # md5sum $isoLabel | tee $isoLabel.md5 267 | # echo 268 | echo "Moving pkglist.x86_64.txt" 269 | echo "########################" 270 | rename=$(date +%Y-%m-%d) 271 | cp "$buildFolder"/iso/arch/pkglist.x86_64.txt "$outFolder"/archlinux-"$rename"-pkglist.txt 272 | 273 | 274 | #echo 275 | #echo "##################################################################" 276 | #tput setaf 2 277 | #echo "Phase 9 :" 278 | #echo "- Making sure we start with a clean slate next time" 279 | #tput sgr0 280 | #echo "################################################################## " 281 | #echo 282 | 283 | #echo "Deleting the build folder if one exists - takes some time" 284 | #[ -d $buildFolder ] && sudo rm -rf $buildFolder 285 | 286 | echo 287 | echo "##################################################################" 288 | tput setaf 2 289 | echo "DONE" 290 | echo "- Check your out folder : $outFolder" 291 | tput sgr0 292 | echo "################################################################## " 293 | echo 294 | 295 | if [[ -f "$HOME/Zone-Iso/zone-$(date +%Y.%m.%d)-x86_64.iso" ]]; then 296 | pdir=$(dirname "$PWD") 297 | notify-send -a "Build Zone iso" -t 10000 "Zone Iso has finished building..." --icon="$pdir/archiso/airootfs/usr/share/zone.png" 298 | fi 299 | --------------------------------------------------------------------------------