File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 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 )
44pkgver=@VERSION@
55pkgrel=@REL@
66pkgdesc="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+ }
You can’t perform that action at this time.
0 commit comments