public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* isar-bootstrap fails to rebuild after config changes
@ 2019-08-12 17:18 Jan Kiszka
  2019-08-13  8:01 ` Claudius Heine
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2019-08-12 17:18 UTC (permalink / raw)
  To: isar-users, Claudius Heine

Hi,

I noticed today that I'm not getting a new bootstrap rootfs after adding a repo 
to DISTRO_APT_SOURCES. Digging deeper, this revealed missing STAMPCLEAN setting, 
but also more:

Why are we probing for the existence of the DEPLOY_ISAR_BOOTSTRAP link in 
do_apt_config_prepare(), Claudius? This obviously exists after a first run, and 
that blocks refreshing all the apt settings if they have changed.

There is CLEANFUNCS set with clean_deploy(), but that is only run on true 
do_clean(), not on rebuilds.

And finally, when I look at isar_bootstrap(), run by do_bootstrap(), it protects 
checking and creating DEPLOY_ISAR_BOOTSTRAP with a lock. But 
do_apt_config_prepare() runs lockless. This cannot work reliably.

Jan

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

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

end of thread, other threads:[~2019-08-21  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 17:18 isar-bootstrap fails to rebuild after config changes Jan Kiszka
2019-08-13  8:01 ` Claudius Heine
2019-08-13  8:14   ` Jan Kiszka
2019-08-20 19:33     ` Jan Kiszka
2019-08-21  9:02       ` Baurzhan Ismagulov
2019-08-21  9:06         ` Jan Kiszka

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