| Message ID | 20260310134659.882794-2-Alexander.Feilke@ew.tq-group.com |
|---|---|
| State | Accepted, archived |
| Commit | 2f35dac0c821ab231459922ed98e1b2cc599ca9a |
| Delegated to: | Yoann Congal |
| Headers | show |
| Series | Backport to 2.8: fetch2: don't try to preserve all | expand |
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 7b75d5d83..224408de0 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -1606,7 +1606,7 @@ class FetchMethod(object): if urlpath.find("/") != -1: destdir = urlpath.rsplit("/", 1)[0] + '/' bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir)) - cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir) + cmd = 'cp --force --preserve=timestamps --no-dereference --recursive -H "%s" "%s"' % (file, destdir) else: urldata.unpack_tracer.unpack("archive-extract", unpackdir)