public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] Set STAMPCLEAN variable
@ 2019-08-12 16:44 Jan Kiszka
  2019-08-12 17:03 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-08-12 16:44 UTC (permalink / raw)
  To: isar-users; +Cc: Claudius Heine

From: Jan Kiszka <jan.kiszka@siemens.com>

This ensures that stamp files are cleaned when a task is rebuilt. Not
providing this pattern likely caused a lot of failures when doing
partial rebuilds.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

This does not solve rebuilding isar-bootstrap* after config changes,
though. But that's a topic for a separate thread - I don't understand
its logic yet.

 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3d18223..d1e039f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -36,6 +36,7 @@ S = "${WORKDIR}/${P}"
 AUTOREV = "${@bb.fetch2.get_autorev(d)}"
 SRC_URI = "file://${FILE}"
 STAMP = "${TMPDIR}/stamps/${PF}"
+STAMPCLEAN = "${STAMP}.*"
 SVNDIR = "${DL_DIR}/svn"
 T = "${WORKDIR}/temp"
 TMPDIR = "${TOPDIR}/tmp"
-- 
2.16.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Set STAMPCLEAN variable
  2019-08-12 16:44 [PATCH] Set STAMPCLEAN variable Jan Kiszka
@ 2019-08-12 17:03 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2019-08-12 17:03 UTC (permalink / raw)
  To: isar-users; +Cc: Claudius Heine

On 12.08.19 18:44, [ext] Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> This ensures that stamp files are cleaned when a task is rebuilt. Not
> providing this pattern likely caused a lot of failures when doing
> partial rebuilds.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> This does not solve rebuilding isar-bootstrap* after config changes,
> though. But that's a topic for a separate thread - I don't understand
> its logic yet.
> 
>   meta/conf/bitbake.conf | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 3d18223..d1e039f 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -36,6 +36,7 @@ S = "${WORKDIR}/${P}"
>   AUTOREV = "${@bb.fetch2.get_autorev(d)}"
>   SRC_URI = "file://${FILE}"
>   STAMP = "${TMPDIR}/stamps/${PF}"
> +STAMPCLEAN = "${STAMP}.*"
>   SVNDIR = "${DL_DIR}/svn"
>   T = "${WORKDIR}/temp"
>   TMPDIR = "${TOPDIR}/tmp"
> 

Damn, some last-minute editing seems to have broken this again. Plus I noticed 
that do_clean() could/should use this as well. v2 will come.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-12 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 16:44 [PATCH] Set STAMPCLEAN variable Jan Kiszka
2019-08-12 17:03 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox