aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2021-06-18 14:35:35 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2021-06-18 14:45:20 +0000
commit2cbed5bc4646cede14e620ff7a188284a194b915 (patch)
tree0c7ba91dc806e844af9b8300658e1874cdcdf4f2
parent4fdd2e6754ee2a3d90b7e47696c0a92d0e669f52 (diff)
downloadaports-2cbed5bc4646cede14e620ff7a188284a194b915.tar.gz
aports-2cbed5bc4646cede14e620ff7a188284a194b915.tar.bz2
aports-2cbed5bc4646cede14e620ff7a188284a194b915.tar.xz
main/open-iscsi: fix path of iscsi-name in init script
ref #12768
-rw-r--r--main/open-iscsi/APKBUILD4
-rw-r--r--main/open-iscsi/iscsid.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/open-iscsi/APKBUILD b/main/open-iscsi/APKBUILD
index 29bcd4f453..be0efbf829 100644
--- a/main/open-iscsi/APKBUILD
+++ b/main/open-iscsi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-iscsi
pkgver=2.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
url="https://www.open-iscsi.com"
arch="all"
@@ -38,7 +38,7 @@ package() {
}
sha512sums="a0b1fc4aa2acadbf3a69fa636a47fec527fff75748fccfa83c9540f3ac05c71835a406503b15480ed25fe4fb780e58e0dd21760cccc7f7ef07128d1aef8ee2e3 open-iscsi-2.1.2.tar.gz
-febf67065c133fd2f79d5aff509891d557af25739b700e961d2289a941b447099021b01fa29817bcd057147adad3a3f8948049d4f8ff3590cb7255a0fa0d715c iscsid.initd
+4f0f157e1bb366138c429cfa5a0ea86e40995c9d493c8fb72b8beffd3166dc4c867a131aff858952f4a2fe376d6a4581aa5e1b2ebfe370218f2fc5aa3c2c6259 iscsid.initd
075bb9cb783be7ccbc799947e0e042b85310d40b3045141dc1be40ca84ed1cc0e1e54559df501c512c179e28375314b27a03c15d9a6d4b1cabd428b2279985d3 iscsid.confd
3686d31c5642e611c0c0c61f0f42a33030a74b518a2a108f004b9bd34b2b98d8e29ee2416a5b9cc447ab0449bdc94158b2323d977e7b7d2930dd4dcf0866da68 iscsid.conf
1b89ffd6de0dc7bb63fc2702a97e49df4369158c66ee609acfc041b1677c07fbd964b7a709f1f324fa51a9842d4d3e11611d9783e18d526372d468163c0ac8db musl-fixes.patch
diff --git a/main/open-iscsi/iscsid.initd b/main/open-iscsi/iscsid.initd
index c0bea59b7f..f48eacc0e5 100644
--- a/main/open-iscsi/iscsid.initd
+++ b/main/open-iscsi/iscsid.initd
@@ -32,7 +32,7 @@ checkconfig() {
fi
if [ ! -e ${INITIATORNAME_FILE} -o -z "${InitiatorName}" ]; then
ewarn "${INITIATORNAME_FILE} should contain a string with your initiatior name."
- local IQN=$(/usr/sbin/iscsi-iname)
+ local IQN=$(/sbin/iscsi-iname)
ebegin "Creating InitiatorName ${IQN} in ${INITIATORNAME_FILE}"
echo "InitiatorName=${IQN}" >> "${INITIATORNAME_FILE}"
eend $?