* [PATCH] scripts/ci: rebuild recipes based on dpkg-base
@ 2018-11-22 9:12 Henning Schild
2018-11-22 9:15 ` Henning Schild
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Henning Schild @ 2018-11-22 9:12 UTC (permalink / raw)
To: isar-users; +Cc: Henning Schild
This commit adds rebuilding to CI and shows the current rebuilding
issues in Isar. After they are fixed it will be a general improvement to
CI to make sure we do not run into similar problems again.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
scripts/ci_build.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index d2ed6fe..dc093ec 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -102,3 +102,7 @@ else
# qemu-user-static of <= buster too old to build that
#multiconfig:qemuarm64-buster:isar-image-base
fi
+
+echo -e "do_fetch_append() {\n\n}" >> ${ISARROOT}/meta/classes/dpkg-base.bbclass
+
+bitbake $BB_ARGS multiconfig:qemuamd64-buster:isar-image-base
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scripts/ci: rebuild recipes based on dpkg-base
2018-11-22 9:12 [PATCH] scripts/ci: rebuild recipes based on dpkg-base Henning Schild
@ 2018-11-22 9:15 ` Henning Schild
2018-11-22 9:15 ` Jan Kiszka
2018-11-23 7:05 ` Maxim Yu. Osipov
2 siblings, 0 replies; 6+ messages in thread
From: Henning Schild @ 2018-11-22 9:15 UTC (permalink / raw)
To: isar-users
This will fail on current next. It depends on
"meta/dpkg-raw: build raw packages like all others"
or
"[PATCH v2] meta/dpkg-raw: do_install into a fresh directory every time"
but the second should probably not be used.
Henning
Am Thu, 22 Nov 2018 10:12:45 +0100
schrieb Henning Schild <henning.schild@siemens.com>:
> This commit adds rebuilding to CI and shows the current rebuilding
> issues in Isar. After they are fixed it will be a general improvement
> to CI to make sure we do not run into similar problems again.
>
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> scripts/ci_build.sh | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index d2ed6fe..dc093ec 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -102,3 +102,7 @@ else
> # qemu-user-static of <= buster too old to build that
> #multiconfig:qemuarm64-buster:isar-image-base
> fi
> +
> +echo -e "do_fetch_append() {\n\n}" >>
> ${ISARROOT}/meta/classes/dpkg-base.bbclass +
> +bitbake $BB_ARGS multiconfig:qemuamd64-buster:isar-image-base
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scripts/ci: rebuild recipes based on dpkg-base
2018-11-22 9:12 [PATCH] scripts/ci: rebuild recipes based on dpkg-base Henning Schild
2018-11-22 9:15 ` Henning Schild
@ 2018-11-22 9:15 ` Jan Kiszka
2018-11-22 9:40 ` Henning Schild
2018-11-23 7:05 ` Maxim Yu. Osipov
2 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2018-11-22 9:15 UTC (permalink / raw)
To: [ext] Henning Schild, isar-users
On 22.11.18 10:12, [ext] Henning Schild wrote:
> This commit adds rebuilding to CI and shows the current rebuilding
> issues in Isar. After they are fixed it will be a general improvement to
> CI to make sure we do not run into similar problems again.
>
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> scripts/ci_build.sh | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index d2ed6fe..dc093ec 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -102,3 +102,7 @@ else
> # qemu-user-static of <= buster too old to build that
> #multiconfig:qemuarm64-buster:isar-image-base
> fi
> +
> +echo -e "do_fetch_append() {\n\n}" >> ${ISARROOT}/meta/classes/dpkg-base.bbclass
> +
Why not destroying some stamp file instead?
> +bitbake $BB_ARGS multiconfig:qemuamd64-buster:isar-image-base
>
Otherwise, a valuable step forward.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scripts/ci: rebuild recipes based on dpkg-base
2018-11-22 9:15 ` Jan Kiszka
@ 2018-11-22 9:40 ` Henning Schild
0 siblings, 0 replies; 6+ messages in thread
From: Henning Schild @ 2018-11-22 9:40 UTC (permalink / raw)
To: Jan Kiszka; +Cc: isar-users
Am Thu, 22 Nov 2018 10:15:51 +0100
schrieb Jan Kiszka <jan.kiszka@siemens.com>:
> On 22.11.18 10:12, [ext] Henning Schild wrote:
> > This commit adds rebuilding to CI and shows the current rebuilding
> > issues in Isar. After they are fixed it will be a general
> > improvement to CI to make sure we do not run into similar problems
> > again.
> >
> > Signed-off-by: Henning Schild <henning.schild@siemens.com>
> > ---
> > scripts/ci_build.sh | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> > index d2ed6fe..dc093ec 100755
> > --- a/scripts/ci_build.sh
> > +++ b/scripts/ci_build.sh
> > @@ -102,3 +102,7 @@ else
> > # qemu-user-static of <= buster too old to build that
> > #multiconfig:qemuarm64-buster:isar-image-base
> > fi
> > +
> > +echo -e "do_fetch_append() {\n\n}" >>
> > ${ISARROOT}/meta/classes/dpkg-base.bbclass
> > +
>
> Why not destroying some stamp file instead?
I would like to see the bitbake magic work here. Problem is we leave a
dirty tree behind. We can discuss the trigger ... But as long as this
is the last thing we do, making the tree dirty is ok.
Henning
> > +bitbake $BB_ARGS multiconfig:qemuamd64-buster:isar-image-base
> >
>
> Otherwise, a valuable step forward.
>
> Jan
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scripts/ci: rebuild recipes based on dpkg-base
2018-11-22 9:12 [PATCH] scripts/ci: rebuild recipes based on dpkg-base Henning Schild
2018-11-22 9:15 ` Henning Schild
2018-11-22 9:15 ` Jan Kiszka
@ 2018-11-23 7:05 ` Maxim Yu. Osipov
2018-11-23 9:52 ` [PATCH v2] " Henning Schild
2 siblings, 1 reply; 6+ messages in thread
From: Maxim Yu. Osipov @ 2018-11-23 7:05 UTC (permalink / raw)
To: Henning Schild, isar-users
On 11/22/18 12:12 PM, Henning Schild wrote:
> This commit adds rebuilding to CI and shows the current rebuilding
> issues in Isar. After they are fixed it will be a general improvement to
> CI to make sure we do not run into similar problems again.
>
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> scripts/ci_build.sh | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index d2ed6fe..dc093ec 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -102,3 +102,7 @@ else
> # qemu-user-static of <= buster too old to build that
> #multiconfig:qemuarm64-buster:isar-image-base
> fi
> +
> +echo -e "do_fetch_append() {\n\n}" >> ${ISARROOT}/meta/classes/dpkg-base.bbclass
> +
> +bitbake $BB_ARGS multiconfig:qemuamd64-buster:isar-image-base
>
Taking into account recent commit dce32dd ("ci: Add option to build/test
a reduced set of configurations") any objections to change
qemuamd64-buster to qemuamd64-stretch to properly cover the reduced set
of configurations?
Maxim.
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] scripts/ci: rebuild recipes based on dpkg-base
2018-11-23 7:05 ` Maxim Yu. Osipov
@ 2018-11-23 9:52 ` Henning Schild
0 siblings, 0 replies; 6+ messages in thread
From: Henning Schild @ 2018-11-23 9:52 UTC (permalink / raw)
To: isar-users; +Cc: Henning Schild
This commit adds rebuilding to CI and shows the current rebuilding
issues in Isar. After they are fixed it will be a general improvement to
CI to make sure we do not run into similar problems again.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
scripts/ci_build.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index d5e4d41..54adc9d 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -108,3 +108,8 @@ else
# qemu-user-static of <= buster too old to build that
#multiconfig:qemuarm64-buster:isar-image-base
fi
+
+# trigger a rebuild of an image, this should be the last step since we
+# make the tree dirty and do not clean up
+echo -e "do_fetch_append() {\n\n}" >> ${ISARROOT}/meta/classes/dpkg-base.bbclass
+bitbake $BB_ARGS multiconfig:qemuamd64-stretch:isar-image-base
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-11-23 9:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 9:12 [PATCH] scripts/ci: rebuild recipes based on dpkg-base Henning Schild
2018-11-22 9:15 ` Henning Schild
2018-11-22 9:15 ` Jan Kiszka
2018-11-22 9:40 ` Henning Schild
2018-11-23 7:05 ` Maxim Yu. Osipov
2018-11-23 9:52 ` [PATCH v2] " Henning Schild
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox