head 1.2; access; symbols pkgsrc-2025Q3:1.1.0.28 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.26 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.24 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.22 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.20 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.18 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.16 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.14 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.12 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.10 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.8 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.6 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.4 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.2 pkgsrc-2022Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2025.10.21.13.42.58; author bouyer; state dead; branches; next 1.1; commitid 7iYGhItznjMPorfG; 1.1 date 2022.05.30.09.09.34; author bouyer; state Exp; branches; next ; commitid YRcnb40kP6r3K3GD; desc @@ 1.2 log @remove xenkernel415 and xentools415. Xen 4.15 is EOL upstream @ text @$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 @ 1.1 log @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 @ text @d1 1 a1 1 $NetBSD: $ @