Skip to content

Commit 63d1ebc

Browse files
committed
Add an archinstall-meta package dependency inventory
archinstall installs a lot of things it does not depend on. Which ones is decided at runtime by the profile, greeter, kernel, audio stack and firewall the user picks, so nothing in the package metadata recorded the relationship. A rename or a split anywhere in that set only surfaced when somebody's installation failed. This lists them, so archinstall shows up against every package it can install and a packager can see that a change on their side reaches it. The package ships no files; the metadata is the whole point. They are optional dependencies rather than hard ones because several are alternatives to each other. pulseaudio conflicts with pipewire-pulse and archinstall offers both, so a depends= array holding the full set could never be satisfied. The list was derived from the current code rather than copied from the older one in #2406, which has drifted: it has dmenu where sway now installs wmenu, lists profiles that have since been removed, and predates niri and labwc. Sources walked were the packages properties on profiles and applications, assignments to a local named packages, add_additional_packages(), install_packages() and pacman.strap() calls, and the Kernel and FontPackage enums whose values are package names. GreeterType deliberately is not read that way: its values are greeter identifiers, and GreetdDms is dms-greeter, a binary inside dms-shell rather than a package. The packages behind each greeter are named in install_greeter() instead. Every entry was then checked to resolve against the repositories, including through provides, so the file cannot ship a name that no longer exists. Ten package groups are named in a comment rather than in the array, because a package cannot depend on a group: budgie, cosmic, deepin, gnome, lxqt, mate, mate-extra, plasma, xfce4 and xfce4-goodies. #2406 is left alone. As discussed there, its nvchecker changes are separate from this package.
1 parent 9bae29d commit 63d1ebc

1 file changed

Lines changed: 210 additions & 0 deletions

File tree

