NetworkManager: fix tests
This commit is contained in:
parent
beb3f7fb1f
commit
93ae067bcf
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue