mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-05 05:04:47 +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()
|
||||
layerinfo = os.path.join(self.getProperty("builddir"),
|
||||
"layerinfo.json")
|
||||
writerepos = "printf '%s' >> %s" % (repojson, layerinfo)
|
||||
writerepos = "printf '%s' > %s" % (repojson, layerinfo)
|
||||
cmd = yield self.makeRemoteShellCommand(
|
||||
command=writerepos)
|
||||
yield self.runCommand(cmd)
|
||||
|
|
Loading…
Reference in New Issue
Block a user