diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2013-12-19 07:09:22 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2013-12-19 07:09:26 -0500 |
commit | 16cb9530566c1026c276e2a5fabd813ebd133544 (patch) | |
tree | 28b101ceb55c9ae5c86d844d836893999ab1475f /kernel.spec | |
parent | e8a7a8c51e17420e97fb456236c2131552611352 (diff) | |
download | kernel-16cb9530566c1026c276e2a5fabd813ebd133544.tar.gz kernel-16cb9530566c1026c276e2a5fabd813ebd133544.tar.xz kernel-16cb9530566c1026c276e2a5fabd813ebd133544.zip |
copy kernel trees around with 'cp -al' so symlinks are preserved.
Fixes weird build failures with coreutils 8.22 (rhbz 1044801)
Diffstat (limited to 'kernel.spec')
-rw-r--r-- | kernel.spec | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec index ce5bd01b2..43e0a6871 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1142,7 +1142,7 @@ if [ ! -d kernel-%{kversion}%{?dist}/vanilla-%{vanillaversion} ]; then done if [[ ! -z $sharedir && -d $sharedir/vanilla-%{kversion} ]] ; then %setup -q -n kernel-%{kversion}%{?dist} -c -T - cp -rl $sharedir/vanilla-%{kversion} . + cp -al $sharedir/vanilla-%{kversion} . else %setup -q -n kernel-%{kversion}%{?dist} -c mv linux-%{kversion} vanilla-%{kversion} @@ -1159,12 +1159,12 @@ if [ ! -d kernel-%{kversion}%{?dist}/vanilla-%{vanillaversion} ]; then done if [[ ! -z $sharedir && -d $sharedir/vanilla-%{vanillaversion} ]] ; then - cp -rl $sharedir/vanilla-%{vanillaversion} . + cp -al $sharedir/vanilla-%{vanillaversion} . else # Need to apply patches to the base vanilla version. - cp -rl vanilla-%{kversion} vanilla-%{vanillaversion} + cp -al vanilla-%{kversion} vanilla-%{vanillaversion} cd vanilla-%{vanillaversion} # Update vanilla to the latest upstream. @@ -1195,7 +1195,7 @@ else fi # Now build the fedora kernel tree. -cp -rl vanilla-%{vanillaversion} linux-%{KVERREL} +cp -al vanilla-%{vanillaversion} linux-%{KVERREL} cd linux-%{KVERREL} @@ -2189,6 +2189,10 @@ fi # ||----w | # || || %changelog +* Thu Dec 19 2013 Josh Boyer <jwboyer@fedoraproject.org> +- copy kernel trees around with 'cp -al' so symlinks are preserved. Fixes + weird build failures with coreutils 8.22 (rhbz 1044801) + * Wed Dec 18 2013 Josh Boyer <jwboyer@fedoraproject.org> - 3.13.0-0.rc4.git3.1 - Linux v3.13-rc4-99-g35eecf0 |