qubes-linux-utils/debian/rules
Marek Marczykowski-Górecki 3cd77e4f70
debian: introduce qubes-kernel-vm-support package
This package is responsible for kernel modules and initramfs additions
needed in Qubes VM. When installed, it is possible to switch the VM to
use PV Grub and load the kernel from inside of VM. This greatly ease
installing custom kernel modules.

Changes:
 - make qubes_cow_setup.sh working with both dracut and initramfs-tools
 - add initramfs-tools configuration/scripts (including
         qubes_cow_setup.sh)
 - modify DESTDIR to handle multiple binary packages out of single
   source

QubesOS/qubes-issues#1354
2015-11-11 05:10:59 +01:00

18 lines
377 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
export DESTDIR=$(shell pwd)/debian/tmp
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with=systemd,dkms
override_dh_auto_build:
make all LIBDIR=/usr/lib DEBIANBUILD=1
override_dh_auto_install:
make install LIBDIR=/usr/lib DEBIANBUILD=1
make install-debian-kernel-support LIBDIR=/usr/lib DEBIANBUILD=1