Commit Graph

131 Commits

Author SHA1 Message Date
Chris Lamb be0f6ae8a4 Add support for usb-hdd on sparc (requires parted 1.8 from experimental).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:27:35 +01:00
Chris Lamb 766cd2670c Add support for the sparc architecture.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 04:46:51 +01:00
Chris Lamb 4c01d50ea6 Fix truncated Echo_breakage messages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 01:58:07 +01:00
Chris Lamb 0371778301 Add Echo_breakage for messages preceeding often-breaking stages and use before {c,}debootstrap calls
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 18:25:05 +01:00
Daniel Baumann f789ed9a2e Releasing live-helper 1.0~a47-1. 2008-06-08 23:00:54 +02:00
Chris Lamb 08d09da84f Allow needle and haystack parts of packagelist #if constructs to be lists
This allows us to write:

 #if SECTIONS contrib non-free
 contrib-package
 non-free-package
 #endif

and

 #if DISTRIBUTION lenny sid
 new-package
 #endif


Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Daniel Baumann 6e84963c6c Releasing live-helper 1.0~a46-1. 2008-04-28 17:42:18 +02:00
Tiago Bortoletto Vaz 64b7d8cb86 Support list of items for conditionals in package lists
This patch allows giving a list of items for the conditionals in package
lists. For example, it's possible to specify some packages for more than one
architecture in the same conditional block:

 package01
 #if ARCHITECTURE i386 amd64
 package02
 package03
 #endif
 package04

where package01 and package04 are available for all architectures, but
package02 and package03 are available only for i386 and amd64 architectures.
2008-04-27 19:16:39 -03:00
Chris Lamb d77ee36137 Support simple conditionals in package lists
This patch adds support for simple conditionals in package lists. For
example, to limit a package to i386 only:

 foo
 #if ARCHITECTURE i386
 package-only-in-i386
 #endif
 bar

Any variable that beings in LH_ can be expanded:

 #if MODE ubuntu
 package-only-in-ubuntu
 #endif

Nesting of conditionals is not supported. If the variable to be expanded
does not exist, the conditional is false.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-26 23:43:01 +01:00
Chris Lamb bb68e30166 Use APT::Install-Recommends to disable installation of recommends for Etch
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-26 22:20:06 +01:00
Daniel Baumann 8d241680ca Adding powerpc64 to default kernel flavours (in addition to the normal 32 bit one). 2008-04-25 14:14:16 +02:00
Daniel Baumann d236758c6b Releasing live-helper 1.0~a45-1. 2008-04-21 11:18:57 +02:00
Daniel Baumann 5bc25fd2eb Adjusting Save_cache(); to skip already cached .deb files and only copying new packages to it. 2008-04-19 17:39:44 +02:00
Chris Lamb d49857d8ff Rewrite Expand_packagelist to not be recursive
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-19 16:29:28 +01:00
Daniel Baumann eb7982d74e Releasing live-helper 1.0~a44-1. 2008-04-16 10:20:54 +02:00
Chris Lamb b16cedc254 Don't install "Recommends:" when installing local tools
This patch disables the installation of "Recommends:" packages whilst
obtaining build utilities such as 'syslinux'.

It has three benefits:

 * Doesn't waste time installing useless packages whilst building.

 * Keeps the "binary chroot" clean - packages leak into the the live system
   on a rebuild.

 * Makes the behaviour of Install_Package more predictable and independent
   of the chroot's APT configuration.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 03:42:28 +01:00
