diff options
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/open-iscsi/ChangeLog | 6 | ||||
-rw-r--r-- | sys-block/open-iscsi/files/iscsidev.sh | 5 | ||||
-rw-r--r-- | sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild | 3 |
3 files changed, 10 insertions, 4 deletions
diff --git a/sys-block/open-iscsi/ChangeLog b/sys-block/open-iscsi/ChangeLog index d22dfae878fd..32ea1053ef96 100644 --- a/sys-block/open-iscsi/ChangeLog +++ b/sys-block/open-iscsi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/open-iscsi # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.62 2015/08/05 02:14:33 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.63 2015/08/06 03:09:28 prometheanfire Exp $ + + 06 Aug 2015; Matthew Thode <prometheanfire@gentoo.org> files/iscsidev.sh, + open-iscsi-2.0.872-r3.ebuild: + fix the glaring bug *open-iscsi-2.0.872-r3 (05 Aug 2015) diff --git a/sys-block/open-iscsi/files/iscsidev.sh b/sys-block/open-iscsi/files/iscsidev.sh index bcceb115ba69..d045fae570fc 100644 --- a/sys-block/open-iscsi/files/iscsidev.sh +++ b/sys-block/open-iscsi/files/iscsidev.sh @@ -39,7 +39,8 @@ status=$? # do the removal if [[ $ACTION = 'remove' ]]; then - find -L /dev/disk/by-path/ -type l -lname ${DEVNAME} -exec rm "{}" + 2>/dev/null + # nohup needed so this isn't constantly run... + nohup find -L /dev/disk/by-path/ -type l -lname ${DEVNAME} -exec rm "{}" + 2>/dev/null & exit 0 fi @@ -74,4 +75,4 @@ done # actually create the link mkdir -p /dev/disk/by-path/ -ln -s "${DEVNAME}" "/dev/disk/by-path/ip-${TARGET_IP}:${TARGET_PORT}-iscsi-${TARGET_NAME}-lun-1"
\ No newline at end of file +ln -s "${DEVNAME}" "/dev/disk/by-path/ip-${TARGET_IP}:${TARGET_PORT}-iscsi-${TARGET_NAME}-lun-1" diff --git a/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild index c3464881c290..e426e34323c1 100644 --- a/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild +++ b/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild,v 1.1 2015/08/05 02:14:33 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild,v 1.2 2015/08/06 03:09:28 prometheanfire Exp $ EAPI=2 inherit versionator linux-info eutils flag-o-matic toolchain-funcs @@ -16,6 +16,7 @@ IUSE="debug slp" DEPEND="slp? ( net-libs/openslp )" RDEPEND="${DEPEND} virtual/udev + sys-fs/lsscsi sys-apps/util-linux" S="${WORKDIR}/${MY_PV}" |