From 71dc83c77b785244bcb9ed4a07d17eee24437184 Mon Sep 17 00:00:00 2001 From: Alexandre Le Gall Date: Thu, 21 Sep 2023 16:09:59 +0200 Subject: [PATCH] [FIX] Ajouter le paquet resolvconf --- distrobuilder/debian-sid.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/distrobuilder/debian-sid.yml b/distrobuilder/debian-sid.yml index 47d678a..b125880 100644 --- a/distrobuilder/debian-sid.yml +++ b/distrobuilder/debian-sid.yml @@ -38,7 +38,6 @@ packages: - action: install packages: - locales - - resolvconf - sudo - action: remove packages: @@ -50,7 +49,6 @@ actions: #!/bin/sh set -eux - echo "REPORT_ABSENT_SYMLINK=no" | tee /etc/default/resolvconf - trigger: post-packages action: |- @@ -62,7 +60,12 @@ actions: dpkg-reconfigure --frontend=noninteractive locales update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 - # Restore resolv.conf symlink + # Install resolvconf + echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections + echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf + apt-get -y install resolvconf + echo resolvconf resolvconf/linkify-resolvconf boolean true | debconf-set-selections + rm /etc/default/resolvconf ln -nsf ../run/resolvconf/resolv.conf /etc/resolv.conf # Cleanup underlying /run