Commit Graph

46 Commits

Author SHA1 Message Date
Daniel Baumann e79e733e49 Adding 'all' configuration file. 2008-04-07 11:58:50 +02:00
Chris Lamb 32f6dcd3a3 lh_binary_debian-installer: Preseed by repacking initrd in some situations
This patch repacks the initrd when using the d-i netboot images in order
to incorporate a preseed.cfg if it exists. Before this patch, preseeding
of d-i netboot images was not possible.

Repacking the initrd has the additional advantage of being able to preseed
the first few questions of the installation process.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:13:03 +00:00
Chris Lamb 3e5f888a19 lh_binary_debian-installer: Merge pool/netboot determining logic
The code which determined whether to use the netboot d-i images was the
inverse of the code which determined whether to create a local package
pool: this patch merges the two.

This patch additionally ensures that setting "businesscard" whilst building
an ISO image will install the d-i netboot images; this was causing d-i
failures when it couldn't find its (non-existent) package pool.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:09:46 +00:00
Chris Lamb c70412bcfa lh_binary_debian-installer: Remove "local"-oriented bashisms
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:05:42 +00:00
Chris Lamb 9321c45188 lh_binary_debian-installer: Don't use --no-clobber for downloading files
Using --no-clobber at the same time as -O<file> results in <file> being
created with no contents, which was resulting in (broken) zero-byte d-i
kernels and initrds.

The patch is simple -- simply remove --no-clobber: wget -O<file> <url> will always download <url> to <file>, regardless of how
many times it is run.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:32:11 +00:00
Chris Lamb cf25064250 lh_binary_debian-installer: Only create package pools when necessary
There is no need to create a package pool when creating a netboot Debian
Live image or when the LH_DEBIAN_INSTALLER is set to "businesscard".

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:31:42 +00:00
Chris Lamb 762613f277 lh_binary_debian-installer: Re-enable d-i on netboot images
This patch also modifies the configuration logic to ensure that setting
LH_DEBIAN_INSTALLER="enabled" whilst creating a netboot image will install
the netboot variety of d-i.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:30:55 +00:00
Daniel Baumann ab336ba97e Updating copyright years to 2008. 2008-03-06 16:43:00 +01:00
Daniel Baumann 179b86ab64 Using wildcards to support more than one preseeding file. 2008-02-29 13:32:16 +01:00
Daniel Baumann d104e3f6e7 Honor local preseeding file for debian-installer. 2008-02-29 13:27:56 +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
Chris Lamb c84e3c096b Re-add guards against bogus 'for' shell expansion.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 19:47:50 +00:00
Chris Lamb 73acaf73d3 Refactor d-i udeb handling with better failure mode (Closes: #444565)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 19:45:07 +00:00
Chris Lamb 1f436f7483 Use Install_file for udebs. 2008-01-15 19:42:28 +00:00
Daniel Baumann 948730f93a Consistently using the pipe as seperator in sed commands now. 2008-01-15 08:25:29 +01:00
Chris Lamb 52e7c9732d Move installing binary.deb/archives/*.deb.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 02:47:29 +00:00
Chris Lamb 5b396d4fe7 Remove conditionals, as an expansion never 'fails': it just
won't copy any files.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 02:44:41 +00:00
Chris Lamb 13e554b150 Refactor installing file to binary/pool/main/./.* functionality.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 02:43:42 +00:00
Chris Lamb f3f9239110 Don't put more than one glob on a 'for' line, unless they are guaranteed
to succeed, otherwise the second one is not expanded and "*.deb" (for
example) is used literally.

This patch expands (haha) each "for" loop into it's own.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 02:41:10 +00:00
Daniel Baumann a03cfd36b8 Replacing backticks with POSIX expression. 2007-09-24 08:47:42 +02:00
Daniel Baumann a019b98615 Respecting LH_QUIET for wget calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-09-23 14:05:14 +02:00
Daniel Baumann 4b52adb6f7 Adding local udeb_exclude file functionality. 2007-09-23 14:05:14 +02:00
Daniel Baumann f36f7d499a Do not remove pkgsel anymore. 2007-09-23 14:05:12 +02:00
Daniel Baumann 1db91d83b0 Do not create symlinks on usb-hdd images. 2007-09-23 14:05:12 +02:00
Daniel Baumann 26961cb572 Making local udebs/local debs architecture aware. 2007-09-23 14:05:11 +02:00
Daniel Baumann 20aad4c211 Removing both required local and d-i udebs when using live-installer. 2007-09-23 14:05:11 +02:00
Daniel Baumann c338316ee2 Added forgotten path to bootstrap-base removal. 2007-09-23 14:05:11 +02:00
Daniel Baumann 789677ab83 Simplifying debian-installer download. 2007-09-23 14:05:11 +02:00
Daniel Baumann 0e4a03132a Adding support for live-installer. 2007-09-23 14:05:10 +02:00
Daniel Baumann 23c269f3af Simplyfing LH_BASE calls. 2007-09-23 13:59:19 +02:00
Daniel Baumann 6c45ff0870 Setting debian-installer default flavour to netinst. 2007-09-23 13:59:19 +02:00
Daniel Baumann e871d8d6a7 Adding live-helper 1.0~a27-1. 2007-09-23 10:05:21 +02:00
Daniel Baumann 403452b08b Adding live-helper 1.0~a23-1. 2007-09-23 10:05:18 +02:00
Daniel Baumann fdd30ecebf Adding live-helper 1.0~a22-1. 2007-09-23 10:05:17 +02:00
Daniel Baumann 9a280c0dc1 Adding live-helper 1.0~a19-1. 2007-09-23 10:05:15 +02:00
Daniel Baumann 615360e7ad Adding live-helper 1.0~a18-1. 2007-09-23 10:05:14 +02:00
Daniel Baumann ae5c245c5d Adding live-helper 1.0~a17-1. 2007-09-23 10:05:13 +02:00
Daniel Baumann b88a20b5dd Adding live-helper 1.0~a16-1. 2007-09-23 10:05:12 +02:00
Daniel Baumann ce2db1b609 Adding live-helper 1.0~a15-1. 2007-09-23 10:05:12 +02:00
Daniel Baumann 12763194d0 Adding live-helper 1.0~a14-1. 2007-09-23 10:05:11 +02:00
Daniel Baumann 0ffe6970c4 Adding live-helper 1.0~a13-1. 2007-09-23 10:05:11 +02:00
Daniel Baumann 2d176937dd Adding live-helper 1.0~a11-1. 2007-09-23 10:05:09 +02:00
Daniel Baumann f0712b2f79 Adding live-helper 1.0~a10-1. 2007-09-23 10:05:09 +02:00
Daniel Baumann afe37cce93 Adding live-helper 1.0~a9-1. 2007-09-23 10:04:52 +02:00
Daniel Baumann dfd9c85cd9 Adding live-helper 1.0~a8-1. 2007-09-23 10:04:52 +02:00