Skip to content

Commit 5236f6e

Browse files
committed
lmp/bb-config: add v95 no-gplv3 config
With the v95 we droped the image-license-checker and lmp-disable-gplv3 bbclass. foundriesio/meta-lmp#1618 Signed-off-by: Jose Quaresma <[email protected]>
1 parent bd93e81 commit 5236f6e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lmp/bb-config.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,20 @@ EOFEOF
189189
fi
190190

191191
if [ "${DISABLE_GPLV3}" = "1" ]; then
192-
cat << EOFEOF >> conf/local.conf
192+
# supported in v95
193+
if [ -f ../layers/meta-lmp-base/conf/distro/include/lmp-no-gplv3.inc ]; then
194+
cat << EOFEOF >> conf/local.conf
195+
require conf/distro/include/lmp-no-gplv3.inc
196+
EOFEOF
197+
else
198+
cat << EOFEOF >> conf/local.conf
193199
INHERIT += "image-license-checker lmp-disable-gplv3"
194200
IMAGE_LICENSE_CHECKER_ROOTFS_BLACKLIST = "GPL-3.0 LGPL-3.0 AGPL-3.0"
195201
IMAGE_LICENSE_CHECKER_NON_ROOTFS_BLACKLIST = "GPL-3.0 LGPL-3.0 AGPL-3.0"
196202
IMAGE_LICENSE_CHECKER_ROOTFS_DENYLIST = "GPL-3.0-only GPL-3.0-or-later LGPL-3.0* AGPL-3.0*"
197203
IMAGE_LICENSE_CHECKER_NON_ROOTFS_DENYLIST = "GPL-3.0-only GPL-3.0-or-later LGPL-3.0* AGPL-3.0*"
198204
EOFEOF
205+
fi
199206
fi
200207

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

0 commit comments

Comments
 (0)