~qrilka/ubuntu/precise/libvirt/libvirt-fix-1092826

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-06-11 21:52:02 UTC
  • Revision ID: package-import@ubuntu.com-20120611215202-nxaj10fyv0p07su4
Tags: 0.9.8-2ubuntu17.2
* debian/libvirt-bin.install, debian/rules: name the apport file
  source_libvirt.py, not source_libvirt-bin.py.  (LP: #1007405)
* install /etc/dnsmasq.d/libvirt to configure system wide dnsmasq to not
  listen on the libvirt bridge.  (Following Stéphane's lxc example)
  (LP: #928524) (LP: #231060)
  - postinst: restart dnsmasq; postrm: remove dnsmasq.d/libvirt file and
    restart dnsmasq;  rules, libvirt-bin.dirs and libvirt-bin.install:
    install new debian/libvirt-bin.dnsmasq file.
* Warn user about bad pc-0.12 machine type, and help user transition.
  (LP: #1001625)
  - qemu-warn-on-pc-0.12.patch: When defining or starting a VM which uses the
    pc-0.12 machine type, warn in libvirtd.log. 
  - debian/libvirt-migrate-qemu-machinetype: automatically migrate QEMU VMs
    to newest machine type.  This is not done automatically as there will
    be some users who have good reason to stay with pc-0.12.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        cp -f debian/apparmor/local-usr.sbin.libvirtd debian/tmp/etc/apparmor.d/local/usr.sbin.libvirtd
118
118
        cp -f debian/apparmor/TEMPLATE debian/tmp/etc/apparmor.d/libvirt
119
119
        mkdir -p debian/tmp/usr/share/apport/package-hooks
120
 
        cp -f debian/libvirt-bin.apport debian/tmp/usr/share/apport/package-hooks/source_libvirt-bin.py
 
120
        cp -f debian/libvirt-bin.apport debian/tmp/usr/share/apport/package-hooks/source_libvirt.py
121
121
        mkdir -p debian/tmp/usr/sbin
122
122
        cp -f debian/libvirt-migrate-qemu-disks debian/tmp/usr/sbin
 
123
        cp -f debian/libvirt-migrate-qemu-machinetype debian/tmp/usr/sbin
 
124
 
 
125
        # copy dnsmasq configuration
 
126
        mkdir -p debian/tmp/etc/dnsmasq.d
 
127
        cp debian/libvirt-bin.dnsmasq debian/tmp/etc/dnsmasq.d/libvirt-bin
123
128
 
124
129
 
125
130
binary-install/libvirt-doc::