Install userspace utilities and UEFI roms via dh_install

Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Emmanuel Kasper 2017-10-11 11:06:06 +02:00 committed by Wolfgang Bumiller
parent 68ba098a84
commit fd202a5abe
2 changed files with 10 additions and 11 deletions

9
debian/pve-qemu-kvm.install vendored Normal file
View File

@ -0,0 +1,9 @@
# install the userspace utilities
vma usr/bin/
debian/kvm-ifup etc/kvm/
debian/kvm-ifdown etc/kvm/
#install ovmf uefi rom
debian/OVMF_CODE-pure-efi.fd usr/share/kvm/
debian/OVMF_VARS-pure-efi.fd usr/share/kvm/

12
debian/rules vendored
View File

@ -89,16 +89,6 @@ install: build
mv $(destdir)/usr/bin/qemu-system-$(ARCH) $(destdir)/usr/bin/kvm
mv $(destdir)/usr/share/man/man1/qemu.1 $(destdir)/usr/share/man/man1/kvm.1
# Install the userspace utilities
install -s -m 0755 vma $(destdir)/usr/bin/
install -D -m 0755 $(CURDIR)/debian/kvm-ifup $(destdir)/etc/kvm/kvm-ifup
install -D -m 0755 $(CURDIR)/debian/kvm-ifdown $(destdir)/etc/kvm/kvm-ifdown
#install ovmf uefi rom
install -D -m 0644 $(CURDIR)/debian/OVMF_CODE-pure-efi.fd $(destdir)/usr/share/kvm/OVMF_CODE-pure-efi.fd
install -D -m 0644 $(CURDIR)/debian/OVMF_VARS-pure-efi.fd $(destdir)/usr/share/kvm/OVMF_VARS-pure-efi.fd
# we do not need openbios files (sparc/ppc)
rm -rf $(destdir)/usr/share/kvm/openbios-*
# remove ppc files
@ -127,7 +117,7 @@ binary-arch: build install
dh_installchangelogs
dh_installdocs
dh_installexamples
# dh_install
dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate