[elbe-devel] devel folder issue
Torben Hohn
torben.hohn at linutronix.de
Wed Dec 16 10:16:23 CET 2020
On Thu, Dec 10, 2020 at 03:09:09PM +0100, Köry Maincent wrote:
> Hello Torben,
>
> Thank for your reply.
Hello Köry,
i have found the problem.
When --devel is specified, the elbe-daemon service files are
changed using sed to start the elbe daemon from devel.
The names of these have changed. But the target of the sed
lines has not.
The fix is now in master:
https://github.com/Linutronix/elbe/commit/72ae2b09621a90e9c66386e538d8d527389db09b
You can fixup your initvm manually, and dont need to regenerate it, if
you wish.
>
> 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
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list