All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [OE-core][PATCH V2] mdadm: install mdcheck
       [not found] <16CDBF9B1327A14F.24088@lists.openembedded.org>
@ 2022-02-07  1:55 ` ChenQi
       [not found] ` <16D15E358230A99A.14843@lists.openembedded.org>
  1 sibling, 0 replies; 3+ messages in thread
From: ChenQi @ 2022-02-07  1:55 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3254 bytes --]

ping

On 1/26/22 2:54 PM, Chen Qi wrote:
> This script is used in mdcheck_xxx.service files. So we need to
> install it. Also, as it requires bash, we add bash to RDEPENDS.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   .../files/0001-Makefile-install-mdcheck.patch | 30 +++++++++++++++++++
>   meta/recipes-extended/mdadm/mdadm_4.2.bb      |  2 ++
>   2 files changed, 32 insertions(+)
>   create mode 100644 meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
>
> diff --git a/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
> new file mode 100644
> index 0000000000..3f76ef54d8
> --- /dev/null
> +++ b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
> @@ -0,0 +1,30 @@
> +From 97e776724ab9763c5bca9816370bb1635b7a8232 Mon Sep 17 00:00:00 2001
> +From: Chen Qi <Qi.Chen@windriver.com>
> +Date: Tue, 25 Jan 2022 16:25:01 +0800
> +Subject: [PATCH] Makefile: install mdcheck
> +
> +The mdcheck_xxx.service files use mdcheck, but it's not installed.
> +We need to install this script.
> +
> +Upstream-Status: Submitted [Sent patch to maintainer]
> +
> +Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> +---
> + Makefile | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/Makefile b/Makefile
> +index 2a51d813..db40c7fd 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -303,6 +303,7 @@ install-systemd: systemd/mdmon@.service
> + install-bin: mdadm mdmon
> + 	$(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
> + 	$(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
> ++	$(INSTALL) -D -m 755 misc/mdcheck $(DESTDIR)/usr/share/mdadm/mdcheck
> +
> + uninstall:
> + 	rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm
> +--
> +2.17.1
> +
> diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb
> index fa51364283..e15f8aadab 100644
> --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
> +++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
> @@ -22,6 +22,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
>              file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \
>              file://include_sysmacros.patch \
>              file://0001-mdadm-skip-test-11spare-migration.patch \
> +           file://0001-Makefile-install-mdcheck.patch \
>              "
>   
>   SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d"
> @@ -92,6 +93,7 @@ do_install_ptest() {
>   	done
>   }
>   
> +RDEPENDS:${PN} += "bash"
>   RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs"
>   RRECOMMENDS:${PN}-ptest += " \
>       coreutils \
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#160959): https://lists.openembedded.org/g/openembedded-core/message/160959
> Mute This Topic: https://lists.openembedded.org/mt/88691711/3618072
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Qi.Chen@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


[-- Attachment #2: Type: text/html, Size: 4859 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core][PATCH V2] mdadm: install mdcheck
       [not found] ` <16D15E358230A99A.14843@lists.openembedded.org>
@ 2022-02-07  7:44   ` ChenQi
  0 siblings, 0 replies; 3+ messages in thread
From: ChenQi @ 2022-02-07  7:44 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 4132 bytes --]

Just noticed this patch does not apply any more. I will send out V3 
which applies to latest master.

On 2/7/22 9:55 AM, Chen Qi wrote:
> ping
>
> On 1/26/22 2:54 PM, Chen Qi wrote:
>> This script is used in mdcheck_xxx.service files. So we need to
>> install it. Also, as it requires bash, we add bash to RDEPENDS.
>>
>> Signed-off-by: Chen Qi<Qi.Chen@windriver.com>
>> ---
>>   .../files/0001-Makefile-install-mdcheck.patch | 30 +++++++++++++++++++
>>   meta/recipes-extended/mdadm/mdadm_4.2.bb  <https://urldefense.com/v3/__http://mdadm_4.2.bb__;!!AjveYdw8EvQ!Pvo4xUUejFIfuM77yasI_df7QI2ObcUVQge8G8AjHSp2LSOarxCWuYJ44fArbqpHcg$>       |  2 ++
>>   2 files changed, 32 insertions(+)
>>   create mode 100644 meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
>>
>> diff --git a/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
>> new file mode 100644
>> index 0000000000..3f76ef54d8
>> --- /dev/null
>> +++ b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
>> @@ -0,0 +1,30 @@
>> +From 97e776724ab9763c5bca9816370bb1635b7a8232 Mon Sep 17 00:00:00 2001
>> +From: Chen Qi<Qi.Chen@windriver.com>
>> +Date: Tue, 25 Jan 2022 16:25:01 +0800
>> +Subject: [PATCH] Makefile: install mdcheck
>> +
>> +The mdcheck_xxx.service files use mdcheck, but it's not installed.
>> +We need to install this script.
>> +
>> +Upstream-Status: Submitted [Sent patch to maintainer]
>> +
>> +Signed-off-by: Chen Qi<Qi.Chen@windriver.com>
>> +---
>> + Makefile | 1 +
>> + 1 file changed, 1 insertion(+)
>> +
>> +diff --git a/Makefile b/Makefile
>> +index 2a51d813..db40c7fd 100644
>> +--- a/Makefile
>> ++++ b/Makefile
>> +@@ -303,6 +303,7 @@ install-systemd:systemd/mdmon@.service
>> + install-bin: mdadm mdmon
>> + 	$(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
>> + 	$(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
>> ++	$(INSTALL) -D -m 755 misc/mdcheck $(DESTDIR)/usr/share/mdadm/mdcheck
>> +
>> + uninstall:
>> + 	rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm
>> +--
>> +2.17.1
>> +
>> diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb  <https://urldefense.com/v3/__http://mdadm_4.2.bb__;!!AjveYdw8EvQ!Pvo4xUUejFIfuM77yasI_df7QI2ObcUVQge8G8AjHSp2LSOarxCWuYJ44fArbqpHcg$>  b/meta/recipes-extended/mdadm/mdadm_4.2.bb  <https://urldefense.com/v3/__http://mdadm_4.2.bb__;!!AjveYdw8EvQ!Pvo4xUUejFIfuM77yasI_df7QI2ObcUVQge8G8AjHSp2LSOarxCWuYJ44fArbqpHcg$>
>> index fa51364283..e15f8aadab 100644
>> --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb  <https://urldefense.com/v3/__http://mdadm_4.2.bb__;!!AjveYdw8EvQ!Pvo4xUUejFIfuM77yasI_df7QI2ObcUVQge8G8AjHSp2LSOarxCWuYJ44fArbqpHcg$>
>> +++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb  <https://urldefense.com/v3/__http://mdadm_4.2.bb__;!!AjveYdw8EvQ!Pvo4xUUejFIfuM77yasI_df7QI2ObcUVQge8G8AjHSp2LSOarxCWuYJ44fArbqpHcg$>
>> @@ -22,6 +22,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
>>              file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch  \
>>              file://include_sysmacros.patch  \
>>              file://0001-mdadm-skip-test-11spare-migration.patch  \
>> +file://0001-Makefile-install-mdcheck.patch  \
>>              "
>>   
>>   SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d"
>> @@ -92,6 +93,7 @@ do_install_ptest() {
>>   	done
>>   }
>>   
>> +RDEPENDS:${PN} += "bash"
>>   RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs"
>>   RRECOMMENDS:${PN}-ptest += " \
>>       coreutils \
>>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#161438): https://lists.openembedded.org/g/openembedded-core/message/161438
> Mute This Topic: https://lists.openembedded.org/mt/88691711/3618072
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Qi.Chen@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


[-- Attachment #2: Type: text/html, Size: 6390 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [OE-core][PATCH V2] mdadm: install mdcheck
@ 2022-01-26  6:54 Chen Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Chen Qi @ 2022-01-26  6:54 UTC (permalink / raw)
  To: openembedded-core

This script is used in mdcheck_xxx.service files. So we need to
install it. Also, as it requires bash, we add bash to RDEPENDS.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../files/0001-Makefile-install-mdcheck.patch | 30 +++++++++++++++++++
 meta/recipes-extended/mdadm/mdadm_4.2.bb      |  2 ++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch

diff --git a/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
new file mode 100644
index 0000000000..3f76ef54d8
--- /dev/null
+++ b/meta/recipes-extended/mdadm/files/0001-Makefile-install-mdcheck.patch
@@ -0,0 +1,30 @@
+From 97e776724ab9763c5bca9816370bb1635b7a8232 Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Tue, 25 Jan 2022 16:25:01 +0800
+Subject: [PATCH] Makefile: install mdcheck
+
+The mdcheck_xxx.service files use mdcheck, but it's not installed.
+We need to install this script.
+
+Upstream-Status: Submitted [Sent patch to maintainer]
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile b/Makefile
+index 2a51d813..db40c7fd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -303,6 +303,7 @@ install-systemd: systemd/mdmon@.service
+ install-bin: mdadm mdmon
+ 	$(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
+ 	$(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
++	$(INSTALL) -D -m 755 misc/mdcheck $(DESTDIR)/usr/share/mdadm/mdcheck
+ 
+ uninstall:
+ 	rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm
+-- 
+2.17.1
+
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb
index fa51364283..e15f8aadab 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
@@ -22,6 +22,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
            file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \
            file://include_sysmacros.patch \
            file://0001-mdadm-skip-test-11spare-migration.patch \
+           file://0001-Makefile-install-mdcheck.patch \
            "
 
 SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d"
@@ -92,6 +93,7 @@ do_install_ptest() {
 	done
 }
 
+RDEPENDS:${PN} += "bash"
 RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs"
 RRECOMMENDS:${PN}-ptest += " \
     coreutils \
-- 
2.33.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-07  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16CDBF9B1327A14F.24088@lists.openembedded.org>
2022-02-07  1:55 ` [OE-core][PATCH V2] mdadm: install mdcheck ChenQi
     [not found] ` <16D15E358230A99A.14843@lists.openembedded.org>
2022-02-07  7:44   ` ChenQi
2022-01-26  6:54 Chen Qi

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.