Skip to content

Commit 6b513b4

Browse files
committed
archlinux: package tools for fetching dom0 updates
Add qubes-vm-dom0-updates subpackage, similar to other distributions.
1 parent f72a393 commit 6b513b4

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

archlinux/PKGBUILD.in

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: Frédéric Pierret (fepitre) <[email protected]>
22

3-
pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root)
3+
pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root qubes-vm-dom0-updates)
44
pkgver=@VERSION@
55
pkgrel=@REL@
66
pkgdesc="The Qubes core files for installation inside a Qubes VM."
@@ -204,3 +204,29 @@ package_qubes-vm-passwordless-root() {
204204
USER_DROPIN_DIR=/usr/lib/systemd/user \
205205
DIST=archlinux
206206
}
207+
208+
package_qubes-vm-dom0-updates() {
209+
pkgdesc="Qubes OS tools for fetching dom0 updates"
210+
depends=(
211+
qubes-vm-core
212+
qubes-vm-networking
213+
python
214+
dnf
215+
)
216+
217+
cd "${_pkgnvr}"
218+
make -C package-managers install \
219+
DESTDIR="$pkgdir" \
220+
SBINDIR=/usr/bin \
221+
LIBDIR=/usr/lib \
222+
SYSLIBDIR=/usr/lib \
223+
SYSTEM_DROPIN_DIR=/usr/lib/systemd/system \
224+
USER_DROPIN_DIR=/usr/lib/systemd/user \
225+
DIST=archlinux
226+
227+
# already included in the main package
228+
rm -f "${pkgdir}/usr/lib/qubes/upgrades-installed-check"
229+
rm -f "${pkgdir}/usr/lib/qubes/upgrades-status-notify"
230+
# not relevant for dom0 updates
231+
rm -f "${pkgdir}/usr/lib/environment.d/60-gnome-software-fix.conf"
232+
}

0 commit comments

Comments
 (0)