-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/pr/549'
* origin/pr/549: post-install: initialize version to empty value archlinux: include nm-applet in network dependencies arch: fix creating marker-vm file dom0-update: apply --installroot etc for --help calls too archlinux: enable NetworkManager archlinux: package tools for fetching dom0 updates Pull request description: Add qubes-vm-dom0-updates subpackage, similar to other distributions.
- Loading branch information
Showing
4 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Maintainer: Frédéric Pierret (fepitre) <[email protected]> | ||
|
||
pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root) | ||
pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root qubes-vm-dom0-updates) | ||
pkgver=@VERSION@ | ||
pkgrel=@REL@ | ||
pkgdesc="The Qubes core files for installation inside a Qubes VM." | ||
|
@@ -38,7 +38,7 @@ build() { | |
sed 's:/usr/sbin/ntpdate:/usr/bin/ntpdate:g' -i qubes-rpc/sync-ntp-clock | ||
|
||
for dir in qubes-rpc misc; do | ||
make -C "$dir" | ||
make -C "$dir" VERSION=${pkgver} | ||
done | ||
} | ||
|
||
|
@@ -153,6 +153,7 @@ package_qubes-vm-networking() { | |
python | ||
iproute2 | ||
networkmanager | ||
network-manager-applet | ||
tinyproxy | ||
nftables | ||
conntrack-tools | ||
|
@@ -204,3 +205,29 @@ package_qubes-vm-passwordless-root() { | |
USER_DROPIN_DIR=/usr/lib/systemd/user \ | ||
DIST=archlinux | ||
} | ||
|
||
package_qubes-vm-dom0-updates() { | ||
pkgdesc="Qubes OS tools for fetching dom0 updates" | ||
depends=( | ||
qubes-vm-core | ||
qubes-vm-networking | ||
python | ||
dnf | ||
) | ||
|
||
cd "${_pkgnvr}" | ||
make -C package-managers install \ | ||
DESTDIR="$pkgdir" \ | ||
SBINDIR=/usr/bin \ | ||
LIBDIR=/usr/lib \ | ||
SYSLIBDIR=/usr/lib \ | ||
SYSTEM_DROPIN_DIR=/usr/lib/systemd/system \ | ||
USER_DROPIN_DIR=/usr/lib/systemd/user \ | ||
DIST=archlinux | ||
|
||
# already included in the main package | ||
rm -f "${pkgdir}/usr/lib/qubes/upgrades-installed-check" | ||
rm -f "${pkgdir}/usr/lib/qubes/upgrades-status-notify" | ||
# not relevant for dom0 updates | ||
rm -f "${pkgdir}/usr/lib/environment.d/60-gnome-software-fix.conf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,8 @@ enable module-load-dummy-psu.service | |
enable module-load-dummy-backlight.service | ||
enable [email protected] default sys-usb | ||
enable dev-xvdc1-swap.service | ||
enable NetworkManager.service | ||
enable NetworkManager-dispatcher.service | ||
|
||
# Disable useless Xen services in Qubes VM | ||
disable xenstored.service | ||
|