Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Marco Cavallini" <koansoftware@gmail.com>
To: "Felix Kuhlmann" <felix-kuhlmann@gmx.de>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] Question regarding executing an install script during the build of an image
Date: Sun, 20 Oct 2024 02:19:59 -0700	[thread overview]
Message-ID: <15945.1729415999980937427@lists.yoctoproject.org> (raw)
In-Reply-To: <ZxOc_m5GBfsY2Hhk@fedora>

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

Hello Felix,
probably I don't have enough details to give you a complete hint.
However, the solution usually suggested is to create your own recipe, perhaps using "recipetool create" [1] and then adapt its content (this is what I usually explain during my Yocto training courses).
Then you can include in your recipe the installation and the management of a launcher script and its systemd service for example (if you are using systemd) [2].

[1] https://docs.yoctoproject.org/next/dev-manual/new-recipe.html?highlight=systemd
[2] https://wiki.koansoftware.com/index.php/Add_a_systemd_service_file_into_a_Yocto_image

Marco Cavallini
Yocto Project ambassador

[-- Attachment #2: Type: text/html, Size: 1047 bytes --]

  reply	other threads:[~2024-10-20  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19 11:50 Question regarding executing an install script during the build of an image Felix Kuhlmann
2024-10-20  9:19 ` Marco Cavallini [this message]
2024-10-21  9:39   ` [yocto] " Josef Holzmayr
2024-10-21 11:40     ` Felix Kuhlmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15945.1729415999980937427@lists.yoctoproject.org \
    --to=koansoftware@gmail.com \
    --cc=felix-kuhlmann@gmx.de \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox