diff options
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index dfce381393..a62eb2cd57 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -98,15 +98,15 @@ python () { | |||
98 | # is searched for in the BBPATH (same as the old version.) | 98 | # is searched for in the BBPATH (same as the old version.) |
99 | # | 99 | # |
100 | def get_devtable_list(d): | 100 | def get_devtable_list(d): |
101 | devtable = d.getVar('IMAGE_DEVICE_TABLE', 1) | 101 | devtable = d.getVar('IMAGE_DEVICE_TABLE', True) |
102 | if devtable != None: | 102 | if devtable != None: |
103 | return devtable | 103 | return devtable |
104 | str = "" | 104 | str = "" |
105 | devtables = d.getVar('IMAGE_DEVICE_TABLES', 1) | 105 | devtables = d.getVar('IMAGE_DEVICE_TABLES', True) |
106 | if devtables == None: | 106 | if devtables == None: |
107 | devtables = 'files/device_table-minimal.txt' | 107 | devtables = 'files/device_table-minimal.txt' |
108 | for devtable in devtables.split(): | 108 | for devtable in devtables.split(): |
109 | str += " %s" % bb.which(d.getVar('BBPATH', 1), devtable) | 109 | str += " %s" % bb.which(d.getVar('BBPATH', True), devtable) |
110 | return str | 110 | return str |
111 | 111 | ||
112 | IMAGE_CLASSES ?= "image_types" | 112 | IMAGE_CLASSES ?= "image_types" |
@@ -119,7 +119,7 @@ ROOTFS_POSTPROCESS_COMMAND ?= "" | |||
119 | # some default locales | 119 | # some default locales |
120 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" | 120 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" |
121 | 121 | ||
122 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}" | 122 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', True).split()))}" |
123 | 123 | ||
124 | PSEUDO_PASSWD = "${IMAGE_ROOTFS}" | 124 | PSEUDO_PASSWD = "${IMAGE_ROOTFS}" |
125 | 125 | ||