Commit Graph

35 Commits

Author SHA1 Message Date
Daniel Baumann 4abb4a4045 Enabling security archives on wheezy. 2012-07-18 22:44:30 +02:00
Daniel Baumann 14a43495ca Correcting some distribution specific checks to make them derivatives compliant. 2012-07-18 22:44:05 +02:00
Daniel Baumann 600275fcf9 Adding support for pinning preferences files in config/archives/*.pref{.chroot,.binary}. 2012-07-18 21:03:20 +02:00
Daniel Baumann 23bf55a73c Applying patch from Steven Shiau <steven@nchc.org.tw> to conditionally copy /etc/apt/secring.gpg* files. 2012-07-18 17:45:52 +02:00
Daniel Baumann 434307c22d Updating cache directory names to consistent naming scheme. 2012-06-04 11:55:22 +02:00
Daniel Baumann aa0c0fb107 Renaming internal .stage to .build for consistency within the configuration tree. 2012-06-03 22:42:41 +02:00
Daniel Baumann db4b354436 Improve backports handling in derivatives mode.
If LB_BACKPORTS=true, then backports are configured in sources.list,
however, not enabled.

If backports are enabled depends on pinning, either manually through
apt/preferences.d snipplets in local includes/chroot_apt, or,
depending on distribution (e.g. building artax-backports enables
pinning automatically).
2012-02-06 23:15:13 +01:00
Daniel Baumann 822dc2c028 Updating year in copyright notices for 2012. 2012-02-06 23:15:12 +01:00
Daniel Baumann 335b5d0352 Using /etc/apt/sources.list.d/debian.list instead of /etc/apt/sources.list in derivative mode. 2012-02-06 23:15:11 +01:00
Daniel Baumann 0da0a10a95 Also strip out source archives from local archive definitions when using --apt-source-archives false. 2011-10-13 17:44:00 +02:00
Daniel Baumann 5ec41753cc Adding bug number to comments when moving top-level sources.list. 2011-10-03 12:38:59 +02:00
Daniel Baumann fc0d34a31b Making top sources.list conditional, not everyone necessarily always uses that. 2011-09-30 15:42:51 +02:00
Daniel Baumann cf4f1c8ace Treating sources.list top-level file specially to workaround bug in apt that makes sources.list.d sources to be never prefered over main sources.list when using pinning (Closes: #573054). 2011-09-30 15:26:34 +02:00
Daniel Baumann b1cfba42e7 Making sure that volatile for the parent distribution is still included in derivatives mode. 2011-09-14 21:02:17 +02:00
Daniel Baumann ad269a6b71 Updating volatile handling in chroot_archives for derivatives when using foo-backports distribution scheme. 2011-09-14 20:43:20 +02:00
Daniel Baumann c2633d2405 Correcting syntax error in local package handling. 2011-09-07 17:37:37 +02:00
Daniel Baumann 9119f24831 Also respect config/packages for packages to be installed in both chroot and binary. 2011-09-07 17:33:53 +02:00
Daniel Baumann c1169e2491 Setting origin in apt release files for local packages to config/packages.chroot. 2011-09-07 16:02:03 +02:00
Daniel Baumann e82aa25134 Renaming config/chroot_packages to config/packages.chroot. 2011-09-07 15:59:48 +02:00
Daniel Baumann 7dd4473d5a Renaming --apt-source to --apt-source-archives. 2011-08-24 23:30:22 +02:00
Daniel Baumann 3ceb68b7d4 Introducing --apt-sources option to control if the live system should have deb-src entries in sources.list. 2011-08-24 22:46:32 +02:00
Daniel Baumann 78b10b2bd2 Merging in last bit of lb_chroot_local-packages into lb_chroot_archives (Closes: #635046). 2011-08-16 20:55:47 +02:00
Daniel Baumann fd344cdbed Correcting wrong variables in volatile handling for derivatives. 2011-08-16 08:40:27 +02:00
Daniel Baumann 557e4c365b Also guarding key additions for local configured archives to not fail if no key is supplied. 2011-08-09 13:05:29 +02:00
Daniel Baumann eedfa8e5ce Guarding archives handling with an additional check to prevent ugly message about files not existing. 2011-08-08 12:39:43 +02:00
Daniel Baumann 724f5b4dc8 Also using definition files without suffix (so that e.g. foo.list is used for both chroot and binary stage). 2011-08-08 08:10:07 +02:00
Daniel Baumann a51393f49b Reverse keywords in suffix of the archive definition files for consistency.
Previously, config/archives/foo.{binary,chroot}.{key,list} was used,
now we use config/archives/foo.{key,list}.{binary,chroot}.

That way, we're using the same single suffix for all files to make
them specific for either binary and chroot, rather than having
an exception to the rule for archive definitions.
2011-08-05 08:28:45 +02:00
Daniel Baumann ef2752faab Adding kubuntu mode in order to have different defadefault hooks enabled for ubuntu and kubuntu (needed for #630088). 2011-07-19 10:51:20 +02:00
Daniel Baumann 42cfa2bf03 Correcting wrong chroot call in chroot_archives, only affecting derivatives. 2011-06-29 07:51:41 +02:00
Daniel Baumann bfadca3225 Correct keyring packages temporary workaround to not fail when aptitude is selected (Closes: #630919). 2011-06-18 23:10:39 +02:00
Daniel Baumann b86f9c6380 Since we don't have global packages anymore, renaming lb_chroot_local-packages to lb_chroot_packages and config/chroot_local-packages to config/chroot_packages. 2011-06-15 22:08:44 +02:00
Daniel Baumann 36ecab10d3 Using .list suffix in config/archives. 2011-06-15 21:27:29 +02:00
Daniel Baumann 2312f18ef1 Changing archives key suffix from .gpg to .key. 2011-06-15 21:25:14 +02:00
Daniel Baumann a2551605c0 Unifying config/chroot_archives and config/archives, now only using config/archives.
Previously, we had config/chroot_sources (or config/chroot_archives)
that allowed local configuration for third-party repositories but we
also had config/archives (or config/repositories) that did the very
same, but also alled to use 'variables' (e.g. @DISTRIBUTION@ or
@ARCHIVE_AREAS@ to be used) that got replaces automatically.

Now, we have only config/archives that can do both. This gets rid
of the unecessary double handling of the same thing in two places.
2011-06-15 21:05:09 +02:00
Daniel Baumann 2cf5daeaef Renaming chroot_sources script to chroot_archives for consistency with debian-policy terminology. 2011-06-15 20:48:56 +02:00