diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/iscsi-target/files/ietd.conf | 34 | ||||
-rw-r--r-- | packages/iscsi-target/iscsi-target_0.4.17.bb (renamed from packages/iscsi-target/iscsi-target_0.4.16.bb) | 15 |
2 files changed, 25 insertions, 24 deletions
diff --git a/packages/iscsi-target/files/ietd.conf b/packages/iscsi-target/files/ietd.conf index 0a100ac664..4ddfe9dc9e 100644 --- a/packages/iscsi-target/files/ietd.conf +++ b/packages/iscsi-target/files/ietd.conf @@ -1,17 +1,17 @@ -Target iqn.2007-01.org.foonas:iSCSI.sda.target1 - Lun 0 Path=/dev/sda,Type=blockio - MaxConnections 1 - HeaderDigest None - DataDigest None - InitialR2T Yes - ImmediateData No - MaxRecvDataSegmentLength 8192 - MaxXmitDataSegmentLength 8192 - MaxBurstLength 262144 - FirstBurstLength 65536 - DefaultTime2Wait 2 - DefaultTime2Retain 20 - MaxOutstandingR2T 8 - DataPDUInOrder Yes - DataSequenceInOrder Yes - ErrorRecoveryLevel 0 +#Target iqn.2007-01.org.foonas:iSCSI.sda.target1 +# Lun 0 Path=/dev/sdb1,Type=blockio +# MaxConnections 1 +# HeaderDigest None +# DataDigest None +# InitialR2T Yes +# ImmediateData No +# MaxRecvDataSegmentLength 8192 +# MaxXmitDataSegmentLength 8192 +# MaxBurstLength 262144 +# FirstBurstLength 65536 +# DefaultTime2Wait 2 +# DefaultTime2Retain 20 +# MaxOutstandingR2T 8 +# DataPDUInOrder Yes +# DataSequenceInOrder Yes +# ErrorRecoveryLevel 0 diff --git a/packages/iscsi-target/iscsi-target_0.4.16.bb b/packages/iscsi-target/iscsi-target_0.4.17.bb index 0e50bfe22b..8acb945a71 100644 --- a/packages/iscsi-target/iscsi-target_0.4.16.bb +++ b/packages/iscsi-target/iscsi-target_0.4.17.bb @@ -1,17 +1,17 @@ - DESCRIPTION = "iSCSI Enterprise Target is for building an iSCSI storage system on Linux" HOMEPAGE = "http://iscsitarget.sourceforge.net/" LICENSE = "GPL" -PR = "r1" +PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/iscsitarget/iscsitarget-${PV}.tar.gz \ - file://libs.patch;patch=1 \ - file://init \ - " - -DEPENDS = " openssl" + file://libs.patch;patch=1 \ + file://ietd.conf \ + file://init" S = "${WORKDIR}/iscsitarget-${PV}" +DEPENDS = "openssl" +RDEPENDS = "kernel-module-crc32c kernel-module-libcrc32c" + inherit module do_configure() { @@ -38,6 +38,7 @@ do_install() { # Config files, init scripts mkdir -p ${D}${sysconfdir}/init.d install -m 0755 ../init ${D}${sysconfdir}/init.d/iscsi-target + install -m 0644 ${WORKDIR}/ietd.conf ${D}${sysconfdir}/ install -m 0644 etc/initiators.allow ${D}${sysconfdir}/ install -m 0644 etc/initiators.deny ${D}${sysconfdir}/ } |