Chris Lamb
8f0b9e3746
Install loop-aes-utils if we are using encryption.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-20 10:17:38 +01:00
Chris Lamb
4a1a00e1d4
Remove automatically installed packages when installing helpers.
...
This was causing a bug where "grub-common"--a dependency of grub--was remaining
in the binary build chroot after the grub tool was removed. This then resulted
in it not being included in the d-i debs in lh_binary_debian-installer.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 07:06:44 +01:00
Chris Lamb
e11175ed2c
Correct logic in LH_BOOTAPPEND_INSTALL handling
...
(LH_BOOTAPPEND_INSTALL was being overridden if a preseed.cfg was found.)
2008-08-16 11:30:48 +01:00
Chris Lamb
bdc4ff6457
Don't use interpolation to print usage and help as it breaks newlines and tabs.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-15 23:08:43 +01:00
Daniel Baumann
5e93225816
Correcting win32-loader default values.
2008-08-15 06:03:05 +02:00
Tiago Bortoletto Vaz
b069a5053b
Making help.sh and version.sh messages translatable.
2008-08-14 21:50:58 +02:00
Tiago Bortoletto Vaz
2ede4f2f62
Making usage.sh messages translatable.
2008-08-14 21:46:19 +02:00
Daniel Baumann
c316f6cdbd
Moving win32-loader inclusion support from external hook into main program ( Closes : #476546 ).
2008-08-14 21:33:56 +02:00
Daniel Baumann
5977735ed1
Adding generic echo function.
2008-08-14 20:25:29 +02:00
Daniel Baumann
837c7d31fa
Removing superfluous echo type from echo call.
2008-08-14 05:50:48 +02:00
Daniel Baumann
f5d6f587e2
Correcting escaping of $VERSION in LH_ISO_PREPARER defaults.
2008-08-14 05:46:01 +02:00
Chris Lamb
8ce28f6311
Correcting aesthetic typo "proces" -> "process".
2008-08-14 05:44:23 +02:00
Chris Lamb
e17a9c057c
Add leading space to prevent unnecessary diff when running lh_config repeatedly.
2008-08-14 05:44:22 +02:00
Chris Lamb
cf35e04305
Rename internal LH_BOOTAPPEND_PRESEED variable to _LH_BOOTAPPEND_PRESEED
2008-08-14 05:44:22 +02:00
Daniel Baumann
be19b07694
Replacing remaining echo calls with proper echo functions.
2008-08-14 05:44:22 +02:00
Daniel Baumann
fb8ad53f18
Don't expand version in default configuration, but rather use it dynamically.
2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz
efe08ed925
Supporting remote preseeding files.
2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz
2585f5591e
Also allowing multiple preseeding files for netboot.
2008-08-14 05:44:22 +02:00
Daniel Baumann
2fb67cb362
Adding guessing of the preseeding filename, and way to manually overwrite it (or select it in case of multiple available preseeding files).
2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz
a5f1ed5528
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
2008-08-11 22:28:54 +02:00
Tiago Bortoletto Vaz
4f77a42dcf
Adding the basic infrastructure to provide l10n support for live-helper.
2008-08-10 17:39:06 +02:00
Daniel Baumann
e74a26afdb
Merging debian-installer-daily option into debian-installer-distribution.
2008-08-10 04:29:40 +02:00
Tiago Bortoletto Vaz
1b7da55dbe
Suporting debian-installer distribution choice, which makes possible to build a image using a system-independent debian-installer suite. The config option for this is --debian-installer-distribution CODENAME.
2008-08-10 04:12:32 +02:00
Daniel Baumann
591ec2a92a
Bumping version number to 1.0.0.
2008-08-10 03:43:39 +02:00
Antonio Terceiro
4d4f4dd8d5
Sorting functions alphabetically.
2008-08-09 03:27:57 +02:00
Antonio Terceiro
268c0dd538
Replacing file checking with ls by function calls
...
Instead of repeatedly doing "ls ... > /dev/null 2>&1", just use a
function that does exactly that.
2008-08-09 03:27:52 +02:00
Chris Lamb
1376d237dc
Print a warning when package caching is disabled but d-i integration is enabled.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01:00
Daniel Baumann
e9c3b49eeb
Updating debian release information.
2008-08-07 19:38:39 +02:00
Daniel Baumann
81893c0e3d
Releasing debian version 1.0~a48-1.
2008-07-14 20:10:40 +02:00
Chris Lamb
d3f15a317f
Perform in LH_BOOTAPPEND_INSTALL conditional expansion manually to avoid expansion bug/feature on repetitive calls to lh_config ( Closes : #488672 )
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-05 00:54:00 +01:00
Chris Lamb
744c2f6bab
Print a friendlier message if debootstrap or cdebootstrap cannot be found.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-22 01:20:09 +01:00
Chris Lamb
733e453306
Migrate a In_list candidate to grep -E.
...
Perhaps we could .-include the In_list function?
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:32:03 +01:00
Chris Lamb
912c054a7e
Add In_list function to extract various bits of code that did (or should have done) the same job.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 00:51:12 +01:00
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