The line
#!/usr/bin/env python3
is already included in script
"/usr/libexec/jailhouse/jailhouse-config-create" as first line!
I can not use a distro form SUSE or Debian.
I have to build our own distro with Yocto (here: "warrior").
And Yocto always installs "python" ("python2") and - as a runtime
dependency of "jailhouse" - "python3" and "python3-mako" also.
The is no package "python2-mako" at all; only "python-mako".
And the packages "python-mako" and "python3-mako" clash with the file
"/usr/bin/mako-render".
Has anyone already created a BSP with "jailhouse" using "Yocto" and solved
these problems?
[email protected] schrieb am Montag, 7. September 2020 um 12:01:46
UTC+2:
> On 07.09.20 11:23, Jan-Marc Stranz wrote:
> > I've build a Linux kernel with CONFIG_STRICT_DEVMEM and
> > CONFIG_IO_STRICT_DEVMEM deactivate, but the hardware check still not
> works.
> > From now I'll ignore the hardware check.
> >
> > I've tried to create the configuration for the root cell on the
> > targetwith " jailhouse config create sysconfig.c" without success.
> > I get an error message "This script requires the mako library to run".
> >
> > My root-fs contains "python3-mako", but "python" ist still "python
> 2.7.18".
> > What version of python is the script unsing?
> >
>
> Distro default. Likely still python2.
>
> > In my image recipe I can't add the package "python-mako" because is is
> > already provided by package "python3-mako".
> > How do I get out of this dilemma again?
>
> Try "python2-mako"? Or use a distro that does not have such problems:
>
> SUSE:
> python3-Mako-1.0.7-lp152.3.3.noarch
> python2-Mako-1.0.7-lp152.3.3.noarch
>
> Debian:
> ii python-mako 1.0.7+ds1-1 all fast and lightweight templating for the
> Python platform
> ii python3-mako 1.0.7+ds1-1 all fast and lightweight templating for the
> Python 3 platform
>
> As a workaround, you may also write
>
> #!/usr/bin/env python3
>
> into tools/jailhouse-config-create.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> 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/cc674085-e9fe-4bd9-a591-47593459c6f2n%40googlegroups.com.