diff options
-rw-r--r-- | meta/classes-global/buildstats.bbclass | 4 | ||||
-rw-r--r-- | meta/classes-recipe/rootfs-postcommands.bbclass | 8 | ||||
-rw-r--r-- | meta/lib/oe/buildstats.py (renamed from meta/lib/buildstats.py) | 0 | ||||
-rw-r--r-- | meta/lib/oe/rootfspostcommands.py (renamed from meta/lib/rootfspostcommands.py) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes-global/buildstats.bbclass b/meta/classes-global/buildstats.bbclass index f49a67aa4f..8a50bede5f 100644 --- a/meta/classes-global/buildstats.bbclass +++ b/meta/classes-global/buildstats.bbclass | |||
@@ -276,7 +276,7 @@ addhandler run_buildstats | |||
276 | run_buildstats[eventmask] = "bb.event.BuildStarted bb.event.BuildCompleted bb.event.HeartbeatEvent bb.build.TaskStarted bb.build.TaskSucceeded bb.build.TaskFailed" | 276 | run_buildstats[eventmask] = "bb.event.BuildStarted bb.event.BuildCompleted bb.event.HeartbeatEvent bb.build.TaskStarted bb.build.TaskSucceeded bb.build.TaskFailed" |
277 | 277 | ||
278 | python runqueue_stats () { | 278 | python runqueue_stats () { |
279 | import buildstats | 279 | import oe.buildstats |
280 | from bb import event, runqueue | 280 | from bb import event, runqueue |
281 | # We should not record any samples before the first task has started, | 281 | # We should not record any samples before the first task has started, |
282 | # because that's the first activity shown in the process chart. | 282 | # because that's the first activity shown in the process chart. |
@@ -286,7 +286,7 @@ python runqueue_stats () { | |||
286 | # closed when the build is done. | 286 | # closed when the build is done. |
287 | system_stats = d.getVar('_buildstats_system_stats', False) | 287 | system_stats = d.getVar('_buildstats_system_stats', False) |
288 | if not system_stats and isinstance(e, (bb.runqueue.sceneQueueTaskStarted, bb.runqueue.runQueueTaskStarted)): | 288 | if not system_stats and isinstance(e, (bb.runqueue.sceneQueueTaskStarted, bb.runqueue.runQueueTaskStarted)): |
289 | system_stats = buildstats.SystemStats(d) | 289 | system_stats = oe.buildstats.SystemStats(d) |
290 | d.setVar('_buildstats_system_stats', system_stats) | 290 | d.setVar('_buildstats_system_stats', system_stats) |
291 | if system_stats: | 291 | if system_stats: |
292 | # Ensure that we sample at important events. | 292 | # Ensure that we sample at important events. |
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 | # |
diff --git a/meta/lib/buildstats.py b/meta/lib/oe/buildstats.py index 1ffe679801..1ffe679801 100644 --- a/meta/lib/buildstats.py +++ b/meta/lib/oe/buildstats.py | |||
diff --git a/meta/lib/rootfspostcommands.py b/meta/lib/oe/rootfspostcommands.py index 5386eea409..5386eea409 100644 --- a/meta/lib/rootfspostcommands.py +++ b/meta/lib/oe/rootfspostcommands.py | |||