* [PATCH] sdparm: 1.09 -> 1.10
@ 2016-10-25 4:47 Dengke Du
2016-10-25 8:28 ` Robert Yang
0 siblings, 1 reply; 3+ messages in thread
From: Dengke Du @ 2016-10-25 4:47 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
.../sdparm/files/make-sysroot-work.patch | 14 ++++++++-----
meta-oe/recipes-support/sdparm/sdparm_1.09.bb | 23 ----------------------
meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 23 ++++++++++++++++++++++
3 files changed, 32 insertions(+), 28 deletions(-)
delete mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.09.bb
create mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.10.bb
diff --git a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
index 5405ed8..3fd85d9 100644
--- a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
+++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
@@ -1,27 +1,31 @@
-[PATCH] make sysroot work
+From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001
+From: Dengke Du <dengke.du@windriver.com>
+Date: Mon, 24 Oct 2016 07:28:13 +0000
+Subject: [PATCH] sdparm: make sysroot work
Upstream-Status: Pending
Add = before the included dir to make sysroot work
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
+Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
-index c83788c..9f62115 100644
+index 61dd9f8..42c911f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
-@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
+@@ -41,7 +41,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
../lib/sg_pt_common.c
if HAVE_SGUTILS
--INCLUDES = -I/usr/include/scsi
+-INCLUDES = -I/scsi
+INCLUDES = -I=@includedir@/scsi
sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
sdparm_DEPENDENCIES = @GETOPT_O_FILES@
else
--
-1.9.1
+2.7.4
diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb b/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
deleted file mode 100644
index ca11ca4..0000000
--- a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "fetch and change SCSI mode pages"
-DESCRIPTION = "The sdparm utility accesses and optionally modifies \
-SCSI devices' mode page and inquiry data."
-HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
-SECTION = "console/utils"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
- file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
-DEPENDS="sg3-utils"
-SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
- file://make-sysroot-work.patch \
- "
-
-PACKAGES =+ "${PN}-scripts"
-RDEPENDS_${PN}-scripts += "bash ${PN}"
-
-SRC_URI[md5sum] = "e51b1fd41c3e4c9d1274a2e4f046eebf"
-SRC_URI[sha256sum] = "7294f44173ac0946f1de8af02b1bdb0bd648079245396589397a2b0d3abc42d3"
-
-inherit autotools
-
-# Put the bash scripts to ${PN}-scripts
-FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
new file mode 100644
index 0000000..8ab2819
--- /dev/null
+++ b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
@@ -0,0 +1,23 @@
+SUMMARY = "fetch and change SCSI mode pages"
+DESCRIPTION = "The sdparm utility accesses and optionally modifies \
+SCSI devices' mode page and inquiry data."
+HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
+SECTION = "console/utils"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
+ file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
+DEPENDS="sg3-utils"
+SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
+ file://make-sysroot-work.patch \
+ "
+
+PACKAGES =+ "${PN}-scripts"
+RDEPENDS_${PN}-scripts += "bash ${PN}"
+
+SRC_URI[md5sum] = "bdae64375376ce8fe4bf9521c1db858f"
+SRC_URI[sha256sum] = "1ea1ed1bb1ee2aef62392618fa42da9ed027d5e655f174525c39235778292ab3"
+
+inherit autotools
+
+# Put the bash scripts to ${PN}-scripts
+FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sdparm: 1.09 -> 1.10
2016-10-25 4:47 [PATCH] sdparm: 1.09 -> 1.10 Dengke Du
@ 2016-10-25 8:28 ` Robert Yang
2016-10-25 8:47 ` Dengke Du
0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2016-10-25 8:28 UTC (permalink / raw)
To: openembedded-devel
Missing [meta-oe] in subject line, see:
propriate prefix so that it is clear which layer the patch is intended to be
applied to:
// Robert
On 10/25/2016 12:47 PM, Dengke Du wrote:
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> .../sdparm/files/make-sysroot-work.patch | 14 ++++++++-----
> meta-oe/recipes-support/sdparm/sdparm_1.09.bb | 23 ----------------------
> meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 23 ++++++++++++++++++++++
> 3 files changed, 32 insertions(+), 28 deletions(-)
> delete mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.09.bb
> create mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.10.bb
>
> diff --git a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
> index 5405ed8..3fd85d9 100644
> --- a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
> +++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
> @@ -1,27 +1,31 @@
> -[PATCH] make sysroot work
> +From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001
> +From: Dengke Du <dengke.du@windriver.com>
> +Date: Mon, 24 Oct 2016 07:28:13 +0000
> +Subject: [PATCH] sdparm: make sysroot work
>
> Upstream-Status: Pending
>
> Add = before the included dir to make sysroot work
>
> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> +Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> src/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> -index c83788c..9f62115 100644
> +index 61dd9f8..42c911f 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> -@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
> +@@ -41,7 +41,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
> ../lib/sg_pt_common.c
>
> if HAVE_SGUTILS
> --INCLUDES = -I/usr/include/scsi
> +-INCLUDES = -I/scsi
> +INCLUDES = -I=@includedir@/scsi
> sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
> sdparm_DEPENDENCIES = @GETOPT_O_FILES@
> else
> --
> -1.9.1
> +2.7.4
>
> diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb b/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
> deleted file mode 100644
> index ca11ca4..0000000
> --- a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -SUMMARY = "fetch and change SCSI mode pages"
> -DESCRIPTION = "The sdparm utility accesses and optionally modifies \
> -SCSI devices' mode page and inquiry data."
> -HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
> -SECTION = "console/utils"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
> - file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
> -DEPENDS="sg3-utils"
> -SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
> - file://make-sysroot-work.patch \
> - "
> -
> -PACKAGES =+ "${PN}-scripts"
> -RDEPENDS_${PN}-scripts += "bash ${PN}"
> -
> -SRC_URI[md5sum] = "e51b1fd41c3e4c9d1274a2e4f046eebf"
> -SRC_URI[sha256sum] = "7294f44173ac0946f1de8af02b1bdb0bd648079245396589397a2b0d3abc42d3"
> -
> -inherit autotools
> -
> -# Put the bash scripts to ${PN}-scripts
> -FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
> diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
> new file mode 100644
> index 0000000..8ab2819
> --- /dev/null
> +++ b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "fetch and change SCSI mode pages"
> +DESCRIPTION = "The sdparm utility accesses and optionally modifies \
> +SCSI devices' mode page and inquiry data."
> +HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
> +SECTION = "console/utils"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
> + file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
> +DEPENDS="sg3-utils"
> +SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
> + file://make-sysroot-work.patch \
> + "
> +
> +PACKAGES =+ "${PN}-scripts"
> +RDEPENDS_${PN}-scripts += "bash ${PN}"
> +
> +SRC_URI[md5sum] = "bdae64375376ce8fe4bf9521c1db858f"
> +SRC_URI[sha256sum] = "1ea1ed1bb1ee2aef62392618fa42da9ed027d5e655f174525c39235778292ab3"
> +
> +inherit autotools
> +
> +# Put the bash scripts to ${PN}-scripts
> +FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sdparm: 1.09 -> 1.10
2016-10-25 8:28 ` Robert Yang
@ 2016-10-25 8:47 ` Dengke Du
0 siblings, 0 replies; 3+ messages in thread
From: Dengke Du @ 2016-10-25 8:47 UTC (permalink / raw)
To: openembedded-devel
OK, thanks for reminding, I will send V2.
// Dengke
On 2016年10月25日 16:28, Robert Yang wrote:
>
> Missing [meta-oe] in subject line, see:
>
> propriate prefix so that it is clear which layer the patch is intended
> to be applied to:
>
> // Robert
>
> On 10/25/2016 12:47 PM, Dengke Du wrote:
>> Signed-off-by: Dengke Du <dengke.du@windriver.com>
>> ---
>> .../sdparm/files/make-sysroot-work.patch | 14 ++++++++-----
>> meta-oe/recipes-support/sdparm/sdparm_1.09.bb | 23
>> ----------------------
>> meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 23
>> ++++++++++++++++++++++
>> 3 files changed, 32 insertions(+), 28 deletions(-)
>> delete mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.09.bb
>> create mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.10.bb
>>
>> diff --git
>> a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
>> b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
>> index 5405ed8..3fd85d9 100644
>> --- a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
>> +++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch
>> @@ -1,27 +1,31 @@
>> -[PATCH] make sysroot work
>> +From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001
>> +From: Dengke Du <dengke.du@windriver.com>
>> +Date: Mon, 24 Oct 2016 07:28:13 +0000
>> +Subject: [PATCH] sdparm: make sysroot work
>>
>> Upstream-Status: Pending
>>
>> Add = before the included dir to make sysroot work
>>
>> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
>> +Signed-off-by: Dengke Du <dengke.du@windriver.com>
>> ---
>> src/Makefile.am | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/Makefile.am b/src/Makefile.am
>> -index c83788c..9f62115 100644
>> +index 61dd9f8..42c911f 100644
>> --- a/src/Makefile.am
>> +++ b/src/Makefile.am
>> -@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
>> +@@ -41,7 +41,7 @@ sglib_SOURCES = ../lib/sg_lib.c \
>> ../lib/sg_pt_common.c
>>
>> if HAVE_SGUTILS
>> --INCLUDES = -I/usr/include/scsi
>> +-INCLUDES = -I/scsi
>> +INCLUDES = -I=@includedir@/scsi
>> sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
>> sdparm_DEPENDENCIES = @GETOPT_O_FILES@
>> else
>> --
>> -1.9.1
>> +2.7.4
>>
>> diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
>> b/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
>> deleted file mode 100644
>> index ca11ca4..0000000
>> --- a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb
>> +++ /dev/null
>> @@ -1,23 +0,0 @@
>> -SUMMARY = "fetch and change SCSI mode pages"
>> -DESCRIPTION = "The sdparm utility accesses and optionally modifies \
>> -SCSI devices' mode page and inquiry data."
>> -HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
>> -SECTION = "console/utils"
>> -LICENSE = "BSD"
>> -LIC_FILES_CHKSUM =
>> "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
>> - file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
>> -DEPENDS="sg3-utils"
>> -SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
>> - file://make-sysroot-work.patch \
>> - "
>> -
>> -PACKAGES =+ "${PN}-scripts"
>> -RDEPENDS_${PN}-scripts += "bash ${PN}"
>> -
>> -SRC_URI[md5sum] = "e51b1fd41c3e4c9d1274a2e4f046eebf"
>> -SRC_URI[sha256sum] =
>> "7294f44173ac0946f1de8af02b1bdb0bd648079245396589397a2b0d3abc42d3"
>> -
>> -inherit autotools
>> -
>> -# Put the bash scripts to ${PN}-scripts
>> -FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
>> diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
>> b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
>> new file mode 100644
>> index 0000000..8ab2819
>> --- /dev/null
>> +++ b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb
>> @@ -0,0 +1,23 @@
>> +SUMMARY = "fetch and change SCSI mode pages"
>> +DESCRIPTION = "The sdparm utility accesses and optionally modifies \
>> +SCSI devices' mode page and inquiry data."
>> +HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
>> +SECTION = "console/utils"
>> +LICENSE = "BSD"
>> +LIC_FILES_CHKSUM =
>> "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
>> + file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
>> +DEPENDS="sg3-utils"
>> +SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
>> + file://make-sysroot-work.patch \
>> + "
>> +
>> +PACKAGES =+ "${PN}-scripts"
>> +RDEPENDS_${PN}-scripts += "bash ${PN}"
>> +
>> +SRC_URI[md5sum] = "bdae64375376ce8fe4bf9521c1db858f"
>> +SRC_URI[sha256sum] =
>> "1ea1ed1bb1ee2aef62392618fa42da9ed027d5e655f174525c39235778292ab3"
>> +
>> +inherit autotools
>> +
>> +# Put the bash scripts to ${PN}-scripts
>> +FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-25 8:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 4:47 [PATCH] sdparm: 1.09 -> 1.10 Dengke Du
2016-10-25 8:28 ` Robert Yang
2016-10-25 8:47 ` Dengke Du
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.