mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
steps/writelayerinfo: Always rewrite the file as concat doesn't make sense
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b074abdc83
commit
83f6475915
|
@ -37,7 +37,7 @@ class WriteLayerInfo(buildstep.ShellMixin, buildstep.BuildStep):
|
||||||
repojson = self.generateLayerInfo()
|
repojson = self.generateLayerInfo()
|
||||||
layerinfo = os.path.join(self.getProperty("builddir"),
|
layerinfo = os.path.join(self.getProperty("builddir"),
|
||||||
"layerinfo.json")
|
"layerinfo.json")
|
||||||
writerepos = "printf '%s' >> %s" % (repojson, layerinfo)
|
writerepos = "printf '%s' > %s" % (repojson, layerinfo)
|
||||||
cmd = yield self.makeRemoteShellCommand(
|
cmd = yield self.makeRemoteShellCommand(
|
||||||
command=writerepos)
|
command=writerepos)
|
||||||
yield self.runCommand(cmd)
|
yield self.runCommand(cmd)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user