Hi Armin, Any Update on this ?
Thanks & Regards, Vijay On Thu, Jun 20, 2024 at 10:13 AM <[email protected]> wrote: > From: Vijay Anusuri <[email protected]> > > Install tipc kernel module explictly. tipcutils.conf is added to > modules-load.d to load the required tipc kernel module. > > Ref: http://tipc.io/getting_started.html > > Signed-off-by: Vijay Anusuri <[email protected]> > --- > .../tipcutils/tipcutils/tipcutils.conf | 1 + > meta-oe/recipes-extended/tipcutils/tipcutils_git.bb | 11 ++++++++++- > 2 files changed, 11 insertions(+), 1 deletion(-) > create mode 100644 > meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf > > diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf > b/meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf > new file mode 100644 > index 000000000..39ed83d6a > --- /dev/null > +++ b/meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf > @@ -0,0 +1 @@ > +tipc > diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb > b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb > index 596aa260e..580d03cbb 100644 > --- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb > +++ b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb > @@ -3,6 +3,7 @@ LICENSE = "GPL-2.0-only" > LIC_FILES_CHKSUM = > "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98" > > SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ > + file://tipcutils.conf \ > file://0001-include-sys-select.h-for-FD_-definitions.patch \ > file://0002-replace-non-standard-uint-with-unsigned-int.patch \ > > file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \ > @@ -11,7 +12,7 @@ SRC_URI = "git:// > git.code.sf.net/p/tipc/tipcutils;branch=master \ > SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a" > PV = "2.2.0+git" > > -inherit autotools pkgconfig > +inherit autotools pkgconfig systemd > > DEPENDS += "libdaemon" > > @@ -41,8 +42,16 @@ do_install:append() { > install -d ${D}${sysconfdir} > cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* > ${D}${sysconfdir}/ > chown -R root:root ${D}${sysconfdir} > + > + # Install systemd related configuration file > + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', > 'false', d)}; then > + install -d ${D}${sysconfdir}/modules-load.d > + install -m 0644 ${WORKDIR}/tipcutils.conf > ${D}${sysconfdir}/modules-load.d > + fi > } > > +SYSTEMD_SERVICE:${PN} = "" > + > PACKAGES += "${PN}-demos" > FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug > /opt/tipcutils/ptts/.debug" > FILES:${PN}-demos = "/opt/tipcutils/*" > -- > 2.25.1 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#111009): https://lists.openembedded.org/g/openembedded-devel/message/111009 Mute This Topic: https://lists.openembedded.org/mt/106774955/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
