Daniel Baumann
431a8208a3
Really correcting bootstrap default logic to not overwrite the 'copy' method.
2011-03-09 19:09:42 +01:00
Daniel Baumann
ef61a9d85f
Correcting bootstrap default logic to not overwrite the 'copy' method.
2011-03-09 19:09:42 +01:00
Daniel Baumann
8c95e65a48
Including the distribution name in iso volume when being in debian mode.
2011-03-09 19:09:41 +01:00
Daniel Baumann
b32d8b0eb3
Correcting typo in iso volume.
2011-03-09 19:09:41 +01:00
Daniel Baumann
c2e7d59973
Adding own iso volume when beeing in release mode.
2011-03-09 19:09:41 +01:00
Daniel Baumann
99a850bd20
Introducing debian-release mode.
2011-03-09 19:09:41 +01:00
Daniel Baumann
c1e86d62d2
Releasing version 1.0.3-1.
2011-03-09 19:09:41 +01:00
Daniel Baumann
68d4026b09
Correcting wrong logic in defaults.sh which resultet in having loop-aes-utils always installed.
2011-03-09 19:09:41 +01:00
Daniel Baumann
fd323f7124
Overwriting the debootstrap or fdisk program if it is set to a value that is not on the host system anymore, but another alternative of it is.
2011-03-09 19:09:41 +01:00
Daniel Baumann
992a145afd
Automatically displaying manpage when calling a helper with -h or --help.
2011-03-09 19:09:40 +01:00
Daniel Baumann
989f26d87b
Updating year in copyright notices for 2009.
2011-03-09 19:09:40 +01:00
Daniel Baumann
8273a3f812
Correcting typo in previous aptitude->tasksel commit.
2011-03-09 19:09:40 +01:00
Daniel Baumann
84e4a199da
Setting default taskel program from aptitude to tasksel.
2011-03-09 19:09:40 +01:00
Daniel Baumann
03cfa3a064
Unsupported bootloader/image type combinations are errors, not warning.
2011-03-09 19:09:40 +01:00
Antonio Terceiro
473f5623b6
Must be printf instead of echo!
2011-03-09 19:09:39 +01:00
Antonio Terceiro
6f5445b5d2
Removing incorrect extra argument
2011-03-09 19:09:39 +01:00
Antonio Terceiro
dfb048b1ba
Not considering some strings as translatable.
...
It does not make sense to translate those strings.
2011-03-09 19:09:39 +01:00
Antonio Terceiro
6891cbe098
Adding missing newlines in Echo_error
2011-03-09 19:09:39 +01:00
Antonio Terceiro
2a3056e8a9
Don't break messages into parts; this make it impossible for translators
2011-03-09 19:09:39 +01:00
Daniel Baumann
b9f5121f53
Adding check for currently not supported bootloader/image-type combinations.
2011-03-09 19:09:39 +01:00
Daniel Baumann
bebfa492f7
Adding short comments to the different cases in Check_defaults();.
2011-03-09 19:09:39 +01:00
Daniel Baumann
b4d2797d26
Releasing version 1.0.2-3.
2011-03-09 19:09:39 +01:00
Chris Lamb
03e1b85dc4
Set default value of _COLOR to "false" from "disabled".
2011-03-09 19:09:37 +01:00
Daniel Baumann
7e127170ab
Releasing version 1.0.2-2.
2011-03-09 19:07:31 +01:00
Daniel Baumann
c7e7f435f2
Releasing version 1.0.2-1.
2011-03-09 19:07:31 +01:00
Daniel Baumann
8d42773bb1
Releasing version 1.0.1-4.
2011-03-09 19:03:45 +01:00
Daniel Baumann
64fe27d865
Adding emdebian grip mode.
2011-03-09 19:03:45 +01:00
Daniel Baumann
563df7464f
Removing debian-edu mode, outdated and apparently not used anymore.
2011-03-09 19:03:45 +01:00
Daniel Baumann
95918265bc
Correcting defaults check for diverted losetup binary to also cope with host systems that do install loop-aes-utils after populating live-helper config.
2011-03-09 19:03:45 +01:00
Daniel Baumann
95f40a04d6
Updating lxde-desktop support.
2011-03-09 19:03:45 +01:00
Daniel Baumann
50c3576e0b
Removing wrong 'new-line' in running echo functions when using no color output.
2011-03-09 19:03:45 +01:00
Antonio Terceiro
5f0876d99d
Adding missing arguments to printf (l10n disabled)
...
Otherwise the extra arguments would be discarded, e.g.
Echo "Loading defaults from %s" "${DEFAULTS_DIR}"
2011-03-09 19:03:44 +01:00
Daniel Baumann
7a5c748b83
Correcting wrong defaults setting for internal _L10N variable.
2011-03-09 19:03:44 +01:00
Daniel Baumann
4e07c78e0b
Releasing version 1.0.1-2.
2011-03-09 19:03:44 +01:00
Daniel Baumann
22a06c6566
Generalizing internal LH_CONFFILE variable.
2011-03-09 19:03:44 +01:00
Daniel Baumann
2b5f0a7a07
Using package variable to refere internally to live-helper.
2011-03-09 19:03:44 +01:00
Daniel Baumann
d0276d0b16
Also checking for gettext catalogs to be installed before enabling l10n.
2011-03-09 19:03:44 +01:00
Daniel Baumann
f070302f58
Removing double warning symbol.
2011-03-09 19:03:44 +01:00
Daniel Baumann
c225229f29
Implementing colorful output (currently disabled by default, though).
2011-03-09 19:03:44 +01:00
Daniel Baumann
776a7b2227
Generalizing internal LH_BREAKPOINTS variable.
2011-03-09 19:03:44 +01:00
Daniel Baumann
ad6b01b388
Generalizing internal LH_VERBOSE variable.
2011-03-09 19:03:44 +01:00
Daniel Baumann
cb0894b3b3
Generalizing internal LH_QUIET variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
3ff1c8050b
Generalizing internal LH_DEBUG variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
137f573c85
Generalizing internal LH_FORCE variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
d3c29179ad
Generalizing internal LH_L10N variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
1783c91424
Syncing internal l10n functions.
2011-03-09 19:03:43 +01:00
Daniel Baumann
db5d2b0dcd
Syncing internal lockfile functions.
2011-03-09 19:03:43 +01:00
Daniel Baumann
425f88e9ec
Updating signals in exit and lockfile traps.
2011-03-09 19:03:43 +01:00
Daniel Baumann
0eaf9e5122
Adding armel to architecture specific checks.
2011-03-09 19:03:43 +01:00
Daniel Baumann
961aa2f3b7
Updating color functions.
2011-03-09 19:03:43 +01:00
Daniel Baumann
b28ffecee0
Check for availability of gettext at runtime, and only use it if existing.
2011-03-09 19:03:43 +01:00
Daniel Baumann
37d2fb4b0f
Don't use set -e in sourced functions, this is the job of the actual executed script.
2011-03-09 19:03:43 +01:00
Daniel Baumann
1c1e7db6c4
Generalizing internal Chroot(); by requiring its first argument to be the chroot directory.
2011-03-09 19:03:43 +01:00
Daniel Baumann
6696b019fe
Renaming internal Read_conffile(); to Read_conffiles(); for consistency reasons.
2011-03-09 19:03:43 +01:00
Daniel Baumann
c36bae1013
Updating releases.sh to match internal namespace of included functions.
2011-03-09 19:03:43 +01:00
Daniel Baumann
d0ba615d07
Correcting intendation in conffile.sh.
2011-03-09 19:03:43 +01:00
Chris Lamb
95b6b96d2c
Add utility to dump all conffiles to stdout.
2011-03-09 19:03:43 +01:00
Chris Lamb
568f905c51
Add utility to dump specified file to stdout.
2011-03-09 19:03:43 +01:00
Chris Lamb
f1d230a6b5
Refactor utility to locate conffiles.
2011-03-09 19:03:43 +01:00
Chris Lamb
f2d0d81ad0
Print message when Exit is called.
2011-03-09 19:03:43 +01:00
Chris Lamb
4c485f1853
Add utility function to call 'Exit' when script exits.
2011-03-09 19:03:43 +01:00
Daniel Baumann
4f9797c893
Adding unmount calls for pseudo-filesystems in Exit();.
2011-03-09 19:03:43 +01:00
Daniel Baumann
ce7c2e2fe1
Removing LIVE_* grep from Exit(); as we have switched to LH_* variables long time ago.
2011-03-09 19:03:43 +01:00
Daniel Baumann
601338b91d
Updating version number in common.sh.
2011-03-09 19:03:43 +01:00
Daniel Baumann
78ea286335
Also accept x86_64 as alias for amd64 when checking for cross architecture support.
2011-03-09 19:03:42 +01:00
Daniel Baumann
4718372f13
Automatically correct LH_SETUP value if the configured losetup cannot be found.
2011-03-09 19:03:42 +01:00
Chris Lamb
242155f0b7
Ensure local packages lists are sourced over global ones ( Closes : #499656 )
2011-03-09 19:03:42 +01:00
Daniel Baumann
f423bca5d8
Adding scripts directory to to include custom helper scripts.
2011-03-09 19:03:42 +01:00
Daniel Baumann
254138f98d
Updating cursor.sh with additional functions.
2011-03-09 19:03:42 +01:00
Chris Lamb
f5fc8b9c9f
Warn when using syslinux with a non-FAT LH_BINARY_FILESYSTEM.
2011-03-09 19:03:41 +01:00
Chris Lamb
8d373e005b
Refactor partition size calculation, ensuring a uniform increase for ext partitions.
2011-03-09 19:03:41 +01:00
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
Daniel Baumann
9ad7466cf1
Adding powerpc64 to default kernel flavours (in addition to the normal 32 bit one).
2011-03-09 19:03:33 +01:00
Daniel Baumann
a6a95bd632
Releasing live-helper 1.0~a45-1.
2011-03-09 19:03:33 +01:00
Daniel Baumann
7be45011f7
Adjusting Save_cache(); to skip already cached .deb files and only copying new packages to it.
2011-03-09 19:03:32 +01:00
Chris Lamb
3cd834e69c
Rewrite Expand_packagelist to not be recursive
2011-03-09 19:03:32 +01:00
Daniel Baumann
f4724f60b5
Releasing live-helper 1.0~a44-1.
2011-03-09 19:03:32 +01:00
Chris Lamb
08a0bc7155
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.
2011-03-09 19:03:32 +01:00
Daniel Baumann
999fa9df27
Consistenly using short options rather than long options in function files.
2011-03-09 19:03:32 +01:00
Daniel Baumann
7e5c3585b8
Improving .deb caching by using hardlinks (if possible).
2011-03-09 19:03:32 +01:00
Chris Lamb
50e21abdb5
helpers/lh_config, functions/defaults.sh: Correct "boostrap" -> "bootstrap"
2011-03-09 19:03:32 +01:00
Daniel Baumann
d795c6c854
Releasing live-helper 1.0~a43-1.
2011-03-09 19:03:32 +01:00
Daniel Baumann
1d1e48b394
Fixing forgotten variable in conffile loop.
2011-03-09 19:03:32 +01:00
Daniel Baumann
0466a3bda4
Allowing multiple arguments for Read_conffile();.
2011-03-09 19:03:31 +01:00
Daniel Baumann
705a4178e7
Centraly evaluate LH_CONFIG for custom configuration file.
2011-03-09 19:03:31 +01:00
Daniel Baumann
716c2c8ab7
Removing temporary workaround of adding lzma-modules2.6 to linux packages, all fixed squashfs are now in sid and lenny.
2011-03-09 19:03:31 +01:00
Daniel Baumann
dbe6283b1b
Releasing live-helper 1.0~a42-1.
2011-03-09 19:03:31 +01:00
Daniel Baumann
98b7e55ecb
Also including lzma modules on lenny temporarily.
2011-03-09 19:03:31 +01:00
Daniel Baumann
d54990695f
Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile ( Closes : #472774 ).
2011-03-09 19:03:31 +01:00
Daniel Baumann
53433eca7d
Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures ( Closes : #472775 ).
2011-03-09 19:03:31 +01:00
Daniel Baumann
3f6c3cba86
Releasing live-helper 1.0~a41-1.
2011-03-09 19:03:31 +01:00
Chris Lamb
55472e6557
Allow LH_ENCRYPTION="disabled" to disable encryption
2011-03-09 19:03:29 +01:00
Daniel Baumann
fcbe998101
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.
2011-03-09 19:01:53 +01:00
Daniel Baumann
b222519217
Including 686 kernel flavour on i386 too, but defaulting (still) to 486 for compatibility reasons.
2011-03-09 19:01:50 +01:00
Otavio Salvador
48a2346ab0
functions/losetup.sh: use SECTORS as variable name to reflect the real usage
2011-03-09 19:01:48 +01:00
Daniel Baumann
acf66f3c52
Bumping live-helper version.
2011-03-09 19:01:42 +01:00
Daniel Baumann
c5a91189a0
Updating copyright years to 2008.
2011-03-09 19:01:41 +01:00
Daniel Baumann
9c9dfb24b8
Fixed accidental overwriting of LH_NET_TARBALL value in defaults.
2011-03-09 18:36:19 +01:00
Daniel Baumann
851dc3ca93
Adding lzma modules on sid.
2011-03-09 18:36:15 +01:00
Daniel Baumann
3c0d008c79
When a wrong argument is passed, that argument should be listed ( Closes : #468201 ).
2011-03-09 18:36:14 +01:00
Daniel Baumann
0c9fc8846d
Adding option to set binary-net compression (or disable it).
2011-03-09 18:36:13 +01:00