Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_blpolicy_oemvars: No such file or directory #10

Open
strassek opened this issue Sep 17, 2018 · 2 comments
Open

generate_blpolicy_oemvars: No such file or directory #10

strassek opened this issue Sep 17, 2018 · 2 comments

Comments

@strassek
Copy link

Celadon master is failing to build 'flashfiles' target on Ubuntu 16.04.5 with this error:

[  0% 626/86312] build out/target/product/celadon/bootloader_policy-oemvars.txt
FAILED: out/target/product/celadon/bootloader_policy-oemvars.txt 
/bin/bash -c "device/intel/build/generate_blpolicy_oemvars -K device/intel/build/testkeys/odm 		-O device/intel/build/testkeys/OAK.x509.pem -B 0x0 		out/target/product/celadon/bootloader_policy-oemvars.txt"
Traceback (most recent call last):
  File "device/intel/build/generate_blpolicy_oemvars", line 261, in <module>
    main(sys.argv[1:])
  File "device/intel/build/generate_blpolicy_oemvars", line 229, in main
    password, guid, "OAK", m.digest())
  File "device/intel/build/generate_blpolicy_oemvars", line 144, in get_auth_data
    name, payload_fname, auth_fname], None)
  File "device/intel/build/generate_blpolicy_oemvars", line 73, in run
    p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
@strassek
Copy link
Author

Turns out 'efitools' is now a build dependency:
https://lists.01.org/pipermail/celadon/2018-August/001302.html

Leaving this bug open until the docs have been updated.

@tanminger
Copy link
Contributor

Need to install the efitools package in your build server.
In Ubuntu, you can run the following command:
sudo apt-get install efitools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants