Patchwork [core] dangling symlink check should use the package directory, not install

login
register
mail settings
Submitter kim.hansen@prevas.dk
Date Sept. 13, 2013, 12:28 p.m.
Message ID <1379075309-5133-1-git-send-email-kim.hansen@prevas.dk>
Download mbox | patch
Permalink /patch/274768/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

kim.hansen@prevas.dk - Sept. 13, 2013, 12:28 p.m.
From: Kim Højgaard-Hansen <kiho@prevas.dk>

---
 classes/package.oeclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Esben Haabendal - Sept. 17, 2013, 6:42 p.m.
<kim.hansen@prevas.dk> writes:

> From: Kim Højgaard-Hansen <kiho@prevas.dk>
>
> ---
>  classes/package.oeclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/classes/package.oeclass b/classes/package.oeclass
> index c37f3c1..5eda4ba 100644
> --- a/classes/package.oeclass
> +++ b/classes/package.oeclass
> @@ -94,7 +94,7 @@ def do_split(d):
>      for pkg in package_list:
>          dangling_links[pkg] = []
>          pkg_files[pkg] = []
> -        inst_root = os.path.join(ddir, pkg)
> +        inst_root = os.path.join(pkgd, pkg)
>          for root, dirs, files in os.walk(inst_root):
>              for f in files:
>                  path = os.path.join(root, f)

Merged to master, thanks.

/Esben

Patch

diff --git a/classes/package.oeclass b/classes/package.oeclass
index c37f3c1..5eda4ba 100644
--- a/classes/package.oeclass
+++ b/classes/package.oeclass
@@ -94,7 +94,7 @@  def do_split(d):
     for pkg in package_list:
         dangling_links[pkg] = []
         pkg_files[pkg] = []
-        inst_root = os.path.join(ddir, pkg)
+        inst_root = os.path.join(pkgd, pkg)
         for root, dirs, files in os.walk(inst_root):
             for f in files:
                 path = os.path.join(root, f)