populate_sdk_ext: use ConfigParser instead of SafeConfigParser
PATCH 1/2 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.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes-recipe/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/populate_sdk_ext.bbclass +1 -1
@@ -233,7 +233,7 @@ python copy_buildsystem () { # Write out config file for devtool import configparser - config = configparser.SafeConfigParser() + config = configparser.ConfigParser() config.add_section('General') config.set('General', 'bitbake_subdir', conf_bbpath) config.set('General', 'init_path', conf_initpath)
Signature · 1 line
2.34.1
PATCH 2/2 stress-ng: improve makefile use
Set VERBOSE=1 so the compile logs are useful, perform the configure in do_configure, and set bindir correctly.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb +5 -2
@@ -18,12 +18,15 @@ RCONFLICTS:${PN} = "stress" inherit bash-completion -do_compile:prepend() { +EXTRA_OEMAKE = "VERBOSE=1" + +do_configure() { mkdir -p configs touch configs/HAVE_APPARMOR + oe_runmake makeconfig } do_install() { - oe_runmake DESTDIR=${D} install + oe_runmake DESTDIR=${D} BINDIR=${bindir} install ln -s stress-ng ${D}${bindir}/stress }
Signature · 1 line
2.34.1