Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2022-11-25 14:08:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Fri Nov 25 14:08:00 2022 rev:132 rq:1037945 version:1.3.10 Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2022-11-15 13:21:12.180731853 +0100 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new.1597/powerpc-utils.changes 2022-11-25 14:08:01.453159660 +0100 @@ -1,0 +2,6 @@ +Thu Nov 24 16:09:30 UTC 2022 - Michal Suchanek <[email protected]> + +- nsid of nvmf device needs to be lowercase (bsc#1205697 ltc#200594) + + ofpathname-Handle-nsid-as-hex-in-nvmf-boot-install-s.patch + +------------------------------------------------------------------- New: ---- ofpathname-Handle-nsid-as-hex-in-nvmf-boot-install-s.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.ZKZ3hq/_old 2022-11-25 14:08:02.133162886 +0100 +++ /var/tmp/diff_new_pack.ZKZ3hq/_new 2022-11-25 14:08:02.141162924 +0100 @@ -33,6 +33,7 @@ Patch6: lsslot-Fix-lsslot-c-mem-output-when-using-4GB-LMB-si.patch Patch7: bootlist-Add-install-boot-support-for-nvmf-devices.patch Patch8: ofpathname-Fix-several-issues-in-nvmf-boot-install-s.patch +Patch9: ofpathname-Handle-nsid-as-hex-in-nvmf-boot-install-s.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libnuma-devel ++++++ ofpathname-Handle-nsid-as-hex-in-nvmf-boot-install-s.patch ++++++ >From feea6c60f9dae48d5d270683cc08393b8e21d53e Mon Sep 17 00:00:00 2001 From: Wen Xiong <[email protected]> Date: Mon, 21 Nov 2022 13:34:15 -0500 Subject: [PATCH] ofpathname: Handle nsid as hex in nvmf boot/install support Didn't handle nsid correctly in nvmf boot/install support. Need to handle it as hexadecimal number For example, /pci@800000020000132/fibre-channel@0,1/nvme-of/controller@50050768101935e5,ffff :nqn=nqn.1986-03.com.ibm:nvme:2145.0000020420006CEA/namespace@26c 26c should be a hexadecimal number. Signed-off-by: Wen Xiong <[email protected]> --- scripts/ofpathname | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ofpathname b/scripts/ofpathname index 33d7702..752f8e9 100755 --- a/scripts/ofpathname +++ b/scripts/ofpathname @@ -809,7 +809,7 @@ l2of_nvmf() else goto_dir $res devnsid=`$CAT $PWD/nsid | tr -d '\000'` - devnsid=`echo "obase=16; $devnsid" |bc` + devnsid=$(printf "%x" $devnsid) OF_PATH="$OF_PATH/namespace@$devnsid" fi fi @@ -1881,7 +1881,7 @@ of2l_nvmf() cd $dir local devnsid=`$CAT ./nsid 2>/dev/null` - devnsid=`echo "obase=16; $devnsid" |bc` + devnsid=$(printf "%x" $devnsid) if [[ $devnsid = $nsid ]]; then found=1 LOGICAL_DEVNAME="${dir##*/}" -- 2.38.0
