From: Jan Kiszka <jan.kiszka@siemens.com>
To: Benedikt Niedermayr <benbrenson89@googlemail.com>,
Alexander Smirnov <asmirnov@ilbers.de>,
isar-users@googlegroups.com,
Henning Schild <henning.schild@siemens.com>
Subject: Re: [PATCH 2/3] build.sh: Install newly built packages
Date: Thu, 1 Feb 2018 12:37:17 +0100 [thread overview]
Message-ID: <9358910b-0d5c-b161-933e-e67aa998ca32@siemens.com> (raw)
In-Reply-To: <427d7ef3-eff1-042d-bca1-b1224bee10ab@googlemail.com>
On 2018-02-01 11:09, 'Benedikt Niedermayr' via isar-users wrote:
> Am 01.02.2018 um 09:07 schrieb Alexander Smirnov:
>> Please take a look to dpkg class and to example-hello application.
>
> Ok,
>
> but when I look into example-hello then I'm able to comprehend that, but
>
> when I take look at example-raw which only inlcudes dpkg-raw then I
> can't see any possibility to build
>
> the package out from its sources.
>
>
> So when including dpkg.bbclass then I'm able to build out from sources.
>
> But when I also need to "debianize" my sources I have to include
> dpkg-raw, which in turn will overwrite the
>
> dpkg_runbuild task.
>
> I think the dpkg_runbuild of dpkg-raw should also call "sudo chroot
> ${BUILDCHROOT_DIR} /build.sh ${PP}/${SRC_DIR}" ?
There are currently three ways to build a package:
- the sources comes with debian/ control files
-> inherit dpkg
- the sources are not debianized and you don't want to do that
-> inherit dpkg-raw, build manually (if needed at all), define
artifacts and let the raw class do that ad-hoc binary packaging
- the sources are not debianized, but your recipe can fill that gap
-> inherit dpkg-base, provide a debian/ folder, overload
dpkg_runbuild to trigger a debianized build
I'm going the last path with the upcoming custom kernel recipe.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2018-02-01 11:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 8:38 [PATCH 0/3] Implement hello <-> libhello pattern Alexander Smirnov
2018-01-25 8:38 ` [PATCH 1/3] dpkg-base: Add dependecies between Isar recipes Alexander Smirnov
2018-02-05 19:40 ` Jan Kiszka
2018-02-06 10:10 ` chombourger
2018-02-06 20:25 ` Alexander Smirnov
2018-01-25 8:38 ` [PATCH 2/3] build.sh: Install newly built packages Alexander Smirnov
2018-01-31 19:39 ` Jan Kiszka
2018-01-31 19:55 ` Alexander Smirnov
2018-01-31 20:01 ` Jan Kiszka
2018-02-01 7:49 ` Benedikt Niedermayr
2018-02-01 8:07 ` Alexander Smirnov
2018-02-01 10:09 ` Benedikt Niedermayr
2018-02-01 11:37 ` Jan Kiszka [this message]
2018-01-25 8:38 ` [PATCH 3/3] libhello: Add libhello Alexander Smirnov
2018-01-25 9:01 ` Jan Kiszka
2018-01-25 10:11 ` Alexander Smirnov
2018-01-25 10:30 ` Jan Kiszka
2018-01-29 16:14 ` [PATCH 0/3] Implement hello <-> libhello pattern Henning Schild
2018-02-05 21:56 ` Baurzhan Ismagulov
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=9358910b-0d5c-b161-933e-e67aa998ca32@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=asmirnov@ilbers.de \
--cc=benbrenson89@googlemail.com \
--cc=henning.schild@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