‎archinstall-meta/PKGBUILD‎

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
# Maintainer: Anton Hvornum <torxed@archlinux.org>
2+
3+
# Packages archinstall may install for its supported installation paths, listed
4+
# so that changes to them are visible from the package metadata. Nothing here
5+
# is installed by this package; keep the list in sync with the profiles and the
6+
# package selection code.
7+
#
8+
# These are optional dependencies because several are alternatives to each
9+
# other: pulseaudio conflicts with pipewire-pulse, and archinstall offers both.
10+
11+
pkgname=archinstall-meta
12+
pkgver=1
13+
pkgrel=1
14+
pkgdesc="Package inventory for archinstall, linking it to what it can install"
15+
arch=(any)
16+
url="https://github.com/archlinux/archinstall"
17+
license=(GPL-3.0-only)
18+
depends=(archinstall)
19+
optdepends=(
20+
# Kernels
21+
'linux: kernel selection'
22+
'linux-hardened: kernel selection'
23+
'linux-lts: kernel selection'
24+
'linux-rt: kernel selection'
25+
'linux-rt-lts: kernel selection'
26+
'linux-zen: kernel selection'
27+
28+
# Bootloaders, snapshots and other installation options
29+
'cronie: cron daemon Timeshift snapshots are scheduled with'
30+
'efibootmgr: UEFI boot entry management for most bootloaders'
31+
'grub: GRUB bootloader'
32+
'grub-btrfs: GRUB entries for btrfs snapshots'
33+
'inotify-tools: required by grub-btrfs snapshot updates'
34+
'iwd: iwd based network configuration'
35+
'libfido2: FIDO2 unlocking of encrypted volumes'
36+
'limine: Limine bootloader'
37+
'plymouth: graphical boot splash'
38+
'refind: rEFInd bootloader'
39+
'snapper: btrfs snapshots with snapper'
40+
'timeshift: btrfs snapshots with Timeshift'
41+
'zram-generator: zram swap'
42+
43+
# Network
44+
'networkmanager: network configuration'
45+
46+
# Audio
47+
'alsa-firmware: audio configuration'
48+
'gst-plugin-pipewire: audio configuration'
49+
'libpulse: audio configuration'
50+
'pipewire: audio configuration'
51+
'pipewire-alsa: audio configuration'
52+
'pipewire-jack: audio configuration'
53+
'pipewire-pulse: audio configuration'
54+
'pulseaudio: audio configuration'
55+
'sof-firmware: audio configuration'
56+
'wireplumber: audio configuration'
57+
58+
# Fonts
59+
'noto-fonts: font selection'
60+
'noto-fonts-cjk: font selection'
61+
'noto-fonts-emoji: font selection'
62+
'ttf-dejavu: font selection'
63+
64+
# Bluetooth
65+
'bluez: Bluetooth support'
66+
'bluez-utils: Bluetooth support'
67+
68+
# Printing
69+
'cups: printing support'
70+
'cups-pk-helper: printing support'
71+
'ghostscript: printing support'
72+
'system-config-printer: printing support'
73+
74+
# Firewall
75+
'firewalld: firewall selection'
76+
'ufw: firewall selection'
77+
78+
# Power management
79+
'power-profiles-daemon: power management selection'
80+
'tuned: power management selection'
81+
'tuned-ppd: power management selection'
82+
83+
# Authentication
84+
'pam-u2f: U2F authentication'
85+
86+
# Greeters
87+
'cosmic-greeter: greeter selection'
88+
'gdm: greeter selection'
89+
'greetd: greeter selection'
90+
'lightdm-slick-greeter: greeter selection'
91+
'ly: greeter selection'
92+
'plasma-login-manager: greeter selection'
93+
'sddm: greeter selection'
94+
95+
# Desktop profiles
96+
'alacritty: awesome desktop profile'
97+
'awesome: awesome desktop profile'
98+
'breeze-icons: lxqt desktop profile'
99+
'brightnessctl: sway desktop profile'
100+
'bspwm: bspwm desktop profile'
101+
'cinnamon: cinnamon desktop profile'
102+
'deepin-editor: deepin desktop profile'
103+
'deepin-terminal: deepin desktop profile'
104+
'dmenu: bspwm desktop profile'
105+
'dolphin: hyprland desktop profile'
106+
'dunst: hyprland desktop profile'
107+
'engrampa: cinnamon desktop profile'
108+
'enlightenment: enlightenment desktop profile'
109+
'feh: awesome desktop profile'
110+
'foot: river desktop profile'
111+
'fuzzel: niri desktop profile'
112+
'gnome-keyring: cinnamon desktop profile'
113+
'gnome-screenshot: cinnamon desktop profile'
114+
'gnome-terminal: cinnamon desktop profile'
115+
'gnome-tweaks: gnome desktop profile'
116+
'gnu-free-fonts: awesome desktop profile'
117+
'grim: hyprland desktop profile'
118+
'gvfs: xfce4 desktop profile'
119+
'gvfs-smb: cinnamon desktop profile'
120+
'htop: installed with every desktop profile'
121+
'hyprland: hyprland desktop profile'
122+
'i3-wm: i3 desktop profile'
123+
'i3blocks: i3 desktop profile'
124+
'i3lock: i3 desktop profile'
125+
'i3status: i3 desktop profile'
126+
'kitty: hyprland desktop profile'
127+
'l3afpad: lxqt desktop profile'
128+
'labwc: labwc desktop profile'
129+
'lightdm: i3 desktop profile'
130+
'lightdm-gtk-greeter: i3 desktop profile'
131+
'mako: niri desktop profile'
132+
'mate-terminal: budgie desktop profile'
133+
'materia-gtk-theme: budgie desktop profile'
134+
'nano: installed with every desktop profile'
135+
'nemo: budgie desktop profile'
136+
'nemo-fileroller: budgie desktop profile'
137+
'niri: niri desktop profile'
138+
'openssh: installed with every desktop profile'
139+
'oxygen-icons: lxqt desktop profile'
140+
'papirus-icon-theme: budgie desktop profile'
141+
'pavucontrol: sway desktop profile'
142+
'plasma-desktop: plasma desktop profile'
143+
'plasma-meta: plasma desktop profile'
144+
'polkit-kde-agent: hyprland desktop profile'
145+
'qt5-wayland: hyprland desktop profile'
146+
'qt6-wayland: hyprland desktop profile'
147+
'qtile: qtile desktop profile'
148+
'river: river desktop profile'
149+
'rxvt-unicode: bspwm desktop profile'
150+
'slock: awesome desktop profile'
151+
'slurp: hyprland desktop profile'
152+
'smartmontools: installed with every desktop profile'
153+
'sway: sway desktop profile'
154+
'swaybg: niri desktop profile'
155+
'swayidle: niri desktop profile'
156+
'swaylock: niri desktop profile'
157+
'sxhkd: bspwm desktop profile'
158+
'terminology: enlightenment desktop profile'
159+
'terminus-font: awesome desktop profile'
160+
'ttf-freefont: lxqt desktop profile'
161+
'ttf-liberation: awesome desktop profile'
162+
'uwsm: hyprland desktop profile'
163+
'vim: installed with every desktop profile'
164+
'waybar: niri desktop profile'
165+
'wget: installed with every desktop profile'
166+
'wmenu: sway desktop profile'
167+
'wofi: hyprland desktop profile'
168+
'xarchiver: xfce4 desktop profile'
169+
'xdg-desktop-portal-gnome: niri desktop profile'
170+
'xdg-desktop-portal-hyprland: hyprland desktop profile'
171+
'xdg-desktop-portal-wlr: river desktop profile'
172+
'xdg-user-dirs: cosmic desktop profile'
173+
'xdg-user-dirs-gtk: cinnamon desktop profile'
174+
'xdg-utils: installed with every desktop profile'
175+
'xdo: bspwm desktop profile'
176+
'xed: cinnamon desktop profile'
177+
'xmonad: xmonad desktop profile'
178+
'xmonad-contrib: xmonad desktop profile'
179+
'xmonad-extras: xmonad desktop profile'
180+
'xorg-server: installed with every desktop profile'
181+
'xorg-xinit: installed with every desktop profile'
182+
'xorg-xrandr: awesome desktop profile'
183+
'xorg-xwayland: niri desktop profile'
184+
'xsel: awesome desktop profile'
185+
'xss-lock: i3 desktop profile'
186+
'xterm: awesome desktop profile'
187+
188+
# Server profiles
189+
'apache: httpd server profile'
190+
'cockpit: cockpit server profile'
191+
'cockpit-packagekit: cockpit server profile'
192+
'cockpit-storaged: cockpit server profile'
193+
'docker: docker server profile'
194+
'lighttpd: lighttpd server profile'
195+
'mariadb: mariadb server profile'
196+
'nginx: nginx server profile'
197+
'postgresql: postgresql server profile'
198+
'tomcat10: tomcat server profile'
199+
200+
# Profiles
201+
'git: minimal profile'
202+
)
203+
204+
# archinstall also installs these package groups. They are named here rather
205+
# than above because a package cannot depend on a group:
206+
# budgie cosmic deepin gnome lxqt mate mate-extra plasma xfce4 xfce4-goodies
207+
208+
package() {
209+
:
210+
}

0 commit comments

Comments
 (0)