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

Torben Hohn torben.hohn at linutronix.de
Wed Jan 15 15:33:25 CET 2020


On Sat, Dec 07, 2019 at 12:11:06AM +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>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/elbeproject.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index 49b8f6460..9ebb1ceb2 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -298,6 +298,10 @@ class ElbeProject (object):
>          os.chdir(self.sysrootpath)
>          for p in paths:
>              do('find -path "%s" >> %s' % (p, sysrootfilelist))
> +        # include /lib if it is a symlink (buster and later)
> +        if os.path.islink(self.sysrootpath + '/lib'):
> +            with open(sysrootfilelist, 'a') as filelist_fd:
> +                filelist_fd.write('./lib')
>  
>          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