Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 374808 Details for
Bug 447370
FreeBSD: cp -a (-P) fails when encountering broken symlinks
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for multibuild.eclass
447370-multibuild.patch (text/plain), 964 bytes, created by
Yuta SATOH
on 2014-04-12 12:32:19 UTC
(
hide
)
Description:
sample patch for multibuild.eclass
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2014-04-12 12:32:19 UTC
Size:
964 bytes
patch
obsolete
>diff --git a/multibuild.eclass b/multibuild.eclass >index 4dc9b19..2466226 100644 >--- a/multibuild.eclass >+++ b/multibuild.eclass >@@ -274,20 +274,27 @@ multibuild_merge_root() { > > local cp_args=() > >- if cp -a --version &>/dev/null; then >- cp_args+=( -a ) >+ # fix bug 447370 >+ if use userland_BSD; then >+ cd "${src}" >+ tar cf - . | tar xf - -C "${dest}" >+ ret=${?} > else >- cp_args+=( -P -R -p ) >+ if cp -a --version &>/dev/null; then >+ cp_args+=( -a ) >+ else >+ cp_args+=( -P -R -p ) >+ fi >+ >+ if cp --reflink=auto --version &>/dev/null; then >+ # enable reflinking if possible to make this faster >+ cp_args+=( --reflink=auto ) >+ fi >+ >+ cp "${cp_args[@]}" "${src}"/. "${dest}"/ >+ ret=${?} > fi > >- if cp --reflink=auto --version &>/dev/null; then >- # enable reflinking if possible to make this faster >- cp_args+=( --reflink=auto ) >- fi >- >- cp "${cp_args[@]}" "${src}"/. "${dest}"/ >- ret=${?} >- > # Remove the lock. > rm "${lockfile}" || die >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 447370
:
332902
|
335060
| 374808 |
374810