On 11/7/2024 7:08 PM, Rasmus Villemoes wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On Wed, Nov 06 2024, "Zhang, Peng (Paul) (CN) via lists.openembedded.org" 
<[email protected]> wrote:

From: Zhang Peng <[email protected]>

This recipe adds the parallel package, a shell tool for executing jobs
in parallel using one or more computers.

...
+
+inherit autotools bash-completion
+
+DEPENDS += "perl"
+
+RDEPENDS:${PN} += "perl \
+        perl-module-ipc-open3 \
+        perl-module-getopt-long \
+        perl-module-file-temp \
+        perl-module-filehandle \
+        perl-module-file-glob \
+"
+do_install:append() {
+    rm -rf ${D}${datadir}/zsh
+}
Why remove this rather than just putting it in a package by itself, as
other recipes seem to deal with this.

PACKAGES =+ "${PN}-zsh-completion"
FILES:${PN}-zsh-completion = "${datadir}/zsh"

even saves a whole line :)
Currently, Yocto does not provide a recipe for zsh completion, but bash-completion does. Even if I were to add the zsh completion package, the only advantage would be enabling users to quickly install it on the target machine, and unfortunately, I am unable to verify this functionality.
That said, I have decided to remove the section on zsh completion.

However, I appreciate your suggestion, and after considering it, I think it's a solid approach. I’ve decided to incorporate it into the plan in v4 version.

//peng

Otherwise, LGTM.

Rasmus
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113772): 
https://lists.openembedded.org/g/openembedded-devel/message/113772
Mute This Topic: https://lists.openembedded.org/mt/109422837/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to