Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 840243 Details for
Bug 884061
sys-kernel/gentoo-kernel: build failure with app-alternatives/tar[libarchive] (tar: Option --owner=0 is not supported)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
linux-tar.patch
linux-tar.patch (text/plain), 1.08 KB, created by
Michał Górny
on 2022-12-05 14:32:47 UTC
(
hide
)
Description:
linux-tar.patch
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2022-12-05 14:32:47 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/kernel/gen_kheaders.sh b/kernel/gen_kheaders.sh >index 473036b43..d2445af7f 100755 >--- a/kernel/gen_kheaders.sh >+++ b/kernel/gen_kheaders.sh >@@ -80,11 +80,20 @@ done | cpio --quiet -pdu $cpio_dir >/dev/null 2>&1 > find $cpio_dir -type f -print0 | > xargs -0 -P8 -n1 perl -pi -e 'BEGIN {undef $/;}; s/\/\*((?!SPDX).)*?\*\///smg;' > >+# The following tar invocations use options specific to GNU tar. On some >+# systems (e.g. Gentoo), `tar` can be a different tool (e.g. bsdtar), and GNU >+# tar can be found as `gtar`. >+if [ -x "$(command -v gtar)" ]; then >+ tar=gtar >+else >+ tar=tar >+fi >+ > # Create archive and try to normalize metadata for reproducibility. > # For compatibility with older versions of tar, files are fed to tar > # pre-sorted, as --sort=name might not be available. > find $cpio_dir -printf "./%P\n" | LC_ALL=C sort | \ >- tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \ >+ $tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \ > --owner=0 --group=0 --numeric-owner --no-recursion \ > -I $XZ -cf $tarfile -C $cpio_dir/ -T - > /dev/null >
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 884061
: 840243