summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-12-03 12:53:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-05 17:07:10 +0000
commitf4c4aa37fcdad5bd2a20ad85753a834037d78727 (patch)
tree25976c8815dcbfab6830b036414c16df671482d1 /meta/classes-recipe
parent8c17606068cf356a5045651a9349bf0a39ed2226 (diff)
downloadpoky-f4c4aa37fcdad5bd2a20ad85753a834037d78727.tar.gz
meta/lib: move buildstats.py and rootfspostcommands.py into oe
These two files are the only ones that are left in meta/lib. They logically belong to meta/lib/oe, so move them there. (From OE-Core rev: c65dd0e3e463d6072b9364ac74e1fef0d998068f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/rootfs-postcommands.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass b/meta/classes-recipe/rootfs-postcommands.bbclass
index 50e77dca76..70ad3670d7 100644
--- a/meta/classes-recipe/rootfs-postcommands.bbclass
+++ b/meta/classes-recipe/rootfs-postcommands.bbclass
@@ -308,19 +308,19 @@ serial_autologin_root () {
308} 308}
309 309
310python tidy_shadowutils_files () { 310python tidy_shadowutils_files () {
311 import rootfspostcommands 311 import oe.rootfspostcommands
312 rootfspostcommands.tidy_shadowutils_files(d.expand('${IMAGE_ROOTFS}${sysconfdir}')) 312 oe.rootfspostcommands.tidy_shadowutils_files(d.expand('${IMAGE_ROOTFS}${sysconfdir}'))
313} 313}
314 314
315python sort_passwd () { 315python sort_passwd () {
316 """ 316 """
317 Deprecated in the favour of tidy_shadowutils_files. 317 Deprecated in the favour of tidy_shadowutils_files.
318 """ 318 """
319 import rootfspostcommands 319 import oe.rootfspostcommands
320 bb.warn('[sort_passwd] You are using a deprecated function for ' 320 bb.warn('[sort_passwd] You are using a deprecated function for '
321 'SORT_PASSWD_POSTPROCESS_COMMAND. The default one is now called ' 321 'SORT_PASSWD_POSTPROCESS_COMMAND. The default one is now called '
322 '"tidy_shadowutils_files".') 322 '"tidy_shadowutils_files".')
323 rootfspostcommands.tidy_shadowutils_files(d.expand('${IMAGE_ROOTFS}${sysconfdir}')) 323 oe.rootfspostcommands.tidy_shadowutils_files(d.expand('${IMAGE_ROOTFS}${sysconfdir}'))
324} 324}
325 325
326# 326#