Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lmp/bb-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,20 @@ EOFEOF
fi

if [ "${DISABLE_GPLV3}" = "1" ]; then
cat << EOFEOF >> conf/local.conf
# support the new lmp no-gplv3 config
if [ -f ../layers/meta-lmp-base/conf/distro/include/lmp-no-gplv3.inc ]; then
cat << EOFEOF >> conf/local.conf
require conf/distro/include/lmp-no-gplv3.inc
EOFEOF
else
cat << EOFEOF >> conf/local.conf
INHERIT += "image-license-checker lmp-disable-gplv3"
IMAGE_LICENSE_CHECKER_ROOTFS_BLACKLIST = "GPL-3.0 LGPL-3.0 AGPL-3.0"
IMAGE_LICENSE_CHECKER_NON_ROOTFS_BLACKLIST = "GPL-3.0 LGPL-3.0 AGPL-3.0"
IMAGE_LICENSE_CHECKER_ROOTFS_DENYLIST = "GPL-3.0-only GPL-3.0-or-later LGPL-3.0* AGPL-3.0*"
IMAGE_LICENSE_CHECKER_NON_ROOTFS_DENYLIST = "GPL-3.0-only GPL-3.0-or-later LGPL-3.0* AGPL-3.0*"
EOFEOF
fi
fi

sstate_mirror="https://storage.googleapis.com/lmp-cache/v${LMP_VERSION_CACHE}-sstate-cache"
Expand Down