Your message dated Fri, 22 Jul 2016 23:34:44 +0000
with message-id <[email protected]>
and subject line Bug#830089: fixed in powerpc-utils 1.3.2-1
has caused the Debian Bug report #830089,
regarding powerpc-utils: Fix for bashism in update_flash_nv
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
830089: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830089
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: powerpc-utils
Version: 1.3.1-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Hi Adam,
A bug report has been submitted against powerpc-utils in Ubuntu, that
update_flash_nv contains a bashism, causing wrong behavior when /bin/sh is
dash.
Attached is a straightforward patch for this issue.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru powerpc-utils-1.3.1/debian/patches/bashisms.patch powerpc-utils-1.3.1/debian/patches/bashisms.patch
--- powerpc-utils-1.3.1/debian/patches/bashisms.patch 1969-12-31 16:00:00.000000000 -0800
+++ powerpc-utils-1.3.1/debian/patches/bashisms.patch 2016-07-05 15:51:53.000000000 -0700
@@ -0,0 +1,18 @@
+Author: Steve Langasek <[email protected]>
+Description: Fix bashism in update_flash_nv
+ update_flash_nv uses a == operator, which is a bashism. Replace with =.
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1599191
+
+Index: powerpc-utils-1.3.1/scripts/update_flash_nv
+===================================================================
+--- powerpc-utils-1.3.1.orig/scripts/update_flash_nv
++++ powerpc-utils-1.3.1/scripts/update_flash_nv
+@@ -592,7 +592,7 @@
+
+ echo
+ id=`ipmitool -I usb fru 2>/dev/null |grep "System Firmware" | cut -d " " -f8 | cut -d ")" -f1`
+- if [ "x$id" == "x" ]; then
++ if [ "x$id" = "x" ]; then
+ error $E_IPMI "Failed to get firmware version."
+ fi
+
diff -Nru powerpc-utils-1.3.1/debian/patches/series powerpc-utils-1.3.1/debian/patches/series
--- powerpc-utils-1.3.1/debian/patches/series 2016-04-10 23:22:12.000000000 -0700
+++ powerpc-utils-1.3.1/debian/patches/series 2016-07-05 15:50:34.000000000 -0700
@@ -1,2 +1,3 @@
01_ipmitool_check.patch
02_systool_check.patch
+bashisms.patch
--- End Message ---
--- Begin Message ---
Source: powerpc-utils
Source-Version: 1.3.2-1
We believe that the bug you reported is fixed in the latest version of
powerpc-utils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Conrad <[email protected]> (supplier of updated powerpc-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 22 Jul 2016 17:18:12 -0600
Source: powerpc-utils
Binary: powerpc-utils powerpc-ibm-utils
Architecture: source
Version: 1.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Adam Conrad <[email protected]>
Changed-By: Adam Conrad <[email protected]>
Description:
powerpc-ibm-utils - utilities for maintenance of IBM PowerPC platforms
powerpc-utils - utilities for maintenance of PowerPC platforms (metapackage)
Closes: 830089
Changes:
powerpc-utils (1.3.2-1) unstable; urgency=medium
.
* New upstream release, including bashism fix (closes: #830089)
Checksums-Sha1:
948af23797c46d39504ae68150844d2edee70b1d 1970 powerpc-utils_1.3.2-1.dsc
9b43e93ffa069973bc53f78155d0782e64dcf41f 318855 powerpc-utils_1.3.2.orig.tar.gz
1bd6877c0f1343a89367d9f447643068bb5b44ee 4684
powerpc-utils_1.3.2-1.debian.tar.xz
Checksums-Sha256:
9c3eae896716b2b604466909f14c4a2c961048b4b3d73068f24e83ca79b47a09 1970
powerpc-utils_1.3.2-1.dsc
688ef68cfd8cde4a7d2fd0c60cd6a29fc287db5d3b422f01e06b9bd4e590eed9 318855
powerpc-utils_1.3.2.orig.tar.gz
5fdbc6dda529e3335f25ab88b130b1c5907d63abb186b655138d5e679c116f44 4684
powerpc-utils_1.3.2-1.debian.tar.xz
Files:
6119f5008a54b530aa05b295a81c4387 1970 utils important powerpc-utils_1.3.2-1.dsc
b579a910c88adf03e7130374727748be 318855 utils important
powerpc-utils_1.3.2.orig.tar.gz
e5ac9e69be056c5573c4d071d3bfe6f8 4684 utils important
powerpc-utils_1.3.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXkqurAAoJEINAGjCxzeWPthsP/AqmSTdLrKb5tEgU0pu6o5Y8
x3v0zMnr7bV+Yw8gFJG4NW9//mpxkKYR77FDOjPD944tZoUY1vEXcwSkxS19xy/a
kP3psW+b6lNB3xLVFsIwH4PL2IjevWrtnBBqTfdg/o4EG90zQXQ+WczpOr3UO/SY
Cb/J3ra16EW6EG8gEJgHzTgx3GfrRO+c8Z53ZNFDrdYxbyGgzmDiL9NSBUv+cO3m
jp4QT454hRLIBrsZz91uqAmsxsJLO7b5szACFjeXgRhCVtCWper0Ps2Z5elPBIqh
imuhhjHWgDA0KHX50Iurr1VUxbDvSU6s0LwKavWZPLBZxxGoASVm9JNiheG5ja0X
7HxTlB5U5rRndNzcwnF6VbDPKCwaBr/IkIoX8RcerWg+To32aV+6kfWfOe+7R5PZ
nuRqM0RtmTTOxg97eIntUB9lk87Hkj0Co5VQ/iC0RnzSAsVPNudXp2RO8Cm1q8Gs
lEe1sxz5mlCYbkGNr5lUL+9TAqEiTim8AkrLBiIh3pOmj6jeIhIY/AxDpJCTz4Hw
SmKfyoWmDqXNzYbAGMl96reVd8DlSw3+fqykOiP18CRguGJ8OWWoVv8Q7tiK9m2n
nlgj6t/95KgZwcG4rujFCO93yGpY2fg3dBFeW6KmOPO94AKjVnXf0w/2M5SN33n7
Uvlzkgpg8OKpas6KEYeq
=BAqm
-----END PGP SIGNATURE-----
--- End Message ---