Daniel Baumann 3f703f4802 Consistenly using short options rather than long options in function files. 2008-04-15 17:17:48 +02:00
Daniel Baumann fd818bdd1d Improving .deb caching by using hardlinks (if possible). 2008-04-15 17:16:28 +02:00
Chris Lamb 37666ee1bb helpers/lh_config, functions/defaults.sh: Correct "boostrap" -> "bootstrap"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-10 22:31:17 +01:00
Daniel Baumann f4c10e4614 Releasing live-helper 1.0~a43-1. 2008-04-09 20:55:14 +02:00
Daniel Baumann eded2a1791 Fixing forgotten variable in conffile loop. 2008-04-08 17:58:47 +02:00
Daniel Baumann 8f2ad4fc97 Allowing multiple arguments for Read_conffile();. 2008-04-07 12:04:35 +02:00
Daniel Baumann af3aebda73 Centraly evaluate LH_CONFIG for custom configuration file. 2008-04-07 12:01:37 +02:00
Daniel Baumann c553c5bbe6 Removing temporary workaround of adding lzma-modules2.6 to linux packages, all fixed squashfs are now in sid and lenny. 2008-04-03 09:09:50 +02:00
Daniel Baumann 01825caf3b Releasing live-helper 1.0~a42-1. 2008-03-31 08:06:06 +02:00
Daniel Baumann a5fff6e72d Also including lzma modules on lenny temporarily. 2008-03-28 11:18:25 +01:00
Daniel Baumann 6204d9a8ba Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile (Closes: #472774). 2008-03-26 10:41:42 +01:00
Daniel Baumann 58544b017b Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures (Closes: #472775). 2008-03-26 10:37:39 +01:00
Daniel Baumann fe6768ed0f Releasing live-helper 1.0~a41-1. 2008-03-25 09:52:15 +01:00
Chris Lamb 1ca0b58aac Allow LH_ENCRYPTION="disabled" to disable encryption
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-23 04:21:47 +00:00
Daniel Baumann 92edfe399b Switching default of LH_APT from aptitude to apt for >= lenny.
Apt in lenny also supports tracking of 'orphaned' packages. If aptitude is
installed, apt can't be removed, so by switching to apt making the default
images a tiny bit smaller. And, aptitude got mainly default because of the
sarge->etch update recommendation.
2008-03-21 22:51:15 +01:00
Daniel Baumann 055e965427 Including 686 kernel flavour on i386 too, but defaulting (still) to 486 for compatibility reasons. 2008-03-11 10:33:35 +01:00
Otavio Salvador 3289907307 functions/losetup.sh: use SECTORS as variable name to reflect the real usage 2008-03-10 21:15:21 -03:00
Daniel Baumann bf4e15bff2 Bumping live-helper version. 2008-03-08 18:48:27 +01:00
Daniel Baumann ab336ba97e Updating copyright years to 2008. 2008-03-06 16:43:00 +01:00
Daniel Baumann 7f57e72520 Fixed accidental overwriting of LH_NET_TARBALL value in defaults. 2008-03-01 23:18:30 +01:00
Daniel Baumann b29652a480 Adding lzma modules on sid. 2008-02-29 11:48:42 +01:00
Daniel Baumann 0472269ef8 When a wrong argument is passed, that argument should be listed (Closes: #468201). 2008-02-27 19:05:35 +01:00
Daniel Baumann 2d88de5ab6 Adding option to set binary-net compression (or disable it). 2008-02-26 19:57:41 +01:00
Daniel Baumann 9b7193de8e Fixing quoting with chroot wrapper calls. 2008-02-24 15:19:41 +01:00
Daniel Baumann 33ef1c4ce7 Fixing aptitude typo. 2008-02-24 15:12:16 +01:00
Daniel Baumann c251e5f227 Improving etch compat warnings. 2008-02-24 13:41:50 +01:00
Daniel Baumann c6fa0ca042 Renaming LH_MIRROR_BOOTSTRAP* to LH_MIRROR_CHROOT and introducing dedicated LH_MIRROR_BOOTSTRAP for debootstrap/cdebootstrap only. 2008-02-21 20:52:37 +01:00
Daniel Baumann fa3c63f5dc Adding apt/aptitude options.
By using APT_OPTIONS and APTITUDE_OPTIONS in config/common,
one can manipulate the default options wich is made to each
and every apt and aptitude call.
2008-02-21 20:03:57 +01:00
Daniel Baumann 0d0e8bb268 Renaming mini flavour to stripped to avoid confusion, thanks to Fathi Boudra <fabo@debian.org> and Ben Armstrong <synrg@debian.org>. 2008-01-17 18:15:11 +01:00
Daniel Baumann ea91231cba Using ftp.us.debian.org rather than ftp.debian.org, see http://lists.debian.org/debian-devel-announce/2007/12/msg00002.html. 2008-01-16 12:58:07 +01:00
Chris Lamb 8b59b61bb2 Use C-style 'include' in lists (backwards compatible).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-16 10:19:10 +01:00
Daniel Baumann 948730f93a Consistently using the pipe as seperator in sed commands now. 2008-01-15 08:25:29 +01:00
Daniel Baumann 042354c7df Switching to GPL3+. 2007-12-22 09:45:48 +01:00
Daniel Baumann 6e28cb02a0 Checking LH_APT when using mini and minimal package lists. 2007-12-22 09:10:25 +01:00