I'm new to building packages from Debian
sources, so I followed instructions from
https://wiki.debian.org/HowToPackageForDebian#Building_Debian_packages
$ apt-get -t wheezy-backports source libvirt
$ cd libvirt-0.9.12.3/
$ sudo apt-get build-dep libvirt
$ debuild -i -us -uc -b
So... yes, it works and builds without any errors.
Next step now is applying the changes mentioned.
But I'm confused because apparently debian/rules is
already the way it should be.
ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
WITH_STORAGE_LVM = --with-storage-lvm
WITH_STORAGE_ISCSI = --with-storage-iscsi
WITH_STORAGE_DISK = --with-storage-disk
WITH_UDEV = --with-udev --without-hal
WITH_CAPNG = --with-capng
WITH_POLKIT = --with-polkit
WITH_MACVTAP = --with-macvtap
WITH_NETWORK = --with-network
WITH_QEMU = --with-qemu
WITH_OPENVZ = --with-openvz
WITH_NETCF = --with-netcf
ifneq (,$(findstring $(DEB_HOST_ARCH), amd64 i386 ia64 mips mipsel powerpc))
WITH_NUMA = --with-numactl
else
WITH_NUMA = --without-numactl
endif
ifneq (,$(findstring $(DEB_HOST_ARCH), ia64))
WITH_LXC = --without-lxc
else
WITH_LXC = --with-lxc
endif
else
WITH_STORAGE_LVM = --without-storage-lvm
WITH_STORAGE_ISCSI = --without-storage-iscsi
WITH_STORAGE_DISK = --without-storage-disk
WITH_UDEV = --without-udev --with-hal
WITH_CAPNG = --without-capng
WITH_POLKIT = --without-polkit
WITH_MACVTAP = --without-macvtap
WITH_NETWORK = --without-network
WITH_QEMU = --without-qemu
WITH_LXC = --without-lxc
WITH_NUMA = --without-numactl
WITH_NETCF = --without-netcf
endif
I suppose that nothing has to be changed, correct? ... since the then
branch already has the change mentioned and the else
branch probably means that nothing related to networking would be
enabled anyway.
Am I missing something ?