From 68be0733e1e11cb5173abc15b8a90ab85d8c3ec4 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 14 Apr 2020 11:25:29 -0500 Subject: 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 --- meta-phosphor/recipes-devtools/python/python3_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta-phosphor/recipes-devtools/python/python3_%.bbappend (limited to 'meta-phosphor/recipes-devtools') diff --git a/meta-phosphor/recipes-devtools/python/python3_%.bbappend b/meta-phosphor/recipes-devtools/python/python3_%.bbappend new file mode 100644 index 0000000000..f689a9e91b --- /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" -- cgit v1.2.3