diff mbox

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

Message ID 1379075309-5133-1-git-send-email-kim.hansen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

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

---
 classes/package.oeclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Esben Haabendal Sept. 17, 2013, 6:42 p.m. UTC | #1
<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
diff mbox

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)