commit | 68be0733e1e11cb5173abc15b8a90ab85d8c3ec4 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue Apr 14 11:25:29 2020 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Apr 23 13:36:13 2020 -0500 |
tree | 7ca84125c2bc02c45255872886134df36435abea | |
parent | 6eb058a93272004d8ae10eaf30a71a9477a38978 [diff] [blame] |
dunfell: ensure python3 is default This was pulled down from the facebook/openbmc repo: https://github.com/facebook/openbmc/blob/19cd2a3e9638e7a2652518c022e422c7de4c7259/common/recipes-devtools/python/python3_%25.bbappend (From meta-phosphor rev: e84b046a582307700a6a193270d2b61a81b57f76) Change-Id: I94766094f0744da58b2ce02ae51526eaf3e73f78 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-devtools/python/python3_%.bbappend b/meta-phosphor/recipes-devtools/python/python3_%.bbappend new file mode 100644 index 0000000..f689a9e --- /dev/null +++ b/meta-phosphor/recipes-devtools/python/python3_%.bbappend
@@ -0,0 +1,5 @@ +inherit update-alternatives + +ALTERNATIVE_${PN}-core += "python" +ALTERNATIVE_LINK_NAME[python] = "${bindir}/python" +ALTERNATIVE_TARGET[python] = "${bindir}/python3"