[yocto] [AB PATCH 04/27] PrepPkgIndex.py: ln instead of cp
Elizabeth Flanagan
elizabeth.flanagan at intel.com
Wed Mar 5 10:22:55 PST 2014
From: Beth Flanagan <elizabeth.flanagan at intel.com>
Since pkgindex is no longer using flock() this should be safe now.
Signed-off-by: Beth Flanagan <elizabeth.flanagan at intel.com>
---
lib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py b/lib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py
index 3b2591e..1b41927 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py
@@ -37,9 +37,9 @@ class PrepPkgIndex(ShellCommand):
RPM_PUBLISH_DIR = os.environ.get("RPM_PUBLISH_DIR")
IPK_PUBLISH_DIR = os.environ.get("IPK_PUBLISH_DIR")
# Work around for #4186
- command = "rm -rf ipk; cp -R " + DEST + "/" + IPK_PUBLISH_DIR + " ipk;"
-# command = "rm -rf ipk; ln -s " + DEST + "/" + IPK_PUBLISH_DIR + " ipk;"
-# command = command + "rm -rf rpm; ln -s " + DEST + "/" + RPM_PUBLISH_DIR + " rpm"
+ #command = "rm -rf ipk; cp -R " + DEST + "/" + IPK_PUBLISH_DIR + " ipk;"
+ command = "rm -rf ipk; ln -s " + DEST + "/" + IPK_PUBLISH_DIR + " ipk;"
+ #command = command + "rm -rf rpm; ln -s " + DEST + "/" + RPM_PUBLISH_DIR + " rpm"
self.command = command
ShellCommand.start(self)
--
1.8.1.2
More information about the yocto
mailing list