https://bugzilla.novell.com/show_bug.cgi?id=744820
https://bugzilla.novell.com/show_bug.cgi?id=744820#c1
--- Comment #1 from Mendel Mobach 2012-02-09 11:08:08 UTC ---
Also here is a nice patch for the makefile to make it build on systems where
open-iscsi is installed. HTH - HAND
--- Makefile.org 2012-02-09 11:50:58.000000000 +0100
+++ Makefile 2012-02-09 11:51:57.000000000 +0100
@@ -105,7 +105,7 @@
$(INSTALL) -m 644 $^ $(DESTDIR)$(etcdir)/iscsi/ifaces
install_etc: $(ETCFILES)
- if [ ! -f /etc/iscsi/iscsid.conf ]; then \
+ if [ ! -f $(DESTDIR)$(etcdir)/iscsi/iscsid.conf ]; then \
$(INSTALL) -d $(DESTDIR)$(etcdir)/iscsi ; \
$(INSTALL) -m 644 $^ $(DESTDIR)$(etcdir)/iscsi ; \
fi
@@ -118,11 +118,11 @@
$(MAKE) -C kernel install_kernel
install_iname:
- if [ ! -f /etc/iscsi/initiatorname.iscsi ]; then \
- echo "InitiatorName=`/sbin/iscsi-iname`" >
/etc/iscsi/initiatorname.iscsi ; \
+ if [ ! -f $(DESTDIR)$(etcdir)/iscsi/initiatorname.iscsi ]; then \
+ echo "InitiatorName=`/sbin/iscsi-iname`" >
$(DESTDIR)$(etcdir)/iscsi/initiatorname.iscsi ; \
echo "***************************************************" ; \
- echo "Setting InitiatorName to `cat
/etc/iscsi/initiatorname.iscsi`" ; \
- echo "To override edit /etc/iscsi/initiatorname.iscsi" ; \
+ echo "Setting InitiatorName to `cat
$(DESTDIR)$(etcdir)/iscsi/initiatorname.iscsi`" ; \
+ echo "To override edit
$(DESTDIR)$(etcdir)/iscsi/initiatorname.iscsi" ; \
echo "***************************************************" ; \
fi
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.