Copy Qubes-specific modules from %_sourcedir
When building outside of repository, ensure that all sources will be in builddir.
This commit is contained in:
parent
3d2838b750
commit
d509e647c5
@ -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…
Reference in New Issue
Block a user