]> git.proxmox.com Git - dab.git/commitdiff
add support for ubuntu xenial, bump version to 2.0-4
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 20 Apr 2016 09:14:47 +0000 (11:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 20 Apr 2016 09:14:47 +0000 (11:14 +0200)
DAB.pm
Makefile
changelog.Debian

diff --git a/DAB.pm b/DAB.pm
index 796c2ed55d1a810417c13e792a606cc4c511cbcd..0f6b993a346485961628df0a8aebf1b09be4921e 100644 (file)
--- a/DAB.pm
+++ b/DAB.pm
@@ -343,6 +343,8 @@ sub new {
        $config->{ostype} = "ubuntu-15.04";
     } elsif ($suite eq 'wily') {
        $config->{ostype} = "ubuntu-15.10";
+    } elsif ($suite eq 'xenial') {
+       $config->{ostype} = "ubuntu-16.04";
     } else {
        die "unsupported debian suite '$suite'\n";
     }
@@ -373,7 +375,8 @@ sub new {
                if ($suite eq 'squeeze' || $suite eq 'wheezy' || $suite eq 'jessie');
            push @{$config->{source}}, "http://security.debian.org SUITE/updates main contrib";
        } elsif ($suite eq 'hardy' || $suite eq 'intrepid' || $suite eq 'jaunty' ||
-                $suite eq 'wily' || $suite eq 'vivid' || $suite eq 'trusty' || $suite eq 'precise') {
+                $suite eq 'xenial' || $suite eq 'wily' || $suite eq 'vivid' ||
+                $suite eq 'trusty' || $suite eq 'precise') {
            my $comp = "main restricted universe multiverse";
            push @{$config->{source}}, "http://archive.ubuntu.com/ubuntu SUITE $comp"; 
            push @{$config->{source}}, "http://archive.ubuntu.com/ubuntu SUITE-updates $comp"; 
@@ -440,7 +443,7 @@ sub new {
     # ubuntu has too many dependencies on udev, so
     # we cannot exclude it (instead we disable udevd)
 
-    if ($suite eq 'vivid' || $suite eq 'wily') {
+    if ($suite eq 'vivid' || $suite eq 'wily' || $suite eq 'xenial') {
        push @$incl, 'isc-dhcp-client';
        push @$excl, qw(libmodule-build-perl);
     } elsif ($suite eq 'trusty') {
@@ -1111,7 +1114,7 @@ sub install_init_script {
     $self->run_command ("install -m 0755 '$script' '$target'");
     if ($suite eq 'etch' || $suite eq 'lenny') {
        $self->ve_command ("update-rc.d $base start $prio $runlevel .");
-    } elsif ($suite eq 'wily' || $suite eq 'vivid') {
+    } elsif ($suite eq 'xenial' || $suite eq 'wily' || $suite eq 'vivid') {
        die "unable to install init script (system uses systemd)\n";
     } elsif ($suite eq 'trusty' || $suite eq 'precise') {
        die "unable to install init script (system uses upstart)\n";
@@ -1230,7 +1233,7 @@ sub bootstrap {
     # avoid warnings about non-existent resolv.conf
     write_file ("", "$rootdir/etc/resolv.conf", 0644);
 
-    if ($suite eq 'wily') {
+    if ($suite eq 'xenial' || $suite eq 'wily') {
        # no need to configure loopback device
     } else {
        $data = "auto lo\niface lo inet loopback\n";
index 2014e2895af78d0eebb6bb740d7756fdcb0c9544..6a34606e2eb91d734f0702454f00baf00a930a1e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=4.0
 
 VERSION=2.0
 PACKAGE=dab
-PKGREL=3
+PKGREL=4
 
 
 SCRIPTS=                                       \
index 92f8b1a0c989710344fb66c3391abf52c835f795..de655e76f1eb945345cf452c34f09b2f8aeff545 100644 (file)
@@ -1,3 +1,9 @@
+dab (2.0-4) unstable; urgency=medium
+
+  * add support for ubuntu xenial
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Apr 2016 11:14:30 +0200
+
 dab (2.0-3) unstable; urgency=medium
 
   * add support for ubuntu wily