Hey all,

I have a problem on kirkstone where using the "externalsrc" class wipes out the directory mentioned in EXTERNALSRC, in other words my personal development repository.

I have traced it down to the "do_unpack[cleandirs]" variable flag. This flag is supposed to be removed here [1] when using "externalsrc", and indeed I have verified that this is the case. But when the function is about to be executed, the "cleandirs" variable flag has somehow been restored [2]. This causes the directory to be removed after all, despite the attempt at avoiding it.

At this point I'm a bit lost, I don't really know what happens between those two steps. Does anyone have any idea what might be happening? It sounds like a pretty serious bug to me, wiping out things in the home directory of the user.

[1] https://git.yoctoproject.org/poky/tree/meta/classes/externalsrc.bbclass?h=kirkstone#n93 [2] https://git.yoctoproject.org/poky/tree/bitbake/lib/bb/build.py?h=kirkstone#n191

--
Kristian
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166208): 
https://lists.openembedded.org/g/openembedded-core/message/166208
Mute This Topic: https://lists.openembedded.org/mt/91374926/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to