22
33set -e
44
5+ rm -f archvm/efivars.fd
6+
57packages_file=" /tmp/archlive/packages.x86_64"
68
79# Packages to add to the archiso profile packages
@@ -21,15 +23,78 @@ mkdir -p /tmp/archlive/airootfs/root/archinstall-git
2123cp -r . /tmp/archlive/airootfs/root/archinstall-git
2224
2325cat << - _EOF_ | tee /tmp/archlive/airootfs/root/.zprofile
26+ systemctl stop sshd
27+
2428 cd archinstall-git
2529 rm -rf dist
2630
31+ git config --global user.name aaa
32+ git config --global user.email aaa
33+
34+ git checkout limine-update
35+ git checkout limine-update2
36+ git checkout limine-update3
37+ git checkout limine-update4
38+
39+ git checkout merged-prs
40+ git reset --hard master
41+ git merge --no-edit --no-ff limine-update
42+ git merge --no-edit --no-ff limine-update2
43+ git merge --no-edit --no-ff limine-update3
44+ git merge --no-edit --no-ff limine-update4
45+
2746 python -m build --wheel --no-isolation
2847 pip install dist/archinstall*.whl --break-system-packages
2948
49+ mkfs.fat /dev/sda1
50+ mkfs.fat /dev/sda2
51+ mkfs.ext4 -F /dev/sda3
52+
53+ mount /dev/sda3 /mnt
54+ mkdir /mnt/boot
55+ mount /dev/sda2 /mnt/boot
56+ mkdir /mnt/boot/efi
57+ mount /dev/sda1 /mnt/boot/efi
58+
59+ cat >archinstall.conf <<'EOF'
60+ {
61+ "archinstall-language": "English",
62+ "audio_config": null,
63+ "bootloader": "Limine",
64+ "custom_commands": [],
65+ "disk_config": {
66+ "config_type": "pre_mounted_config",
67+ "mountpoint": "/mnt"
68+ },
69+ "hostname": "archlinux",
70+ "kernels": [
71+ "linux"
72+ ],
73+ "locale_config": {
74+ "kb_layout": "us",
75+ "sys_enc": "UTF-8",
76+ "sys_lang": "en_US"
77+ },
78+ "network_config": {
79+ "type": "iso"
80+ },
81+ "ntp": false,
82+ "packages": [
83+ "dhcpcd"
84+ ],
85+ "parallel_downloads": 0,
86+ "services": [],
87+ "swap": true,
88+ "timezone": "Europe/Rome",
89+ "version": null
90+ }
91+ EOF
92+
3093 echo "This is an unofficial ISO for development and testing of archinstall. No support will be provided."
3194 echo "This ISO was built from Git SHA $GITHUB_SHA "
3295 echo "Type archinstall to launch the installer."
96+
97+ archinstall --silent --config archinstall.conf
3398_EOF_
3499
35100pacman --noconfirm -S archiso
0 commit comments