diff options
author | Ross Burton <ross.burton@arm.com> | 2024-02-21 20:36:55 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-03-01 05:19:53 -1000 |
commit | e00bde2372bbc65b9f183a2ae5a353197459ea87 (patch) | |
tree | 262418684cea1ab8701e8fe9e9b2989cbbe4614e | |
parent | 1e41c667e6aa41b4d7dcf90559bd93ff330a3130 (diff) | |
download | poky-e00bde2372bbc65b9f183a2ae5a353197459ea87.tar.gz |
populate_sdk_ext: use ConfigParser instead of SafeConfigParser
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.
(From OE-Core rev: 50815c328e677ac079d38dc8555a909f049cf5be)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cherry-picked from master: 71b3e7f71727137b4b996cc4160c9cc1581824b8
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index ca1b7753cb..bdd86863c6 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -227,7 +227,7 @@ python copy_buildsystem () { | |||
227 | 227 | ||
228 | # Write out config file for devtool | 228 | # Write out config file for devtool |
229 | import configparser | 229 | import configparser |
230 | config = configparser.SafeConfigParser() | 230 | config = configparser.ConfigParser() |
231 | config.add_section('General') | 231 | config.add_section('General') |
232 | config.set('General', 'bitbake_subdir', conf_bbpath) | 232 | config.set('General', 'bitbake_subdir', conf_bbpath) |
233 | config.set('General', 'init_path', conf_initpath) | 233 | config.set('General', 'init_path', conf_initpath) |