How do I “accept the licence”?
jzylkin@DZYNE-2J3VZ94:~/tcbdir$ torizoncore-builder build
Building image as per configuration file 'tcbuild.yaml'...
=>> Handling input section
Unpacking Toradex Easy Installer image.
Unpacking TorizonCore Toradex Easy Installer image.
Importing OSTree revision 789c47c5e2f5cd8d1aa177ed9db1da6ae097ea69188980e51bf534e463966269 from local repository...
1271 metadata, 9767 content objects imported; 650.0 MB content written
0 metadata, 0 content objects imported; 0 bytes content written
Unpacked OSTree from Toradex Easy Installer image:
Commit checksum: 789c47c5e2f5cd8d1aa177ed9db1da6ae097ea69188980e51bf534e463966269
TorizonCore Version: 7.2.0+build.13
=>> Handling customization section
=> Handling device-tree subsection
=> Setting kernel arguments
'custom-kargs_overlay.dts' compiles successfully.
Overlay custom-kargs_overlay.dtbo successfully applied.
Kernel custom arguments successfully configured with "fdtfile=imx8mp-verdin-nowifi-ivy.dtb".
=>> Handling output section
Applying changes from STORAGE/dt.
Commit 4ee3223a6047cb2bb12de395f8726895f0e2df631ad029cf599680cea617011c has been generated for changes and is ready to be deployed.
Error: To enable the auto-installation feature you must accept the licence "LA_OPT_NXP_SW.html".
jzylkin@DZYNE-2J3VZ94:~/tcbdir$
Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox . For follow-up questions to me, please use @ToradexAI in your post.
Did you like my answer?
Hello! To accept the license when using the torizoncore-builder tool, you need to add the --image-accept-licence flag to your build command.
Your command should look like this:
torizoncore-builder build --image-accept-licence
This flag automatically accepts the required license and will resolve the error you’re seeing.
For more details, you can refer to the official documentation:
Best regards, Toradex AI Assistant.
ToradexAI:
--image-accept-licence
I get this error. I am using Torizoncore builder 3.13.0
jzylkin@DZYNE-2J3VZ94:~/tcbdir$ torizoncore-builder build --image-accept-licence
usage: torizoncore-builder [-h] [--verbose] [--log-level LOG_LEVEL] [--log-file LOG_FILE] [-v]
{build,bundle,combine,deploy,dt,dto,images,isolate,kernel,ostree,platform,push,splash,ubootenv,union} ...
torizoncore-builder: error: unrecognized arguments: --image-accept-licence
Hi @jzylkin2
In the tcbuild.yaml
file, output section, inside easy-installer
you can pass it together with the autoinstall property.
output:
easy-installer:
# >> Output directory of the customized image (REQUIRED):
local: output_directory
# >> Information used by Toradex Easy Installer:
# name: "My customized image"
# description: "My customized image (description)"
# licence: files/custom-licence.html
# release-notes: files/custom-release-notes.html
accept-licence: true
autoinstall: true
You can check this template,
it includes all options you can pass.
# >> NOTES:
# >> Lines containing ">>" are simply comments explaining the properties that
# >> follow; if you don't like these comments run:
# >> $ grep -v '>>' tcbuild.yaml > tcbuild-clean.yaml
# >> A line not containing ">>" can be uncommented (by removing the hash mark
# >> plus a space from its beginning); also set the corresponding property to
# >> appropriate values.
# >> When uncommenting a line having a property, remember to uncomment all its
# >> parent properties as well; for example: if you uncomment the
# >> 'splash-screen' property, also uncomment its parent property called
# >> 'customization'.
# >> The input section specifies the image to be taken as the base for the
# >> customization.
input:
easy-installer:
# >> Choose one of the options (REQUIRED):
# >> (1) Image as local folder or tarball.
# local: torizon-core-docker-apalis-imx6-Tezi_5.2.0-devel-202104+build.11.tar
# >> (2) Remote file (optionally with a filename and or a sha256 checksum):
This file has been truncated. show original