[elbe-devel] devel folder issue

Köry Maincent kory.maincent at bootlin.com
Thu Dec 10 15:09:09 CET 2020


Hello Torben,

Thank for your reply.

On Wed, 9 Dec 2020 12:25:18 +0100
Torben Hohn <torben.hohn at linutronix.de> wrote:

> On Tue, Nov 24, 2020 at 04:47:00PM +0100, Köry Maincent wrote:
> > Hello,
> > 
> > I used to work on ELBE source from the directory /var/cache/elbe/devel but
> > it seems to no work anymore?
> > The initvm takes the source from /usr/lib/python3/dist-packages/elbepack
> > I think it is an issue because the --devel parameter is useless if we can
> > not use the devel folder to work on ELBE source. Do I have missed
> > something?  
> 
> Hi Köry,
> 
> i think i can not reproduce this behaviour.
> 
> diff --git a/elbepack/directories.py b/elbepack/directories.py
> index 3909dbaa4..afa7287a7 100644
> --- a/elbepack/directories.py
> +++ b/elbepack/directories.py
> @@ -41,6 +41,7 @@ def init_directories(elbe_relpath):
>  
>  
>  def get_cmdlist():
> +    print(elbepack.commands.__path__)
>      return [x for _, x, _ in iter_modules(elbepack.commands.__path__)]
>  
>  
> i have added this print, and it outputs:
> 
> ['/var/cache/elbe/devel/elbepack/commands']

I indeed got the same outputs.
But when I apply in /var/cache/elbe/devel/ the patch I have made it
does not work:
https://lists.linutronix.de/pipermail/elbe-devel/2020-November/005118.html

I need to edit the source located here to make it works:
/usr/lib/python3/dist-packages/elbepack/

Regards,

Köry

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the elbe-devel mailing list