Install userspace utilities and UEFI roms via dh_install
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
68ba098a84
commit
fd202a5abe
9
debian/pve-qemu-kvm.install
vendored
Normal file
9
debian/pve-qemu-kvm.install
vendored
Normal 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
12
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user