summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs-postcommands.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-10 18:55:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 11:58:01 +0100
commitff525695f27ce2d9033f6f03f6b22fe06aa01960 (patch)
tree70b3ad2b3a4efdce7a62e60ee635f7b7865f3a3b /meta/classes/rootfs-postcommands.bbclass
parent7350e82ce1283c8473c916ebddb22c0e930507b6 (diff)
downloadpoky-ff525695f27ce2d9033f6f03f6b22fe06aa01960.tar.gz
classes: Add SPDX license identifiers
As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r--meta/classes/rootfs-postcommands.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index cce804c8a0..d40adf5f0e 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -1,6 +1,8 @@
1# 1#
2# Copyright OpenEmbedded Contributors 2# Copyright OpenEmbedded Contributors
3# 3#
4# SPDX-License-Identifier: MIT
5#
4 6
5# Zap the root password if debug-tweaks and empty-root-password features are not enabled 7# Zap the root password if debug-tweaks and empty-root-password features are not enabled
6ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ], "", "zap_empty_root_password; ",d)}' 8ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ], "", "zap_empty_root_password; ",d)}'