[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] Add nativesdk of systemd-systemctl
From:       "Ross Burton" <ross.burton () arm ! com>
Date:       2022-10-31 16:19:10
Message-ID: 62CE5E7E-3A59-4845-99BE-8672974E2822 () arm ! com
[Download RAW message or body]

On 31 Oct 2022, at 08:17, wangmy via lists.openembedded.org \
<wangmy=fujitsu.com@lists.openembedded.org> wrote:
> 
> From: Wang Mingyu <wangmy@fujitsu.com>
> 
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
> .../systemd/nativesdk-systemd-systemctl.bb      | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
> create mode 100644 meta/recipes-core/systemd/nativesdk-systemd-systemctl.bb
> 
> diff --git a/meta/recipes-core/systemd/nativesdk-systemd-systemctl.bb \
> b/meta/recipes-core/systemd/nativesdk-systemd-systemctl.bb new file mode 100644
> index 0000000000..66b5ec5e6e
> --- /dev/null
> +++ b/meta/recipes-core/systemd/nativesdk-systemd-systemctl.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Wrapper for enabling systemd services"
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = \
> "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +
> +PR = "r0"
> +
> +inherit nativesdk
> +
> +SRC_URI = "file://systemctl"
> +
> +S = "${WORKDIR}"
> +
> +do_install() {
> + install -d ${D}${bindir}
> + install -m 0755 ${WORKDIR}/systemctl ${D}${bindir}
> +}

As the native and nativesdk recipes are almost identical, write a single recipe \
called systemd-systemctl which uses BBCLASSEXTEND which replaces this recipe and the \
existing native form.

You can then fix the ownership in maintainers to refer to the base recipe, and solve \
the oe-selftest failure too.

Ross



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172330): https://lists.openembedded.org/g/openembedded-core/message/172330
Mute This Topic: https://lists.openembedded.org/mt/94680777/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic