Add qubes-builder integration

This commit is contained in:
Marek Marczykowski-Górecki 2015-12-17 02:36:26 +01:00
parent 50a6c3deae
commit e2aa9596eb
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
pkgs/

3
Makefile.builder Normal file
View File

@ -0,0 +1,3 @@
ifeq ($(PACKAGE_SET),dom0)
RPM_SPEC_FILES := kernel.spec
endif

View File

@ -1,3 +1,7 @@
%if 0%{?qubes_builder}
%define _sourcedir %(pwd)
%define _specdir %(pwd)
%endif
# We have to override the new %%install behavior because, well... the kernel is special.
%global __spec_install_pre %{___build_pre}