Copy Qubes-specific modules from %_sourcedir

When building outside of repository, ensure that all sources will be in
builddir.
devel-3.7
Marek Marczykowski 11 years ago committed by Joanna Rutkowska
parent 8367a772f4
commit c540f2f10c

@ -85,7 +85,7 @@ Source205: patches.xen
Source207: patches.kernel.org
Source300: patches.qubes
Source301: u2mfn
Source302: vm-initramfs-pre-udev
Source302: vm-initramfs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64
@ -104,6 +104,11 @@ SYMBOLS="xen-dom0 %{build_flavor}"
# Unpack all sources and patches
%setup -q -c -T -a 0
if [ %{_sourcedir} != %{_builddir} ]; then
cp -r %{SOURCE301} %{_builddir}/
cp -r %{SOURCE302} %{_builddir}/
fi
mkdir -p %kernel_build_dir
cd linux-%version

Loading…
Cancel
Save