diff mbox series

[v2,1/4] scripts: scriptutils: Use LicenseRef-RecipetoolTransient LICENSE while fetching

Message ID 20260816-mathieu-devtool-v2-1-13c943abf48e@bootlin.com
State Under Review
Headers show
Series devtool: standard: Fix file copy on finish --force | expand

Commit Message

Mathieu Dubois-Briand Aug. 16, 2026, 11:12 a.m. UTC
Switching away of the "CLOSED" license, as devtool users would encounter
deprecation warnings on "devtool add" command.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
 meta/files/common-licenses/RecipetoolTransient | 1 +
 scripts/lib/scriptutils.py                     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/files/common-licenses/RecipetoolTransient b/meta/files/common-licenses/RecipetoolTransient
new file mode 100644
index 000000000000..3c59fbb8a580
--- /dev/null
+++ b/meta/files/common-licenses/RecipetoolTransient
@@ -0,0 +1 @@ 
+Recipetool transient license.
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py
index 32e749dbb1a2..33e197a22cc7 100644
--- a/scripts/lib/scriptutils.py
+++ b/scripts/lib/scriptutils.py
@@ -170,7 +170,7 @@  def fetch_url(tinfoil, srcuri, srcrev, destdir, logger, preserve_tmp=False, mirr
             logger.debug('Generating initial recipe %s for fetching' % fetchrecipe)
             with open(fetchrecipe, 'w') as f:
                 # We don't want to have to specify LIC_FILES_CHKSUM
-                f.write('LICENSE = "CLOSED"\n')
+                f.write('LICENSE = "LicenseRef-RecipetoolTransient"\n')
                 # We don't need the cross-compiler
                 f.write('INHIBIT_DEFAULT_DEPS = "1"\n')
                 # We don't have the checksums yet so we can't require them