7cca1b23ee
Since /lib/modules is not mounted read-only anymore (only a selected subdirectory there), it is no longer required to prevent kernel package installation. Even more - since PV Grub being supported, it makes sense to have kernel installed in the VM. QubesOS/qubes-issues#1354
20 lines
753 B
Ruby
20 lines
753 B
Ruby
ifeq ($(PACKAGE_SET),vm)
|
|
RPM_SPEC_FILES := rpm_spec/core-vm.spec \
|
|
rpm_spec/core-vm-doc.spec
|
|
|
|
ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
|
|
DEBIAN_BUILD_DIRS := debian
|
|
SOURCE_COPY_IN := source-debian-quilt-copy-in
|
|
endif
|
|
|
|
ARCH_BUILD_DIRS := archlinux
|
|
endif
|
|
|
|
source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
|
|
source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
|
|
source-debian-quilt-copy-in:
|
|
-$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
|
|
tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
|
|
|
|
# vim: filetype=make
|