Initial patch is for the same. However got a feedback to use a separate recipe as extending systemd-boot recipe made is messy with a bunch of overrides for almost all tasks.

check: https://lists.openembedded.org/g/openembedded-core/message/191307

//Viswanath

On 12/16/2023 5:04 PM, Alexander Kanavin wrote:
Can we rather fold it into systemd-boot with bbassextend?

Alex

On Sat 16. Dec 2023 at 1.26, Viswanath Kraleti <quic_vkral...@quicinc.com <mailto:quic_vkral...@quicinc.com>> wrote:

    systemd-boot native recipe provides ukify tool to build
    UKI images for systemd-boot

    Signed-off-by: Viswanath Kraleti <quic_vkral...@quicinc.com
    <mailto:quic_vkral...@quicinc.com>>
    ---
      .../systemd/systemd-boot-native_254.4.bb
    <http://systemd-boot-native_254.4.bb>          | 15 +++++++++++++++
      1 file changed, 15 insertions(+)
      create mode 100644
    meta/recipes-core/systemd/systemd-boot-native_254.4.bb
    <http://systemd-boot-native_254.4.bb>

    diff --git a/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
    <http://systemd-boot-native_254.4.bb>
    b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
    <http://systemd-boot-native_254.4.bb>
    new file mode 100644
    index 0000000000..73db59b14e
    --- /dev/null
    +++ b/meta/recipes-core/systemd/systemd-boot-native_254.4.bb
    <http://systemd-boot-native_254.4.bb>
    @@ -0,0 +1,15 @@
    +require systemd.inc
    +
    +inherit native
    +
    +deltask do_configure
    +deltask do_compile
    +
    +do_install () {
    +       install -Dm 0755 ${S}/src/ukify/ukify.py ${D}${bindir}/ukify
    +}
    +addtask install after do_unpack
    +
    +PACKAGES = "${PN}"
    +
    +FILES:${PN} = "${bindir}/ukify"
-- 2.25.1








-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192557): 
https://lists.openembedded.org/g/openembedded-core/message/192557
Mute This Topic: https://lists.openembedded.org/mt/103202155/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to