From e4befb9e323d74d2e5d4a284df51d6becf3b42cc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Apr 2013 16:31:14 +0000 Subject: always copy /etc/resolv.conf again previous fix for mga#9326 was incomplete in that draklive's auto-install would still have broke with a remote repositery (which we don't use but it's better to have all cases cornered for the sake of it) --- tools/drakx-in-chroot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 4ffc345de..d5d893f3c 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -118,9 +118,7 @@ mkdir_p("$dir/dev"); eval { cp_af($_, "$dir$_") } foreach qw(/dev/root); #- if the DISPLAY is remote, we may need to resolve the name: -if ($remote_repository || $ENV{DISPLAY} !~ /^:/) { - eval { cp_af('/etc/resolv.conf', "$SLASH_LOCATION/resolv.conf") }; -} +eval { cp_af('/etc/resolv.conf', "$SLASH_LOCATION/resolv.conf") }; { chomp(my $kernel_version = `uname -r`); -- cgit v1.2.1