1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-04 02:00:04 +00:00

os-release: don't import shutil

The line was added in

  os-release: add the public package-signing key
  f7359ad6bec82d4aa761287a6c6d53cbc25adab3

but the actual usage was removed in

  signing-keys: Make signing keys the only publisher of keys
  1e38068ac38dfd067655dfd41464e28439179306

(From OE-Core rev: 05aeb9de239beff4bfdb3cd7dc39d484ecb69190)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jacob Kroon
2019-01-01 18:38:44 +01:00
committed by Richard Purdie
parent 08eb8565b6
commit 0455b630ef
@@ -30,7 +30,6 @@ def sanitise_version(ver):
return ret.lower()
python do_compile () {
import shutil
with open(d.expand('${B}/os-release'), 'w') as f:
for field in d.getVar('OS_RELEASE_FIELDS').split():
value = d.getVar(field)