]> git.proxmox.com Git - dab.git/commitdiff
add experimental support for upcomming Debian Bullseye
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Feb 2020 10:42:31 +0000 (11:42 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Feb 2020 10:47:04 +0000 (11:47 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
DAB.pm

diff --git a/DAB.pm b/DAB.pm
index 0554d484510ef8e7d89e012c2107f65bcc1af460..6ce5f67f9bb7fbc3c50aad70b689d1b8f41ff589 100644 (file)
--- a/DAB.pm
+++ b/DAB.pm
@@ -60,6 +60,9 @@ sub __url_to_filename {
 # defaults:
 #  origin: debian
 my $supported_suites = {
+    'bullseye' => {
+       ostype => "debian-11.0",
+    },
     'buster' => {
        ostype => "debian-10.0",
     },
@@ -562,7 +565,7 @@ sub new {
        push @$incl, 'libperl4-corelibs-perl'; # to make lsof happy
        push @$excl, qw(systemd systemd-sysv udev module-init-tools pciutils hdparm 
                        memtest86+ parted);
-    } elsif ($suite eq 'stretch' || $suite eq 'buster') {
+    } elsif ($suite eq 'stretch' || $suite eq 'buster' || $suite eq 'bullseye') {
        push @$excl, qw(module-init-tools pciutils hdparm
                        memtest86+ parted);
      } else {
@@ -1638,6 +1641,10 @@ sub task_postgres {
     } elsif ($suite eq 'buster') {
         @supp = ('11');
         $pgversion = '11';
+    } elsif ($suite eq 'bullseye') {
+       # FIXME update on freeze!
+       @supp = ('12');
+       $pgversion = '12';
     }
 
     $pgversion = $opts->{version} if $opts->{version};