diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-12-03 12:53:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:10 +0000 |
commit | f4c4aa37fcdad5bd2a20ad85753a834037d78727 (patch) | |
tree | 25976c8815dcbfab6830b036414c16df671482d1 /meta/classes-recipe | |
parent | 8c17606068cf356a5045651a9349bf0a39ed2226 (diff) | |
download | poky-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.bbclass | 8 |
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 | ||
310 | python tidy_shadowutils_files () { | 310 | python 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 | ||
315 | python sort_passwd () { | 315 | python 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 | # |