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

bage at linutronix.de bage at linutronix.de
Mon Dec 2 16:09:16 CET 2019


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)
 
         do("tar cfJ %s/sysroot.tar.xz -C %s -T %s" %
            (self.builddir, self.sysrootpath, sysrootfilelist))
-- 
2.20.1




More information about the elbe-devel mailing list