Thanks, will check the musl build and send a v2. I can also move those files to /etc since it is indeed a more common path.
În sâm., 28 nov. 2020 la 00:32, Khem Raj <[email protected]> a scris: > btw. it failed musl build as well > > https://errors.yoctoproject.org/Errors/Details/538865/ > > It perhaps needs to include sys/types.h somewhere. > > On Fri, Nov 27, 2020 at 2:24 PM Khem Raj <[email protected]> wrote: > > > > On Fri, Nov 27, 2020 at 1:01 PM Beniamin Sandu <[email protected]> > wrote: > > > > > > > > > > > > În vin., 27 nov. 2020 la 21:51, Khem Raj <[email protected]> a scris: > > >> > > >> On Fri, Nov 27, 2020 at 7:37 AM beni <[email protected]> wrote: > > >> > > > >> > Signed-off-by: Beniamin Sandu <[email protected]> > > >> > --- > > >> > .../recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb | 16 > ++++++++++++++++ > > >> > > >> > > >> Please add it to packagegroup-meta-oe as well. > > > > > > > > > Okay. > > >> > > >> > > >> > 1 file changed, 16 insertions(+) > > >> > create mode 100644 meta-oe/recipes-kernel/trace-cmd/ > trace-cmd_2.9.1.bb > > >> > > > >> > diff --git a/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb > b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb > > >> > new file mode 100644 > > >> > index 000000000..d9599c046 > > >> > --- /dev/null > > >> > +++ b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb > > >> > @@ -0,0 +1,16 @@ > > >> > +SUMMARY = "User-space front-end command-line tool for ftrace" > > >> > + > > >> > +LICENSE = "GPLv2 & LGPLv2.1" > > >> > +LIC_FILES_CHKSUM = > "file://COPYING;md5=873f48a813bded3de6ebc54e6880c4ac" > > >> > + > > >> > +SRC_URI = "git:// > git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=master > " > > >> > +SRCREV = "530b1a0caef39466e16bbd49de5afef89656f03f" > > >> > + > > >> > +S = "${WORKDIR}/git" > > >> > + > > >> > +do_install() { > > >> > + oe_runmake DESTDIR=${D} install > > >> > +} > > >> > + > > >> > +FILES_${PN} += "${prefix}/etc \ > > >> > > >> user ${sysconfdir} > > > > > > IIRC ${sysconfdir} points to /etc and I need /usr/etc, I could not > find anything to point there at a quick glance so I used this. > > > > yes that was the question. If the content should be moved to /etc > > instead of /usr/etc since /usr/etc does not seem to be > > that common. > > > > >> > > >> > > >> > + ${libdir}/traceevent/plugins/" > > >> > -- > > >> > 2.25.1 > > >> > > > >> > > > >> > > > >> > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#88152): https://lists.openembedded.org/g/openembedded-devel/message/88152 Mute This Topic: https://lists.openembedded.org/mt/78549085/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
