iPXE - Open Source Boot Firmware

[build] Allow safe concurrent builds of .iso, .liso and .sdsk targets
authorMichael Brown <mcb30@etherboot.org>
Sun, 2 Aug 2009 10:17:02 +0000 (11:17 +0100)
committerMichael Brown <mcb30@etherboot.org>
Sun, 2 Aug 2009 10:17:02 +0000 (11:17 +0100)
commitf42b2932f8cd55583a9e024ad4cf7484f17fb7fa
tree9cc43cb79abbbdf70b8bd6ab7f7b2599997e1a54
parentb570c2efd8f9fa829368c682d29bac49bce42ba1
[build] Allow safe concurrent builds of .iso, .liso and .sdsk targets

The geniso, genliso and gensdsk scripts contain hard-coded temporary
directory names, and so could potentially collide with each other when
run as part of a concurrent build (e.g. "make -j 4").

Fix by using mktemp to generate suitable temporary directory names.
src/util/geniso
src/util/genliso
src/util/gensdsk