From: Claudius Heine <claudius.heine.ext@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [RFC] Define task pipeline
Date: Wed, 13 Mar 2019 15:37:49 +0100 [thread overview]
Message-ID: <a14a9707-e39c-b849-580d-7f4b69d4b5d0@siemens.com> (raw)
Hi,
I opened an issue for discussion on the github issue tracker[1]. Please
post comments there.
Here is the content for reference:
Currently we don't have a clearly define pipeline of the tasks,
especially for image recipes. This makes it difficult to introduce new
tasks that should be run at certain points of the build process.
For image recipes I would like to propose the following pipeline:
1. `do_rootfs` a (virtual) task after which the `rootfs` directory
contains the desired root file system with all packages installed, etc.
2. `do_rootfs_postprocess` a (virtual) task after which all post
processing steps that can not be defined in a package are done.
3. `do_image` a virtual task after which the images are created in the
work directory of the image.
4. `do_deploy` a (virtual) task after which the output artifacts of the
recipe are deployed to the deploy directory.
5. `do_build` a virtual task that defines the default build process.
This way it should be simpler to order custom and currently implemented
task better into the structure.
Hopefully lines like these
```
addtask ubi_image before do_build after do_copy_boot_files
do_install_imager_deps do_unpack do_transform_template
```
can be reduced to this
```
addtask ubi_image before do_image after do_rootfs_postprocess
```
I have not looked into optimizing the package build pipeline and other
recipe types.
[1] https://github.com/ilbers/isar/issues/46
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
reply other threads:[~2019-03-13 14:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=a14a9707-e39c-b849-580d-7f4b69d4b5d0@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=isar-users@googlegroups.com \
/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