On 21.05.21 10:06, Florian Bezdeka wrote: > Debian 11 removed python2 support, so we need to update the (build-) > dependencies to python3. As python3 is already provided by Debian 10, > there is no breaking change. >
Finally merged, with slight adjustment of this message: Python 2 is still supported, but many libs have been removed, breaking us partially. Thanks, Jan > Signed-off-by: Florian Bezdeka <[email protected]> > --- > recipes-core/non-root-initramfs/files/debian/control | 2 +- > recipes-jailhouse/jailhouse/files/debian/compat | 2 +- > recipes-jailhouse/jailhouse/files/debian/control.tmpl | 4 ++-- > recipes-jailhouse/jailhouse/files/debian/rules | 2 +- > 4 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/recipes-core/non-root-initramfs/files/debian/control > b/recipes-core/non-root-initramfs/files/debian/control > index 5ff2c5c..0ae9a97 100644 > --- a/recipes-core/non-root-initramfs/files/debian/control > +++ b/recipes-core/non-root-initramfs/files/debian/control > @@ -2,7 +2,7 @@ Source: non-root-initramfs > Section: misc > Priority: optional > Standards-Version: 4.3.0 > -Build-Depends: wget, cpio, unzip, rsync, python:native, bc > +Build-Depends: wget, cpio, unzip, rsync, python3:native, bc > Maintainer: Jan Kiszka <[email protected]> > Rules-Requires-Root: no > > diff --git a/recipes-jailhouse/jailhouse/files/debian/compat > b/recipes-jailhouse/jailhouse/files/debian/compat > index ec63514..f599e28 100644 > --- a/recipes-jailhouse/jailhouse/files/debian/compat > +++ b/recipes-jailhouse/jailhouse/files/debian/compat > @@ -1 +1 @@ > -9 > +10 > diff --git a/recipes-jailhouse/jailhouse/files/debian/control.tmpl > b/recipes-jailhouse/jailhouse/files/debian/control.tmpl > index c8e625f..8caee4c 100644 > --- a/recipes-jailhouse/jailhouse/files/debian/control.tmpl > +++ b/recipes-jailhouse/jailhouse/files/debian/control.tmpl > @@ -3,11 +3,11 @@ Section: misc > Priority: optional > Standards-Version: 3.9.6 > Build-Depends: linux-headers-${KERNEL_NAME}, git, > - dh-python, python-pip:native, python-setuptools, > python-mako:native > + dh-python, python3-pip:native, python3-setuptools, > python3-mako:native > Maintainer: Jan Kiszka <[email protected]> > X-Python-Version: >= 2.7 > > Package: ${PN} > Architecture: any > -Depends: ${shlibs:Depends}, ${python:Depends}, linux-image-${KERNEL_NAME}, > python-mako > +Depends: ${shlibs:Depends}, ${python3:Depends}, linux-image-${KERNEL_NAME}, > python3-mako > Description: ${DESCRIPTION} > diff --git a/recipes-jailhouse/jailhouse/files/debian/rules > b/recipes-jailhouse/jailhouse/files/debian/rules > index 0b53ade..8b14792 100755 > --- a/recipes-jailhouse/jailhouse/files/debian/rules > +++ b/recipes-jailhouse/jailhouse/files/debian/rules > @@ -27,4 +27,4 @@ export ARCH=x86 > endif > > %: > - CFLAGS= LDFLAGS= dh $@ --parallel --with python2 > + CFLAGS= LDFLAGS= dh $@ --parallel --with python3 > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/ef591b13-1dfb-47f4-0a20-a4cacb63ac37%40siemens.com.
