Daniel Baumann
b7f5a3af97
Removing imported whitespaces.
2008-06-17 07:08:24 +02:00
Chris Lamb
5093b27576
Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:07:05 +01:00
Chris Lamb
2b77ec6b5d
Add support for sparc to lh_binary_debian-installer.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 04:47:23 +01:00
Chris Lamb
0cfbc69eb0
Ensure apt-utils is installed in the helpers it is required.
...
This allows us to remove a hacky test from hooks/minimal to see whether
we need the package.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 02:55:33 +01:00
Chris Lamb
28db987a8e
Abort if "live" d-i installation is attempted with minimal or stripped LH_PACKAGES_LISTS
...
This is required because lh_binary_rootfs removes /boot if minimal or
stripped is the only packages list.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 02:45:50 +01:00
Chris Lamb
cd7689e4ce
Fix trivial typographic error ("flavor" => "flavour")
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 00:36:20 +01:00
Chris Lamb
250529183f
Replace a few unweildy "if" statements with their "case" equivalents
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:35:11 +01:00
Chris Lamb
0d1122d0ab
Move Etch syslinux workaround closer to the original definitions
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:30:32 +01:00
Chris Lamb
efa3d98166
Use correct location of powerpc d-i images.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:27:42 +01:00
Chris Lamb
6ada2b7bd4
Set correct d-i image type on usb-hdd and tar image types
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:22:57 +01:00
Chris Lamb
7918534bc5
Rename USE_NETBOOT_DI to DI_IMAGE_TYPE
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 16:41:58 +01:00
Chris Lamb
36035832fb
Don't exclude live-installer when LH_DEBIAN_INSTALLER=live
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 15:52:16 +01:00
Chris Lamb
51670fa564
Fix a few bogus guards in lh_binary_debian-installer
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 14:28:27 +01:00
Daniel Baumann
734762fcf1
Some formating and style cleanups.
2008-04-17 10:42:34 +02:00
Chris Lamb
fe152b4d0c
lh_binary_debian-installer: Add dependency on 'wget'
...
The 'minimal' hook removes wget, which is used extensively by the Debian
Installer hook.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 06:19:10 +01:00
Daniel Baumann
07a3c54d46
Using new Read_conffile(); now.
2008-04-07 12:10:21 +02:00
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