Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] NetworkManager: fix tests
Date: Mon, 24 May 2021 20:50:14 +0200	[thread overview]
Message-ID: <20210524185014.Ko3kobSMric07mURIEkigDPg_sbSrFpobM0f3gcZaz4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31091@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages NetworkManager-fix-tests
https://github.com/void-linux/void-packages/pull/31091

NetworkManager: fix tests


A patch file from https://github.com/void-linux/void-packages/pull/31091.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-NetworkManager-fix-tests-31091.patch --]
[-- Type: text/x-diff, Size: 1263 bytes --]

From dac77d888b7d1368fc915e4f8e48489858a65198 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 24 May 2021 17:38:08 +0200
Subject: [PATCH] NetworkManager: fix tests

---
 srcpkgs/NetworkManager/template | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template
index 213f7a7a4207..2f159a9f55c4 100644
--- a/srcpkgs/NetworkManager/template
+++ b/srcpkgs/NetworkManager/template
@@ -28,6 +28,7 @@ makedepends="libuuid-devel nss-devel dbus-glib-devel libgudev-devel
  $(vopt_if gir 'libgirepository-devel python3-gobject')
  $(vopt_if elogind elogind-devel)"
 depends="dbus iproute2 openresolv wpa_supplicant mobile-broadband-provider-info"
+checkdepends="python3-dbus"
 short_desc="Network Management daemon"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later"
@@ -51,6 +52,15 @@ patch_args=-Np1
 build_options="gir elogind"
 build_options_default="gir elogind"
 
+pre_check() {
+	# machine-id is a random, non-zero value
+	echo 'dcb30309cd6c8b7cc20383d85a5c7012' > /etc/machine-id
+}
+
+post_check() {
+	rm /etc/machine-id
+}
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		# Replace the values from our patch into the system itself

  parent reply	other threads:[~2021-05-24 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 15:45 [PR PATCH] " paper42
2021-05-24 18:42 ` [PR REVIEW] " ericonr
2021-05-24 18:42 ` ericonr
2021-05-24 18:46 ` paper42
2021-05-24 18:50 ` paper42 [this message]
2021-05-24 22:03 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210524185014.Ko3kobSMric07mURIEkigDPg_sbSrFpobM0f3gcZaz4@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).