mirror of
https://github.com/optim-enterprises-bv/meta-overc.git
synced 2025-12-30 02:21:07 +00:00
'pods' are used in many projects and places. To clear up the namespace, we now call the building blocks of an OverC system 'cubes'. This switches the images, variables and READMEs to talk about 'cubes'. We also move the distro conf to meta-overc, and ensure the distro is "overc". And finally, the meta-cube layer priority is bumped to ensure its configs take precence. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
# TARGETNAME can be overridden
|
|
|
|
ROOTFS_PREPROCESS_COMMAND += "builder_set_hostname ; "
|
|
|
|
python builder_set_hostname() {
|
|
targetname = d.getVar("TARGETNAME", True)
|
|
if targetname != None:
|
|
return
|
|
|
|
status, date = oe.utils.getstatusoutput("date +%d-%m-%y")
|
|
if status:
|
|
bb.warn("Can't get the date string for target hostname")
|
|
|
|
targetname = "cube-%s" % date
|
|
d.setVar("TARGETNAME", targetname)
|
|
}
|