Commit Graph

171 Commits

Author SHA1 Message Date
Daniel Baumann e443308980 Adding cursor functions for future usage. 2011-03-09 19:03:41 +01:00
Daniel Baumann b785db39a2 Adding color functions for future usage. 2011-03-09 19:03:41 +01:00
Daniel Baumann 30bac7a328 Don't install more than one kernel image when building minimal or stripped images. 2011-03-09 19:03:40 +01:00
Daniel Baumann ef8155a112 Adding support for squeeze (lenny+1). 2011-03-09 19:03:40 +01:00
Chris Lamb 5a4b8ca4f9 Improve architecture auto-detection. 2011-03-09 19:03:40 +01:00
Daniel Baumann 953253444b Setting project email address to the new debian-live@lists.debian.org. 2011-03-09 19:03:40 +01:00
Daniel Baumann fa8e9f9381 Renaming sections to categories in order to use the same names as Debian Policy does (Closes: #483777). 2011-03-09 19:03:40 +01:00
Daniel Baumann d0bd7bc265 Using internal prefix for PACKAGES variable in function/packages.sh (Closes: #468900). 2011-03-09 19:03:40 +01:00
Chris Lamb e86a27449a Install loop-aes-utils if we are using encryption. 2011-03-09 19:03:40 +01:00
Chris Lamb 59e0b310a3 Correct logic in LH_BOOTAPPEND_INSTALL handling
(LH_BOOTAPPEND_INSTALL was being overridden if a preseed.cfg was found.)
2011-03-09 19:03:40 +01:00
Chris Lamb 026a683b77 Don't use interpolation to print usage and help as it breaks newlines and tabs. 2011-03-09 19:03:40 +01:00
Daniel Baumann 45e82061bb Correcting win32-loader default values. 2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz 24ddf76181 Making help.sh and version.sh messages translatable. 2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz bb8faf961e Making usage.sh messages translatable. 2011-03-09 19:03:39 +01:00
Daniel Baumann 3e3bb42607 Moving win32-loader inclusion support from external hook into main program (Closes: #476546). 2011-03-09 19:03:39 +01:00
Daniel Baumann fe8484f3cd Adding generic echo function. 2011-03-09 19:03:39 +01:00
Daniel Baumann 1768bfdc24 Removing superfluous echo type from echo call. 2011-03-09 19:03:39 +01:00
Daniel Baumann ec3874040a Correcting escaping of $VERSION in LH_ISO_PREPARER defaults. 2011-03-09 19:03:39 +01:00
Chris Lamb 13aa45aeda Correcting aesthetic typo "proces" -> "process". 2011-03-09 19:03:39 +01:00
Chris Lamb 808b473e08 Add leading space to prevent unnecessary diff when running lh_config repeatedly. 2011-03-09 19:03:39 +01:00
Chris Lamb 135276b93e Rename internal LH_BOOTAPPEND_PRESEED variable to _LH_BOOTAPPEND_PRESEED 2011-03-09 19:03:39 +01:00
Daniel Baumann f319841cc8 Replacing remaining echo calls with proper echo functions. 2011-03-09 19:03:39 +01:00
Daniel Baumann 7e5d71ed64 Don't expand version in default configuration, but rather use it dynamically. 2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz f34c8d45f5 Supporting remote preseeding files. 2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz aa6204c8ae Also allowing multiple preseeding files for netboot. 2011-03-09 19:03:39 +01:00
Daniel Baumann 384a050c79 Adding guessing of the preseeding filename, and way to manually overwrite it (or select it in case of multiple available preseeding files). 2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz 6205a24620 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. 2011-03-09 19:03:38 +01:00
Tiago Bortoletto Vaz 9be35287b8 Adding the basic infrastructure to provide l10n support for live-helper. 2011-03-09 19:03:38 +01:00
Daniel Baumann ba25e433b5 Merging debian-installer-daily option into debian-installer-distribution. 2011-03-09 19:03:38 +01:00
Tiago Bortoletto Vaz 2acf049825 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. 2011-03-09 19:03:38 +01:00
Daniel Baumann b973d05362 Bumping version number to 1.0.0. 2011-03-09 19:03:38 +01:00
Antonio Terceiro 195110261b Sorting functions alphabetically. 2011-03-09 19:03:37 +01:00
Antonio Terceiro 7f1a4e4fc5 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.
2011-03-09 19:03:37 +01:00
Chris Lamb b07f1ccc01 Print a warning when package caching is disabled but d-i integration is enabled. 2011-03-09 19:03:37 +01:00
Daniel Baumann 24ec05d2e6 Updating debian release information. 2011-03-09 19:03:37 +01:00
Daniel Baumann d5f142a24a Releasing debian version 1.0~a48-1. 2011-03-09 19:03:37 +01:00
Chris Lamb c184c0a74f Perform in LH_BOOTAPPEND_INSTALL conditional expansion manually to avoid expansion bug/feature on repetitive calls to lh_config (Closes: #488672) 2011-03-09 19:03:36 +01:00
Chris Lamb cfc182e161 Print a friendlier message if debootstrap or cdebootstrap cannot be found. 2011-03-09 19:03:36 +01:00
Chris Lamb 39310a3121 Migrate a In_list candidate to grep -E.
Perhaps we could .-include the In_list function?
2011-03-09 19:03:36 +01:00
Chris Lamb b7ccfa63ca Add In_list function to extract various bits of code that did (or should have done) the same job. 2011-03-09 19:03:35 +01:00
Chris Lamb cc8092771e Add support for usb-hdd on sparc (requires parted 1.8 from experimental). 2011-03-09 19:03:35 +01:00
Chris Lamb d4f70af91b Add support for the sparc architecture. 2011-03-09 19:03:35 +01:00
Chris Lamb 54a05a4691 Fix truncated Echo_breakage messages. 2011-03-09 19:03:35 +01:00
Chris Lamb 600d183d29 Add Echo_breakage for messages preceeding often-breaking stages and use before {c,}debootstrap calls 2011-03-09 19:03:35 +01:00
Daniel Baumann 18fbc3dca7 Releasing live-helper 1.0~a47-1. 2011-03-09 19:03:34 +01:00
Chris Lamb a5134fe728 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
2011-03-09 19:03:34 +01:00
Daniel Baumann 8b5bab3922 Releasing live-helper 1.0~a46-1. 2011-03-09 19:03:33 +01:00
Tiago Bortoletto Vaz cd97e1bbb1 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.
2011-03-09 19:03:33 +01:00
Chris Lamb 9ae7a00544 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.
2011-03-09 19:03:33 +01:00
Chris Lamb c742448209 Use APT::Install-Recommends to disable installation of recommends for Etch 2011-03-09 19:03:33 +01:00