diff options
Diffstat (limited to 'meta/classes/image.bbclass')
| -rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 6b0a14d9ac..c5a2dd2c50 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -26,8 +26,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 26 | do_rootfs[depends] += "makedevs-native:do_populate_staging fakeroot-native:do_populate_staging ldconfig-native:do_populate_staging" | 26 | do_rootfs[depends] += "makedevs-native:do_populate_staging fakeroot-native:do_populate_staging ldconfig-native:do_populate_staging" |
| 27 | 27 | ||
| 28 | python () { | 28 | python () { |
| 29 | import bb | ||
| 30 | |||
| 31 | deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" | 29 | deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" |
| 32 | for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split(): | 30 | for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split(): |
| 33 | for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []): | 31 | for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []): |
| @@ -49,7 +47,6 @@ python () { | |||
| 49 | # is searched for in the BBPATH (same as the old version.) | 47 | # is searched for in the BBPATH (same as the old version.) |
| 50 | # | 48 | # |
| 51 | def get_devtable_list(d): | 49 | def get_devtable_list(d): |
| 52 | import bb | ||
| 53 | devtable = bb.data.getVar('IMAGE_DEVICE_TABLE', d, 1) | 50 | devtable = bb.data.getVar('IMAGE_DEVICE_TABLE', d, 1) |
| 54 | if devtable != None: | 51 | if devtable != None: |
| 55 | return devtable | 52 | return devtable |
| @@ -62,7 +59,6 @@ def get_devtable_list(d): | |||
| 62 | return str | 59 | return str |
| 63 | 60 | ||
| 64 | def get_imagecmds(d): | 61 | def get_imagecmds(d): |
| 65 | import bb | ||
| 66 | cmds = "\n" | 62 | cmds = "\n" |
| 67 | old_overrides = bb.data.getVar('OVERRIDES', d, 0) | 63 | old_overrides = bb.data.getVar('OVERRIDES', d, 0) |
| 68 | for type in bb.data.getVar('IMAGE_FSTYPES', d, True).split(): | 64 | for type in bb.data.getVar('IMAGE_FSTYPES', d, True).split(): |
