1
0
mirror of synced 2026-01-17 00:22:29 +00:00

23 Commits

Author SHA1 Message Date
Axel Beckert
b3c834935a Remove white-space and comment differences between common/20-setup-apt and debian/20-setup-apt 2012-06-04 18:39:31 +02:00
Axel Beckert
db77d621e7 hooks/debian/20-setup-apt: Use blacklist for libc6-xen instead of whitelist 2012-06-04 18:38:22 +02:00
Alex Tomlins
b0bae98746 Use configured apt_proxy in guests. 2011-03-31 09:39:39 +01:00
Axel Beckert
0f99b8b995 Use apt-config dump to determine Dom0's APT proxy settings.
This is the official way, needs no own parsing (therefore less
fault-prone) and shorter. Also fixes Debian bug #560011 -- the manual
parsing did not catch all syntax variants.

Also add some comments before /etc/apt/sources.list generation in the
Ubuntu hooks.
2010-08-03 15:59:10 +02:00
Stéphane Jourdois
aaa6cdc60c Replace single quotes by doubles quotes in scripts
This helps make t/quoted-strings.t pass.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
09f38740c8 Use dom0 resolv.conf when chrooting
Temporarily use resolv.conf from dom0 when chrooting into domU,
to be able to run apt-get and yum inside chroot.

This permits to use different nameservers in domU, and does not
break install nor offline update from dom0.
2010-07-10 10:51:38 +02:00
Axel Beckert
e1c1793232 Do not add security support if we're installing Sid 2010-05-23 21:40:30 +02:00
Axel Beckert
df82d28c3c Refactoring: Make check for sources.list more readable 2010-05-23 21:38:11 +02:00
Axel Beckert
f007a6e7c5 Also check /etc/apt/sources.list.d for security updates 2010-03-26 20:52:43 +01:00
Axel Beckert
110498e5b8 First check if /etc/apt/sources.list exists, then grep it. If it doesn't exist enable security updates by default 2010-03-26 20:51:35 +01:00
Axel Beckert
b9c1b50873 Just check for the string 'security' in sources.list, so it also matches local and ubuntu mirrors (LP: #309750) 2010-03-26 20:46:13 +01:00
steve
634453b122 2007-06-11 16:41:27 by steve
Only add Debian Sources for security.debian.org to the guest if
 enabled upon the host.
2007-06-11 16:41:27 +00:00
steve
8580e93a93 2007-06-04 05:59:42 by steve
Updated.
2007-06-04 05:59:42 +00:00
steve
a8705d4bd5 2006-12-26 15:43:41 by steve
Make sure we use the correct dist in the security list.
2006-12-26 15:43:41 +00:00
steve
0d42b3e9e0 2006-11-19 19:41:34 by steve
Fixups for test cases.
2006-11-19 19:41:36 +00:00
steve
203adbb5cc 2006-11-15 14:31:33 by steve
Don't touch TLS if we're on a 64 bit host.

  See #397933
2006-11-15 14:31:34 +00:00
steve
1abc474dfc 2006-11-15 14:28:38 by steve
Fetch libc6-xen from the configured apt source.

  See #397784
2006-11-15 14:28:38 +00:00
steve
d27df26181 2006-08-18 15:08:24 by steve
1.  Copy "resolv.conf" before running apt-get update / yum update.
      Without this DNS is probably not available/working.

  2.  Copy /etc/sudoers from the host, if we're installing sudo.
2006-08-18 15:08:24 +00:00
steve
6314c2a133 2006-08-03 15:12:25 by steve
1.  Setup a HTTP proxy for apt on the guests if present on the host.
  2.  Make the ubuntu script identical to the debian one.
2006-08-03 15:12:26 +00:00
steve
b413aae0fb 2006-06-15 07:47:02 by steve
BUGFIX:  *really* allow tests to succeed prior to installation.
2006-06-15 07:47:05 +00:00
steve
c1e4d3531b 2006-06-15 07:42:59 by steve
Source common.sh from the parent directory if the global installation
 isn't found.
  This allows "make test" to succeed *before* the tools are installed.
2006-06-15 07:42:59 +00:00
steve
d10e0ef0f2 2006-06-09 13:36:14 by steve
Use a fully qualified path to the 'common.sh', so we don't need to
 use chdir() when running our hooks
2006-06-09 13:36:14 +00:00
steve
efa1df08de 2006-06-09 10:30:37 by steve
Added to the repository.  These are almost straight copies of the
 previous hook scripts except they are now Debian-specific.

  They also each log their start and finish and optional information
 via the use of the ../common.sh file.

  No major changes anticipated.
2006-06-09 10:30:37 +00:00