summaryrefslogtreecommitdiff
path: root/config/coreboot/dell3050micro_vfsp_16mb
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-12 19:57:40 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-12 20:03:40 +0100
commitc4c6692b761a50838deab5ed5ce5d3ff521fab7d (patch)
treedf6d3bb477c789fc62ec9b4065d971c23a95d7b6 /config/coreboot/dell3050micro_vfsp_16mb
parentfd5431db05dcaa11e45e1e35f987d5cef9ce088f (diff)
remove xbmk_parent, handle forking in lib.shHEADmaster
I was using a complicated method of knowing whether the current instance was parent or a child, to know whether the lock file and TMPDIR needed to be purged. It was quite error-prone too. Instead, I'm now handling it directly from within the if statement that previously initialised xbmk_parent=y, forking ./mk from there. The forked instance would not trigger that if clause again, since then TMPDIR is created, thus avoiding recursion. This is an improvement because it doesn't rely on how the parent handles exit statuses, and it ensures that the lock/tmp files are never accidentally deleted. Even if a given program/script that lbmk runs would export TMPDIR, it doesn't matter because lbmk doesn't, so it would be unaffected. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/dell3050micro_vfsp_16mb')
0 files changed, 0 insertions, 0 deletions