Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/iscsi Fix build without MKISCSI



details:   https://anonhg.NetBSD.org/src/rev/e266d784d55f
branches:  trunk
changeset: 373363:e266d784d55f
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Feb 05 13:39:42 2023 +0000

description:
Fix build without MKISCSI

diffstat:

 etc/iscsi/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e2cfbce95842 -r e266d784d55f etc/iscsi/Makefile
--- a/etc/iscsi/Makefile        Sun Feb 05 13:06:36 2023 +0000
+++ b/etc/iscsi/Makefile        Sun Feb 05 13:39:42 2023 +0000
@@ -1,15 +1,21 @@
-#      $NetBSD: Makefile,v 1.5 2023/02/03 15:59:04 mlelstv Exp $
+#      $NetBSD: Makefile,v 1.6 2023/02/05 13:39:42 mlelstv Exp $
 
 .include <bsd.own.mk>
 
+# kernel iSCSI initiator
+CONFIGFILES=           volumes
+FILESDIR=              /etc/iscsi
+FILESMODE_volumes=     0644
+
+# userland iSCSI initiator and target
 .if ${MKISCSI} != "no"
 
-CONFIGFILES=           auths targets volumes
-FILESDIR=              /etc/iscsi
+CONFIGFILES=           auths targets
 FILESMODE_auths=       0600
 FILESMODE_targets=     0644
 
 .endif
 
+
 .include <bsd.files.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index