diff --git a/pisi/constants.py b/pisi/constants.py index 11d03ffc..10d81652 100644 --- a/pisi/constants.py +++ b/pisi/constants.py @@ -62,6 +62,7 @@ class Constants: self.__c.work_dir_suffix = "/work" # these, too, because we might wanna change 'em self.__c.install_dir_suffix = "/install" self.__c.debug_dir_suffix = "/debug" + self.__c.debug_files_suffix = "/usr/lib/debug" self.__c.quilt_dir_suffix = "/patches" # file/directory names diff --git a/pisi/util.py b/pisi/util.py index c8346bab..f73c2e67 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -494,6 +494,7 @@ def strip_directory(top, excludelist=[]): frpath = join_path(root, fn) drpath = join_path(os.path.dirname(top), ctx.const.debug_dir_suffix, + ctx.const.debug_files_suffix, remove_prefix(top, frpath)) # Some upstream sources have buggy libtool and ltmain.sh with them,