pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/xentools415
Module Name: pkgsrc
Committed By: bouyer
Date: Mon May 30 09:09:34 UTC 2022
Modified Files:
pkgsrc/sysutils/xentools415: Makefile distinfo
Added Files:
pkgsrc/sysutils/xentools415/patches: patch-tools_hotplug_NetBSD_block
Log Message:
Workaround a bug in NetBSD 9.99 kernel: don't pass the path to the
vnd block device to vnconfig, but the vnd name.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/xentools415/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/xentools415/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/xentools415/patches/patch-tools_hotplug_NetBSD_block
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/xentools415/Makefile
diff -u pkgsrc/sysutils/xentools415/Makefile:1.13 pkgsrc/sysutils/xentools415/Makefile:1.14
--- pkgsrc/sysutils/xentools415/Makefile:1.13 Fri May 13 16:04:23 2022
+++ pkgsrc/sysutils/xentools415/Makefile Mon May 30 09:09:33 2022
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2022/05/13 16:04:23 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/05/30 09:09:33 bouyer Exp $
#
VERSION= 4.15.2
+PKGREVISION= 1
DIST_SUBDIR= xen415
DISTNAME= xen-${VERSION}
Index: pkgsrc/sysutils/xentools415/distinfo
diff -u pkgsrc/sysutils/xentools415/distinfo:1.8 pkgsrc/sysutils/xentools415/distinfo:1.9
--- pkgsrc/sysutils/xentools415/distinfo:1.8 Fri May 13 16:04:23 2022
+++ pkgsrc/sysutils/xentools415/distinfo Mon May 30 09:09:33 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2022/05/13 16:04:23 wiz Exp $
+$NetBSD: distinfo,v 1.9 2022/05/30 09:09:33 bouyer Exp $
BLAKE2s (xen415/ipxe-988d2c13cdf0f0b4140685af35ced70ac5b3283c.tar.gz) = 67ded947316100f4f66fa61fe156baf1620db575450f4dc0dd8dcb323e57970b
SHA512 (xen415/ipxe-988d2c13cdf0f0b4140685af35ced70ac5b3283c.tar.gz) = d888e0e653727ee9895fa866d8895e6d23a568b4e9e8439db4c4d790996700c60b0655e3a3129e599736ec2b4f7b987ce79d625ba208f06665fced8bddf94403
@@ -24,6 +24,7 @@ SHA1 (patch-tools_examples_Makefile) = d
SHA1 (patch-tools_firmware_Makefile) = e3394f66acc09f166cf2ba5e66b9dc3fdedbbabf
SHA1 (patch-tools_firmware_etherboot_Makefile) = 61741d59c72430d53682ea83deed91ee4ff3d220
SHA1 (patch-tools_hotplug_NetBSD_Makefile) = c032af025b18e888019247c47016dcf649c4f391
+SHA1 (patch-tools_hotplug_NetBSD_block) = 23a18f1ebfa3bc4a689707fd5c8afa07fa232bee
SHA1 (patch-tools_hotplug_common_Makefile) = 590186dfb31713e8d9ee675186f826bcbcba3c15
SHA1 (patch-tools_include_xen-sys_NetBSD_evtchn.h) = cac834bdddfab8bb76be3b4766f084f6fc2a7bc2
SHA1 (patch-tools_include_xen-sys_NetBSD_privcmd.h) = b47ef90b0e823b270c491b9206ae10b9f230971d
Added files:
Index: pkgsrc/sysutils/xentools415/patches/patch-tools_hotplug_NetBSD_block
diff -u /dev/null pkgsrc/sysutils/xentools415/patches/patch-tools_hotplug_NetBSD_block:1.1
--- /dev/null Mon May 30 09:09:34 2022
+++ pkgsrc/sysutils/xentools415/patches/patch-tools_hotplug_NetBSD_block Mon May 30 09:09:34 2022
@@ -0,0 +1,27 @@
+$NetBSD: patch-tools_hotplug_NetBSD_block,v 1.1 2022/05/30 09:09:34 bouyer Exp $
+
+work around an issue in NetBSD 9.99.x kernel: pass the vnd name to vnconfig,
+not the path to the block device.
+
+--- tools/hotplug/NetBSD/block.orig 2022-01-31 10:42:09.000000000 +0100
++++ tools/hotplug/NetBSD/block 2022-05-30 10:50:42.821527086 +0200
+@@ -64,8 +64,9 @@
+ for disk in $available_disks; do
+ eval status=\$$disk
+ if [ "$status" = "free" ] && \
+- vnconfig /dev/${disk}d $xparams >/dev/null; then
++ vnconfig ${disk} $xparams >/dev/null; then
+ device=/dev/${disk}d
++ vnd_device=$disk
+ break
+ fi
+ done
+@@ -73,7 +74,7 @@
+ if [ x$device = x ] ; then
+ error "no available vnd device"
+ fi
+- xenstore-write $xpath/vnd $device
++ xenstore-write $xpath/vnd $vnd_device
+ ;;
+ phy)
+ device=$xparams
Home |
Main Index |
Thread Index |
Old Index