[yocto] Master build error caused a small typo by commit today : fetch2: unpack revision

Ke, Liping liping.ke at intel.com
Fri Feb 11 21:05:40 PST 2011


Hi, all

Just found a small typo which caused built error today. The "%d" (file) should be changed to "%s", otherwise, compile error.

Anybody could help to modify the small bug if you're happening sending patches.

Thanks a lot for your help!
criping





author	Mark Hatle <mark.hatle at windriver.com>	2011-02-11 17:43:54 (GMT)
committer	 Richard Purdie <richard.purdie at linuxfoundation.org>	2011-02-12 00:30:29 (GMT)
commit	3faa635fd408695dd5b754fda3f6060dd670b81d (patch) (side-by-side diff)
tree	d0ba5d2d4acca9f7748029116f3a74877ee899c9
parent	e56f63a2843e5a7d70fd60e0aaed4d962a277da7 (diff)
download	poky-3faa635fd408695dd5b754fda3f6060dd670b81d.zip
poky-3faa635fd408695dd5b754fda3f6060dd670b81d.tar.gz
poky-3faa635fd408695dd5b754fda3f6060dd670b81d.tar.bz2



@@ -706,17 +720,17 @@ class FetchMethod(object):
                             destdir = "."
                         elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK):
                             os.makedirs("%s/%s" % (rootdir, destdir))
-                    cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
+                    #cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
+                    cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir)







More information about the yocto mailing list