[elbe-devel] [PATCH] Include /lib in sysroot even on buster

Torben Hohn torben.hohn at linutronix.de
Wed Dec 4 17:58:41 CET 2019


On Mon, Dec 02, 2019 at 04:09:16PM +0100, bage at linutronix.de wrote:
> From: Bastian Germann <bage at linutronix.de>
> 
> Include /lib in the sysroot file list to have the symlink available for
> buster targets.
> 
> Closes #249.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>
> ---
>  elbepack/elbeproject.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index 49b8f6460..79c689779 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -298,6 +298,8 @@ class ElbeProject (object):
>          os.chdir(self.sysrootpath)
>          for p in paths:
>              do('find -path "%s" >> %s' % (p, sysrootfilelist))
> +        # inlude /lib because it may be a symlink
> +        do('echo ./lib >> %s' % sysrootfilelist)

this will make it include the whole lib subdir, when that is not a link
pre buster.

Thats not acceptable.


>  
>          do("tar cfJ %s/sysroot.tar.xz -C %s -T %s" %
>             (self.builddir, self.sysrootpath, sysrootfilelist))
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
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