Skip to content

[LICENSE] Add post-script to ask for synaptics-killswitch license acceptance

Nicola Sparnacci requested to merge nspa/rpi-post-script-license into scarthgap_kickoff

The variable: LICENSE_FLAGS_ACCEPTED += "synaptics-killswitch" is added to local.conf if the user accepts the license.

Example of configurator output:

yoctouser@70f01de971bd:~/workdir/migration-to-scarthgap-manifest-clean$ . ./seco-setup.sh -c
WARNING: no CONFIG_CLOUD_ASTARTE-URL found in the configuration.
WARNING: no CONFIG_CLOUD_ASTARTE-REALM found in the configuration.
WARNING: no CONFIG_CLOUD_ASTARTE-PAIRING-TOKEN found in the configuration.
WARNING: no RAUC found in the configuration.
WARNING: using non-Seco raspberrypi4-64. No SRCREV.conf will be created unless custom layer is used.
WARNING: no SRCREV.conf files found. Not creating build_rpi4_64/conf/SRCREV.conf.

Welcome to SECO BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

Your build environment has been configured with:

    MACHINE=raspberrypi4-64
    SDKMACHINE=i686
    DISTRO=clea-os-fb
    EULA=

No post-script has been found in the layer meta-seco-clea-os.
Executing post-script 0001-licenses-seco-rpi-post-script.sh found in the layer meta-seco-rpi
Do you accept synaptics-killswitch license? (yes/no) [default: yes]: yes
The synaptics-killswitch license has been accepted.
Adding the license flag LICENSE_FLAGS_ACCEPTED to local.conf.

Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com

Merge request reports

Loading