Compare commits

...

618 Commits

Author SHA1 Message Date
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 e090ac8ad5 Set DEBCONF_FRONTEND=newt for non-GTK d-i instead of seperate initrd.
This saves approximately 7MB when integrating the Debian Installer.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-18 04:44:06 +01:00
Chris Lamb d4f92859a1 Support expanding wildcards in udeb excludes.
This was preventing "kernel-image-*" "exclude" entries from removing these
packages. This saves about 5 MiB of space in all.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 07:10:07 +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 8cbf66d930 Remove pointless whitespace.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 05:58:43 +01:00
Chris Lamb aad198ffaf Only install unionfs-tools under Etch in rescue list. 2008-08-17 00:35:13 +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 0a5065a817 Removing surrounded braces from LH_BOOTAPPEND_INSTALL - it is expanded by sed, not the shell. 2008-08-16 10:48:16 +01:00
Chris Lamb 712360df91 Correcting typo LH_BOOTSTRAP_INSTALL -> LH_BOOTAPPEND_INSTALL in Grub kernel parameters. 2008-08-16 10:43:47 +01:00
Chris Lamb 1212aafb8a Correct bogus path for d-i preseed files. 2008-08-16 10:12:27 +01:00
Chris Lamb f81d94ffa4 Don't install lists from chroot_local-packageslists without them being specified in LH_PACKAGES_LISTS (Closes: #490755) 2008-08-16 02:23:41 +01:00
Daniel Baumann 5a5ee8d152 Preserve changed apt settings (pdiffs, recommends, and secure) in binary image (Closes: #494640). 2008-08-16 03:15:40 +02: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
Chris Lamb 6ca117018e Remove accidental trailing '"' (quote) package from lh_config usage.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-15 23:07:51 +01:00
Daniel Baumann be2bb3701f Updating chroot hacks to reflect namechange of the udev persistent rules. 2008-08-15 23:19:33 +02:00
Daniel Baumann aeb48a17be Correcting typo in win32-loader config. 2008-08-15 06:04:11 +02: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 985ad93f4a Making lh_chroot_interactive and lh_source_usb-hdd messages translatable. 2008-08-14 21:50:37 +02:00
Tiago Bortoletto Vaz 887bc98bcb Making lh_binary_usb-hdd messages translatable. 2008-08-14 21:48:51 +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 8299a9c361 Removing currently unused help message in lh_config. 2008-08-14 20:24:25 +02:00
Daniel Baumann 0a8325d4c3 Sorting authors file. 2008-08-14 17:51: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 c2356c4184 Tidy "install" / "install-binary" handling in lh_chroot_apt.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 252ee4f32c Add informational comments to generated /etc/apt/preferences stanzas.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 266165bbe6 Generate Release file for chroot_local-packages when APT_SECURE is disabled.
This was preventing the pinning mechanism to work when it security was
disabled.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb bdd2f385c4 Prevent (harmless) duplicate entries appearing in /etc/apt/preferences
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 8004d56ce3 Remove gettext from Build-Depends (it's already in Build-Depends-Indep). 2008-08-14 05:44:23 +02:00
Daniel Baumann 70554370d2 Updating po files. 2008-08-14 05:44:23 +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 00940ee4b7 Updating po files. 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
Daniel Baumann 0148591cbd Moving live-helper defaults file for cron autobuilder from /etc/default/live-helper to /etc/default/live-helper_autobuild in order to not conflict with the system-wide default file for helper configuration. 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 35029d8c67 Allowing to use more than one preseeding file to be on the media. 2008-08-14 05:44:22 +02:00
Chris Lamb 029e62306b Ensure the binary image does not inherit the binary stage's APT settings. 2008-08-14 05:44:21 +02:00
Daniel Baumann 92d14dcccf Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected. 2008-08-14 05:44:21 +02:00
Daniel Baumann 669ce118df Using $HOST rather than $HOSTNAME to avoid false positive in checkbashisms. 2008-08-14 05:44:21 +02:00
Daniel Baumann 6a4a424d09 Using signal names rather than signal numbers in trap calls. 2008-08-14 05:44:21 +02:00
Chris Lamb d22dde7e47 Always create stagefile for chroot_install-packages and require it for lh_source
This is required as lh_source will generate an incomplete source tarball if
only the bootstrap phase has been completed.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00
Chris Lamb 9ffd1c7c23 Correct indentation of conditional code.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00
Chris Lamb ee81905f8e Clean source.list instead of binary.list when calling lh_clean --source.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00
Chris Lamb ef0ba0c3ee Move gettext to Build-Depends-Indep. 2008-08-14 05:44:21 +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
Chris Lamb 4222ce31d4 Add busybox to DI_PACKAGES as its required to install kernels.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11 01:50:44 +01:00
Chris Lamb 12fae93f2b Choose correct d-i install method for "live" and usb-hdd/tar image types.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11 01:27:32 +01:00
Chris Lamb cf3c659a95 Don't duplicate .debs of packages in binary/pool that are installed via live-installer.
This saves about 80MiB of space when building LH_DEBIAN_INSTALLER="live".

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11 01:13:45 +01:00
Chris Lamb ebc302e121 Create pool/main to prevent build failure when no local .debs are queued for installation.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 23:03:11 +01:00
Chris Lamb 821e289e24 Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 23:02:01 +01:00
Chris Lamb 856d069cf3 Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 23:00:03 +01:00
Chris Lamb ca49c9825a Fix "lh_config -c". Thanks to Simon Schiele <lists@codingmonkey.de>.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 20:17:44 +01:00
Tiago Bortoletto Vaz 4f77a42dcf Adding the basic infrastructure to provide l10n support for live-helper. 2008-08-10 17:39:06 +02:00
Chris Lamb 016ecd409e Remove --debian-installer-daily from getopt call.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:22:19 +01:00
Chris Lamb 32136b7f11 Update lh_config(1) to match status of LH_DEBIAN_INSTALLER_{DAILY,DISTRIBUTION}.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:21:32 +01:00
Chris Lamb f7da00a816 Fix a bug in chroot_local-packages where packages were upgraded with themselves during lh_binary stages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:03:27 +01:00
Chris Lamb 14d1191d90 Fix bug in LH_DEBIAN_INSTALLER_DISTRIBUTION = "daily" handling.
Was causing build failures as it was trying to download files from a
"daily" component of a mirror.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:02:33 +01:00
Chris Lamb 6ed6f6a172 Disabling call to "update-initramfs" in lh_chroot_hacks.
Users who are modifying initramfs scripts via chroot_local-includes
should really run update-initramfs themselves - this wasn't possible until
fairly recently due to re-ordering of calls from lh_chroot.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:01:11 +01:00
Daniel Baumann e74a26afdb Merging debian-installer-daily option into debian-installer-distribution. 2008-08-10 04:29:40 +02:00
Tiago Bortoletto Vaz 6bb9881da9 Minor typo fix for encryption parameter in lh_config help message. 2008-08-10 04:12:37 +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
Daniel Baumann 32fdda46b1 Updating credits file. 2008-08-10 03:14:11 +02:00
Tiago Bortoletto Vaz f976c384fe Adding missing debian-installer options in lh_config --help message. 2008-08-09 03:28:06 +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 a3277ebaae Always add our apt_preference(5) pinning stanza when using local-packages.
This mostly reverts my most recent chroot_local-packages/preferences commit
as I found problems when re-running parts of the build: as the pinning
stanza was removed, calls to "apt-get upgrade" from within live-helper
would remove replacement packages placed in chroot_local-packages.

This isn't 100% foolproof - running apt-get upgrade on the binary image may
still attempt to remove replacement packages (heavy users of this should
probably be using their own repo for this sort of thing anyway).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-08 21:28:52 +01:00
Frederic Daniel Luc Lehobey e6eda5f5cd Added po4a support for manpages. Use case: 'make po4a'. 2008-08-08 04:42:50 +02:00
Chris Lamb a5b4c4bc0d Ensure packages in config/chroot_local-packages override all others.
This reverts config/chroot_local-packages to almost original semantics by
giving any package in chroot_local-packages a priority of 1001, allowing
it to "downgrade" packages and generally override the standard APT sources.

I think this follows the idea of this directory more and is likely to be
more useful with this setup - rebuilding a package simply to bump a version
number or keeping a custom apt_preferences(5) file around kinda sucks,
especially as it is often used as a temporary workaround.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 22:05:08 +01:00
Chris Lamb 15ee6f0eae Test whether to use hard-links when caching d-i downloads.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01: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
Chris Lamb 6f870a5be2 Don't install Recommends of d-i packages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01:00
Chris Lamb 2fc9cca9e8 Call "Check_defaults" in lh_build.
This ensures that incompatible configurations that are created by editing
files in config/ are detected when building the image via lh_build.

This also has the side-effect of ensuring that configuration warnings (if
any) appear for live-magic.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01:00
Chris Lamb 77498d336a Print nicer error message when bootstrap missing from LH_CACHE_STAGES.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:45 +01:00
Chris Lamb 34d197833c Remove 'E:' prefix in call to Echo_error - it gets added later too.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 19:18:43 +01:00
Chris Lamb 9d526bd9c2 Don't attempt install deprecated helpers/make-live.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 19:08:06 +01:00
Daniel Baumann 80e59fb472 Only using hardlinks for local-packages when hardlinks are possible. 2008-08-07 19:45:24 +02:00
Daniel Baumann d27f5152d3 Removing make-live legacy helper. 2008-08-07 19:39:45 +02:00
Daniel Baumann e9c3b49eeb Updating debian release information. 2008-08-07 19:38:39 +02:00
Daniel Baumann 01f8269eb3 Making check for local-patches silent. 2008-08-07 17:57:28 +02:00
Daniel Baumann 0a1a5f6da7 Making check for local-includes silent. 2008-08-06 23:28:27 +02:00
Marco Amadori 85f3ef1f46 Removing evms from rescue list, package got removed from debian. 2008-08-06 23:03:54 +02:00
Tiago Bortoletto Vaz 5f87b22971 Improving message when using default values in /etc/default/live-helper. 2008-08-06 23:01:47 +02:00
Chris Lamb 04b0737087 Add lh_chroot_local-patches helper to apply local patches against chroot.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-31 17:12:06 +01:00
Chris Lamb 3199a409fa Don't duplicate gtk and non-gtk kernels if they are identical.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-29 00:48:31 +01:00
Chris Lamb 2435bee4ac Fix cache poisoning issue in lh_binary_debian-installer with 404 downloads
When wget 404's, an target file is created - this poisons the cache as the
file is apparently downloaded but in actuality is simply empty. We fix this
by unconditionally deleting the cache file if wget fails and emitting an
error.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-26 00:27:29 +01:00
Chris Lamb 364ed4e362 Don't attempt to use live-installer on Etch; it would simply result in no bootstrap method.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-26 00:21:25 +01:00
Chris Lamb db756ce6c6 Cache d-i kernel, initrd and mini.iso downloads (Closes: #492085)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24 05:48:47 +01:00
Chris Lamb 1b0a6b7420 Wrap most calls to wget in lh_binary_debian-installer.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24 05:47:08 +01:00
Chris Lamb de3befa554 Add system-config-printer as a replacement to gnome-cups-manager.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-21 15:05:26 +01:00
Chris Lamb 4392fdf946 Removed "gnome-cups-manager" from package lists as it has been removed from Lenny due to being obsolete. (Closes: #491695)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-21 13:31:27 +01:00
Daniel Baumann 5d2cdbe5c6 Using rfc2606 invalid tld instead of dummy. 2008-07-15 09:33:27 +02:00
Daniel Baumann e8f45391ba Using better suited variable name for live-helpers local key. 2008-07-15 09:32:30 +02:00
Daniel Baumann 81893c0e3d Releasing debian version 1.0~a48-1. 2008-07-14 20:10:40 +02:00
Chris Lamb 16a45783e1 Additionally clean md5sum.txt temporary file.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-13 02:43:58 +01:00
Chris Lamb ee29509120 Remove pointless whitespace.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-13 02:42:55 +01:00
Chris Lamb bb897a80a5 Temporarily replace /dev/urandom with /dev/random when creating local packages key.
This avoids blocking automated mage builds; we don't care about the
security of this key anyway.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-13 02:42:46 +01:00
Chris Lamb 03ad96281e Correct d-i kernel and initrd locations in grub entries. Thanks to Jun NOGATA <nogajun@gmail.com> for the patch. (Closes: #490245)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-11 00:37:51 +01:00
Chris Lamb 3aa34e3461 Fix a bug where a /etc/apt/preferences supplied in chroot_local-includes was always being deleted when used in conjunction with config/chroot_apt/preferences.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-10 21:54:02 +01:00
Chris Lamb 04841d46ad Abort build if working directory contains spaces - not supported by (at least) debootstrap and cdebootstrap.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-10 05:13:57 +01:00
Chris Lamb 78d346e90c Replace spaces in LH_BOOTSTRAP_{IN,EX}CLUDE variables with commas on use. Thanks to Cyril Brulebois <cyril.brulebois@kerlabs.com>. (Closes: #490114)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-10 00:24:07 +01:00
Chris Lamb e0160b3eaf Fix syntax error in --ignore-system-defaults handling.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-09 15:40:57 +01:00
Chris Lamb 77e3602fa4 Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-09 15:40:39 +01:00
Chris Lamb 9f96103510 Fix bug where command-line argument --ignore-system-default was not seen before it was required.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-09 04:59:23 +01:00
Chris Lamb 0b38353a81 Fix formatting error with --ignore-system-defaults in "lh_config --help"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-09 04:55:10 +01:00
Chris Lamb 2de3396734 Add --ignore-system-defaults option to not source /etc/default/live-helper.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-09 00:13:09 +01:00
Chris Lamb 731a5c3d6f Correct location of /etc/default/live-helper in lh_config(1) manpage.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-08 23:53:44 +01: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 3205bb9409 Use a temporary apt key when installing local packages (Closes: #488257)
This patch also allows preferring locally provided packages by preferencing
repositories with the label 'local-packages' in chroot_apt/preferences.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-05 00:40:20 +01:00
Chris Lamb 3b540b4c4f Fix caching of APT indices (Closes: #478744)
I've tested this the cross-product of LH_APT={apt,aptitude} and
LH_APT_SECURE={enabled,disabled} with no problems.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:29:43 +01:00
Chris Lamb 3feafc9a70 Refactor d-i GTK image selection, ensuring the GTK installer is only chosen on the netboot variant when building on powerpc.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:28:20 +01:00
Chris Lamb 6c11528829 Only consider linux-image-2.6-prep powerpc kernel image on Etch.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:26:35 +01:00
Chris Lamb 70925408b6 Refactor remote d-i location handling and ensure correct locations for powerpc.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:25:47 +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 627de6d41e Re-order a case statement for consistency.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 11:37:02 +01:00
Chris Lamb d0f57376eb Fix incorrect test for sparc architecture in binary include handling.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 11:36:15 +01:00
Chris Lamb bcd8472821 Add support for generation of sparc netboot images.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:38:21 +01:00
Chris Lamb 6d9de44806 Add support for sparc "tar" binary image type.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:37:47 +01:00
Chris Lamb 21d51d04f9 Add support for sparc install includes.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:35:18 +01:00
Chris Lamb ec998961a8 Refactor destination setting in lh_binary_silo to check arguments at beginning of the script.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:35:07 +01:00
Chris Lamb 5bee701f29 Abort build if building from the root directory (/) as this causes misc build failures.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:33:49 +01:00
Chris Lamb 8fed454c06 Emit a warning when running lh_build without a config/ directory.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:33:15 +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 c05c115684 Migrate a few uses of grep to In_list.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-20 01:31:21 +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 da4672b5d5 Remove a useless space
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 22:02:37 +01:00
Chris Lamb daec955a09 Consolidate grep text searching predicates to use "grep -qs"
If this is deemed not portable enough in the future, it should be easy
enough to find/replace.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 19:49:16 +01:00
Chris Lamb 30bafdae57 Revert aborting live d-i installation if minimal/stripped is selected and instead attempt to not break the chroot too much in this case
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 19:03:10 +01:00
Chris Lamb 3ddecb18c8 Replace another unweildy "if P1 || P2" statement with its "case" equivalent.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 18:58:09 +01:00
Chris Lamb 6143328e16 Remove more imported whitespaces.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 18:56:11 +01:00
Chris Lamb 191746a476 Adjust "lh_config --help" and lh_config(1) so that the -m option corresponds with --mirror-bootstrap isntead of --mirror-binary-security.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 18:41:26 +01:00
Daniel Baumann b7f5a3af97 Removing imported whitespaces. 2008-06-17 07:08:24 +02:00
Chris Lamb 64d2e53e07 Only deference symlinks on usb-hdd filesystems that do not support symlinks.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:51:49 +01:00
Chris Lamb 0c46e9185b Add support for ext2 and ext3 to lh_source_usb-hdd.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:48:47 +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 343497ad98 Refactor mkfs handling.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:25:34 +01:00
Chris Lamb d522b02fc1 Refactor partition table type handling.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:20:55 +01:00
Chris Lamb 802c604984 Refactor partition type handling.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:17:42 +01: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 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 49a4ffc061 Add lh_binary_silo and associated templates to support the SILO bootloader.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 04:46:25 +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 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 1520c59356 Fix d-i locations in yaboot entries.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 01:57: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 5d70e02dd1 Only deference symlinks on FAT{16,32} partitions on usb-hdd.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 18:36:22 +01:00
Chris Lamb 72a670c5d2 Replace install.amd/install -> install.386/install symlink with a real copy.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 18:28:30 +01:00
Chris Lamb 0800980534 Revert always deferencing symlinks when installing some binary includes.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 18:27:38 +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
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 9690d108b2 Remove pointless "echo" statements pre- and post- cdebootstrap
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:19:29 +01:00
Chris Lamb cfd2990dc3 Allow LH_APT_SECURE to disable package cdebootstrap package authentication
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:18:54 +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 88c9e3f922 Always deference symlinks when installing some binary includes to fix breakage on amd64.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 05:25:36 +01:00
Chris Lamb f0d589d6a4 Ensure "Using system defaults" message appears when calling lh_config without --verbose
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 16:08:42 +01:00
Chris Lamb ef26b6ea78 Don't skip single dot-files in the root directory of binary and chroot local includes
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 15:53:19 +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 3dfe5d30fe Parsing local arguments to lh_config last. 2008-06-11 15:30:37 +02:00
Chris Lamb d6fa2efe6d Show contents of /etc/default/live-helper in bug info collection script
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-10 18:50:29 +01:00
Daniel Baumann 0c15f64d5b Correcting order where system-wide lh_config defaults file is read, thanks to Juergen Fiedler <juergen.fiedler@gmail.com>. 2008-06-10 19:04:23 +02:00
Daniel Baumann d59d511813 Only saving source indices to indices cache if source indices are actually existing, thanks to Thanatermesis <thanatermesis.ecvs@elivecd.net>. 2008-06-09 10:04:44 +02:00
Daniel Baumann 3dd793055a Correcting path for system-wide lh_config defaults file. 2008-06-09 09:09:14 +02:00
Marco Amadori 4e18008ecb Added support for /etc/live-helper.
* lh_config system-wide configuration file, like an implicit specification
  of '--conffile=/etc/live-helper' to each lh_config call.

Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
2008-06-09 08:52:45 +02:00
Marco Amadori 60c755e508 Removed a useless space.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
2008-06-09 00:29:56 +02:00
Daniel Baumann f789ed9a2e Releasing live-helper 1.0~a47-1. 2008-06-08 23:00:54 +02:00
Daniel Baumann 386f7e4ddb Reverting previous commit to compress build logs.
apache2 does not show gzipped files in the browser,
but downloads them which is not the desired action.
2008-06-08 22:54:53 +02:00
Chris Lamb 0e4a39463b Compress build logs. Thanks to Mathieu Geli for the suggestion.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-08 21:31:00 +01:00
Daniel Baumann 362b7380e3 Updating to standards 3.8.0. 2008-06-05 20:55:17 +02:00
Daniel Baumann 2eca3c8289 Updating udeb include/exclude files from debian-cd. 2008-06-04 12:53:52 +02:00
Antonio Ospite 5cb0f5e05a Fix formatting problems in lh_config man page
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-05-15 03:52:12 +01:00
Chris Lamb 070a72846b Create chroot_local-preseed/ directory when building config/ in lh_config
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-05-15 03:06:35 +01:00
Chris Lamb 5ccb8fde8e Fix minor typographical error in live-helper(7)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-05-15 03:06:25 +01:00
Daniel Baumann 509efbf6f8 Updating vcs fields in control file. 2008-05-12 22:08:14 +02:00
Daniel Baumann ce04adf721 Adding uuid-runtime to suggests. 2008-05-09 16:46:18 +02:00
Daniel Baumann 8553518c2b Moving bugs document to live-manual. 2008-05-09 06:57:40 +02:00
Daniel Baumann 71ed7ecded Releasing live-helper 1.0~a46-2. 2008-04-28 18:16:40 +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
Chris Lamb 06e7076685 Conditionally add non-free rar and unrar. Add unrar-free unconditionally.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb ebe501da1e Remove buggy ext2resize
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb c85a259713 Remove oldstable-only hwtools from rescue list
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb 1daf2cdff4 Remove removed/non-Debian packages pasd, irpas and nsed from rescue list
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb fffbc3908d Correct typo of "ntfs3g" -> "ntfs-3g" in rescue list
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb b2e889cd8e Only install reaim on Etch in rescue list
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb 898d868dcd Correct typo of "geopip-bin" => "geoip-bin"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb b8cb2d13c0 Only install sysutils on Etch in rescue list
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-28 17:05:47 +01:00
Chris Lamb 5cfc5681df Only install read-edid on i386 and powerpc in rescue list
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
Daniel Baumann 18224fba5e Adding netboot tarballs and plain squashfs images to images build script. 2008-04-28 17:36:06 +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 14ffd3f15f Only install pstack on i386 (Closes: #477815)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-26 23:43:19 +01: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 d0533ecf81 Adjusting obtaining of the date string in snapshots.sh to new git log date format. 2008-04-25 09:00:10 +02:00
Tiago Bortoletto Vaz bd807ecc54 Fixed minor typographical error in rescue flavor file. 2008-04-24 07:01:36 -03:00
Tiago Bortoletto Vaz 307e6d2e0a Improving rescue flavor: added a set of missing tools, mainly for file system
recover - most based on System Rescue Cd Project; Also, sorted some unsorted
tools in the rescue file.
2008-04-24 06:58:15 -03:00
Daniel Baumann 65a3964a1a Updating Richards email address. 2008-04-23 18:50:02 +02:00
Daniel Baumann 705cb6cec1 Producing rsyncable tarballs where possible. 2008-04-22 23:32:30 +02:00
Daniel Baumann e98676f6b3 Also taking mirrors from environment in image.sh. 2008-04-22 18:23:34 +02:00
Daniel Baumann 179a9155da Taking config variables for images.sh from environment. 2008-04-22 18:19:19 +02:00
Daniel Baumann a6b745939a Handling sourceless builds in images.sh. 2008-04-22 17:57:28 +02:00
Daniel Baumann eb30df0655 Removing old cron example scripts for image building, they are obsoleted by images.sh. 2008-04-22 17:51:20 +02:00
Daniel Baumann 56cb5e4527 Updating live-magic git location. 2008-04-21 23:57:47 +02:00
Daniel Baumann 6fe97be597 Getting architecture dynamically in images cron script. 2008-04-21 23:22:46 +02:00
Daniel Baumann f44e2ef79f Correcting permissions in snapshot script. 2008-04-21 21:27:10 +02:00
Daniel Baumann d236758c6b Releasing live-helper 1.0~a45-1. 2008-04-21 11:18:57 +02:00
Daniel Baumann a9af0b69b2 Updating snapshots url. 2008-04-21 10:39:23 +02:00
Daniel Baumann bd9fb96189 Adding live-magic to snapshots. 2008-04-21 10:38:33 +02:00
Daniel Baumann 0c694993b7 Adding debian-unofficial-archive-keyring to snapshots. 2008-04-21 10:38:07 +02:00
Daniel Baumann 3c5260ea4d Updating live-snapshots example sources. 2008-04-19 21:21:52 +02:00
Daniel Baumann a2675ece91 Removing non anymore existing live-backports example sources. 2008-04-19 21:20:16 +02:00
Daniel Baumann 218d9a6dc6 Renaming image build script. 2008-04-19 20:46:36 +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 ef8df9bcad Allow fallback to chroot_package-lists inside binary lists
Without this, a modified version of the (say) "gnome" list inside
chroot_package-lists would be completely ignored when installing binary
packagelists.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-19 17:32:25 +02:00
Chris Lamb ac3563b3ca Remove temporary binary package list files
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-19 17:32:10 +02:00
Chris Lamb f8c8aaa99a Tidy calls to new Expand_packagelist
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-19 17:32:02 +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 262ebded39 Updating snapshot build script. 2008-04-18 08:49:38 +02:00
Daniel Baumann 0cf9ae0b0e When building snapshot images, also storing source.list away. 2008-04-17 13:05:29 +02:00
Daniel Baumann d9f7a3a9f1 Building snapshot images with --apt-recommends disabled. 2008-04-17 12:58:32 +02:00
Daniel Baumann 062a5dfd15 Adding example script to build a row of images. 2008-04-17 12:13:49 +02:00
Daniel Baumann 734762fcf1 Some formating and style cleanups. 2008-04-17 10:42:34 +02:00
Daniel Baumann dd470ea575 Using one single packages cache directory for all chroot packages. 2008-04-17 10:39:47 +02:00
Daniel Baumann bd76f9940b Using hardlinks to copy local packages into chroot. 2008-04-17 06:51:40 +02:00
Daniel Baumann bb6b5e1249 Moving lh_chroot_packages call in lh_chroot to old place. 2008-04-17 06:51:31 +02:00
Chris Lamb 478331c4e1 Install most chroot packages in one ${LH_APT} call (Closes: #475739)
This patch installs (almost) all chroot packages by queueing the package
names into a single file and then installing that. It depends on my
previous patch to install local packages by using an APT mirror.

This speeds up image build causes even greater speedups once more packages
adopt triggers.

(Packages installed by debconf preseeding are not touched, nor are packages
installed by tasks.)

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-17 06:51:22 +02:00
Chris Lamb 1086ec4784 Install local packages using a local APT repo instead of using "dpkg -i"
This patch modifies chroot_sources to build a small APT repo of the
local-packages and use that for local package installation instead of
"dpkg -i". This has a few advantages:

 * Removes the true ugliness that is "dpkg -i *.deb && apt-get install -f".
   This not only is slow and brittle, it causes scary "dpkg dependency
   error" messages to appear in build logs.

 * We can (ie. not implemented here) move to installing all the packages
   from:

    - lh_chroot_packages (ie. ${LH_PACKAGES})
    - lh_chroot_local-packages (ie. config/chroot_local-packages/*.deb)
    - lh_chroot_local-packageslists
    - lh_chroot_packages-lists
    - lh_chroot_linux-image

   .. in one shot. This would primarily improve speed as we would not keep
   invoking ${LH_APT}, and package installations can share triggers and
   suchlike -- installing a custom live-initramfs via local packages
   currently costs an additional "update-initramfs -u" call.

   It would also fix a number of obscure dependency cases, such as the one
   documented in #475739, and--if the user is using aptitude--may even
   result in better resolution choices.

 * Removes some messy and somewhat brittle code in lh_chroot_linux-image
   that edgecases a local live-initramfs.

The disadvantages are:

 * If local packages are being used and we are building in a chroot, we
   must refresh the sources list and rebuild the repo before building the
   binary images. (However, before this patch, we had to do this anyway if
   the binary mirrors were different from the chroot ones.)

 * We must add a little hack to the minimal hook to detect whether we are
   using local packages and not remove apt-utils (which creates the
   repository in lh_chroot_sources) if that is the case -- we cannot simply
   use "Install_package" inside lh_chroot_sources as we are not guaranteed
   to have working APT data because the minimal hook deliberately removes
   them!

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 13:50:24 +01:00
Chris Lamb 19c72588c8 hooks/minimal: Use "find -print0 | xargs -0" idiom over "find | xargs"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 13:50:24 +01:00
Tiago Bortoletto Vaz 76edb7835d lh_chroot_local-preseed: fix minor typo 2008-04-16 11:04:24 +02:00
Daniel Baumann eb7982d74e Releasing live-helper 1.0~a44-1. 2008-04-16 10:20:54 +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
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
Chris Lamb 9e272993cc Fix a number of issues with Syslinux templates (Closes: #476204)
This fixes:

 * The ugly "toboot" and "to\nboot" problems
 * Mistitled F4 page
 * Ugly line-breaking of Debian Live URL

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 03:34:21 +01:00
Chris Lamb 24200e1a2c Use "find -path" for matching "path/to/file" files (Closes: #476206)
This means that /isolinux/isolinux.bin and /boot/grub/stage2_eltorito are
not included in md5sum files anymore as intended. It also prevents a
strange and verbose warning from appearing in build logs.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 00:54:08 +01:00
Chris Lamb 8f39f474b7 Fix quoting when installing local packages (Closes: #470683)
This was causing problems when building a package and there were binary
packages in the directory above 'config/'. See [0] and [1] for more info.

 [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463406
 [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476294

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-15 18:34:34 +01:00
Chris Lamb 84612231f6 Fix typo in policy-rc.d
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-15 18:34:34 +01:00
Daniel Baumann ece0f9b574 Sorting image file lists. 2008-04-15 17:38:03 +02:00
Daniel Baumann 3f703f4802 Consistenly using short options rather than long options in function files. 2008-04-15 17:17:48 +02:00
Daniel Baumann fd818bdd1d Improving .deb caching by using hardlinks (if possible). 2008-04-15 17:16:28 +02:00
Daniel Baumann 214ad680d3 Creating binary and source file lists in build directory. 2008-04-15 13:59:53 +02:00
Daniel Baumann 72a7e46e00 Also copying binary package list to build directory. 2008-04-15 13:54:32 +02:00
Daniel Baumann 9d4ea53717 Also adding a packages.txt when building etch images, although there is a casper/filesystem.manifest already. 2008-04-11 18:18:04 +02:00
Chris Lamb 49d27a086d lh_chroot_linux-image: Catch missing case in local live-initramfs handling
This patch catches the case when LH_APT is "apt", its default value. This
was causing build failures when using a local live-initramfs .deb.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-10 22:36:22 +01:00
Chris Lamb 37666ee1bb helpers/lh_config, functions/defaults.sh: Correct "boostrap" -> "bootstrap"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-10 22:31:17 +01:00
Daniel Baumann b7d55d146b Updating oot example hooks to loop through all install kernel flavours. 2008-04-10 12:43:50 +02:00
Daniel Baumann f4c10e4614 Releasing live-helper 1.0~a43-1. 2008-04-09 20:55:14 +02:00
Daniel Baumann d5ac81a8e3 Sort md5sum.txt files again after filename. 2008-04-09 13:31:46 +02:00
Daniel Baumann eded2a1791 Fixing forgotten variable in conffile loop. 2008-04-08 17:58:47 +02:00
Daniel Baumann 123e5477ec Updating help output of lh_config. 2008-04-08 12:18:42 +02:00
Daniel Baumann 2e25016815 Applied patch from Erwan Le Gall <elegall@linagora.com> to give a warning when installing local packages with wrong naming scheme. 2008-04-07 12:25:03 +02:00
Daniel Baumann 07a3c54d46 Using new Read_conffile(); now. 2008-04-07 12:10:21 +02:00
Daniel Baumann 8f2ad4fc97 Allowing multiple arguments for Read_conffile();. 2008-04-07 12:04:35 +02:00
Daniel Baumann af3aebda73 Centraly evaluate LH_CONFIG for custom configuration file. 2008-04-07 12:01:37 +02:00
Daniel Baumann e79e733e49 Adding 'all' configuration file. 2008-04-07 11:58:50 +02:00
Daniel Baumann c553c5bbe6 Removing temporary workaround of adding lzma-modules2.6 to linux packages, all fixed squashfs are now in sid and lenny. 2008-04-03 09:09:50 +02:00
Daniel Baumann 01825caf3b Releasing live-helper 1.0~a42-1. 2008-03-31 08:06:06 +02:00
Daniel Baumann a5fff6e72d Also including lzma modules on lenny temporarily. 2008-03-28 11:18:25 +01:00
Daniel Baumann 6204d9a8ba Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile (Closes: #472774). 2008-03-26 10:41:42 +01:00
Daniel Baumann 58544b017b Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures (Closes: #472775). 2008-03-26 10:37:39 +01:00
Daniel Baumann fe6768ed0f Releasing live-helper 1.0~a41-1. 2008-03-25 09:52:15 +01:00
Daniel Baumann b211016196 Fixing md5sum.txt creation to not fail on filenames with whitespaces, thanks to Bas Wijnen <wijnen@debian.org> (Closes: #469085). 2008-03-25 09:48:34 +01:00
Daniel Baumann 8d9638ee1d Updating copy instructions in example sources to match current state. 2008-03-25 09:30:15 +01:00
Daniel Baumann d4a35b7087 Updating credits. 2008-03-25 09:11:47 +01:00
Chris Lamb 71503807d8 lh_chroot_hacks: Ensure initrds are group- and world- readable
The loop-aes-utils sets a umask in its update-initramfs configuration,
causing initrds to have "0600" permissions which causes boot failures
when offering the files over netboot or similar.

The justification given by loop-aes is that, as it supports encrypting
against embedded GPG keyrings, the keys would be compromised if the files
were group- or world- readable. However, as live-helper does not support
this feature, it is safe to simply correct the permissions.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-23 04:27:21 +00:00
Chris Lamb 1ca0b58aac Allow LH_ENCRYPTION="disabled" to disable encryption
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-23 04:21:47 +00:00
Chris Lamb ea375828e9 lh_binary_encryption: Rework and fix broken AES encryption routines
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-23 04:20:31 +00:00
Chris Lamb 31dca28f67 lh_binary_rootfs: Remove
mksquashfs has a nasty habit of segfaulting when creating an image where
an image already exists. This can happen, for example, if you are
performing multiple runs of lh_binary and the build breaks for some reason.

This is almost certainly a bug in mksquashfs; I will look into finding a
suitable testcase.
2008-03-23 04:08:46 +00: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 7b2994ec00 lists/gnome-core: Add gnome-themes
Gnome is really really ugly without its theme package. :)

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 03:42:36 +00:00
Chris Lamb 9e6c04702f lh_chroot_linux-image: Install dependencies differently when using aptitude
We must use "aptitude install <pkgname>" to install dependencies of a
dpkg-installed <pkgname>, or aptitude's resolver will remove it. apt-get
does not have this "feature".

This was causing a problem when using a custom versions of live-initramfs
as they would be removed, causing a boot failure.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 02:44:18 +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 92edfe399b 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.
2008-03-21 22:51:15 +01:00
Chris Lamb fb89c5ada9 hooks/stripped: Clean Lintian and Linda overrides in 'stripped' hook
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-21 07:34:35 +01:00
Cyril Brulebois b330076bef Fix various typos. 2008-03-13 17:50:59 +01:00
Daniel Baumann e994ff8771 Correcting wrong logic on handling secure apt. 2008-03-11 17:32:03 +01:00
Daniel Baumann 055e965427 Including 686 kernel flavour on i386 too, but defaulting (still) to 486 for compatibility reasons. 2008-03-11 10:33:35 +01:00
Daniel Baumann bb6c064d25 Releasing live-helper 1.0~a40-1. 2008-03-11 10:25:40 +01:00
Otavio Salvador 3289907307 functions/losetup.sh: use SECTORS as variable name to reflect the real usage 2008-03-10 21:15:21 -03:00
Daniel Baumann a955c29e10 Fixing wrong debian-installer auto target configuration. 2008-03-09 13:34:41 +01:00
Daniel Baumann 4e21be3148 Adjusting wrong variable convention in syslinux templates for LH_VERSION (Closes: #468841). 2008-03-09 10:07:10 +01:00
Daniel Baumann 92a0b19dc8 Re-adding quiet on all d-i install targets in post-etch, except expert (and keeping Chris fixed quiet handling). 2008-03-09 09:58:44 +01:00
Chris Lamb 206f3b3f21 Don't append 'quiet' kernel parameter in rescue modes
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-09 09:56:19 +01:00
Chris Lamb 8a19cbfff1 Ensure syslinux entry names match templates and standard d-i names
This patch alters the syslinux labels to follow the "expert" and
"expertgui" style in favour of "TextExpert" and "GUIExpert".

This makes the names match Live Helper's syslinux templates, as well as the
more typical d-i installations and numerious sources that claim that one
should "just type 'expert' at the syslinux prompt", etc.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-09 09:56:10 +01:00
Daniel Baumann bf4e15bff2 Bumping live-helper version. 2008-03-08 18:48:27 +01:00
Daniel Baumann ab336ba97e Updating copyright years to 2008. 2008-03-06 16:43:00 +01:00
Daniel Baumann 0ec40131de Updating documentation about how to report bugs. 2008-03-06 16:16:58 +01:00
Daniel Baumann fc40e7c62f Cleaning up target depends in rules. 2008-03-06 15:56:48 +01:00
Daniel Baumann a179a52dc9 Removing (temporary) preinst, not needed anymore. 2008-03-06 15:45:43 +01:00
Daniel Baumann ed1f518b1c Improved wording of debian-live splash license. 2008-03-06 15:34:54 +01:00
Daniel Baumann 56e75b63ff Reworded package description. 2008-03-06 15:32:15 +01:00
Daniel Baumann 457b611055 Fixing incomplete changelog entry from git-dch. 2008-03-06 15:00:22 +01:00
Daniel Baumann 5e0c3928bc Adding bug presubj message. 2008-03-06 14:59:02 +01:00
Daniel Baumann 54931a3831 Updating bug script to also check for recently added packages to suggests. 2008-03-06 14:53:28 +01:00
Daniel Baumann d731423896 Releasing live-helper 1.0~a39-1. 2008-03-02 22:25:09 +01:00
Daniel Baumann cc2cf994d4 Also handling ext3 in lh_binary_rootfs, thanks to Bas Wijnen <wijnen@debian.org> (Closes: #468902). 2008-03-02 11:12:02 +01:00
Bas Wijnen dd6a5d408b Making usb-hdd images large enough (Closes: #468855).
When building a very minimal live system on a usb-hdd target, the generated
image is too small. A very minimal system is smaller than 50MB, and so this is
the same as DU_DIM for such a system. This is too small. Unconditionally adding
one solves the problem.
2008-03-02 08:24:59 +01:00
Chris Lamb 931881f27a Use ${*} instead of ${@} for checking for no arguments in lh_clean.
${@} expands to "<arg1>" "<arg2>" ... etc., which causes the -z test to
encounter too many arguments and thus fail with an error.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-02 01:00:38 +00:00
Daniel Baumann 7f57e72520 Fixed accidental overwriting of LH_NET_TARBALL value in defaults. 2008-03-01 23:18:30 +01:00
Daniel Baumann 522c2455bc Adding temporary hack to remove fstab when using live-installer. 2008-03-01 14:43:47 +01:00
Daniel Baumann 2e50db26fd Adding --jffs2-eraseblock parameter.
Marco sais, that flash devices often need a different erase size than mkfs.jffs2
defaults to. Hence, this parameter passes the blocksize to the mkfs.jffs2 call
through --eraseblock option.
2008-03-01 13:19:54 +01:00
Daniel Baumann ccb76dc4a4 It's actually enough to just truncate kernel-img.conf and also less invasive than including a default configuration. 2008-02-29 17:29:00 +01:00
Daniel Baumann 6244123de2 Including default kernel-img.conf in live-systems. 2008-02-29 16:40:02 +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 5ce8ab768b Fixing typo in sed call to set isolinux splash file. 2008-02-29 12:47:03 +01:00
Daniel Baumann 31913a9a61 Changing version scheme for snapshots. 2008-02-29 12:10:35 +01:00
Daniel Baumann b29652a480 Adding lzma modules on sid. 2008-02-29 11:48:42 +01:00
Daniel Baumann 88ecda55c3 Added forgotten getopts arguments for chroot mirror. 2008-02-27 21:06:11 +01:00
Daniel Baumann 0472269ef8 When a wrong argument is passed, that argument should be listed (Closes: #468201). 2008-02-27 19:05:35 +01:00
Daniel Baumann 2d88de5ab6 Adding option to set binary-net compression (or disable it). 2008-02-26 19:57:41 +01:00
Daniel Baumann 48c44d129c Rewriting copyright in machine-interpretable format. 2008-02-26 19:27:13 +01:00
Daniel Baumann 1c7ec07fbe Fixing manpage quoting errors. 2008-02-26 19:09:31 +01:00
Daniel Baumann 162c2a9aec Fixing spelling mistake in changelog. 2008-02-26 18:36:57 +01:00
Daniel Baumann 558cfca4ed Releasing live-helper 1.0~a38-1. 2008-02-26 13:39:11 +01:00
Daniel Baumann a00b71ab01 Updating devel-live package list. 2008-02-26 13:31:56 +01:00
Daniel Baumann 7d67f78ddf Re-adding additional indices updated, otherwise we wouldn't honor thirdparty repositories (anymore). 2008-02-24 16:30:58 +01:00
Daniel Baumann 9b7193de8e Fixing quoting with chroot wrapper calls. 2008-02-24 15:19:41 +01:00
Daniel Baumann 33ef1c4ce7 Fixing aptitude typo. 2008-02-24 15:12:16 +01:00
Daniel Baumann c251e5f227 Improving etch compat warnings. 2008-02-24 13:41:50 +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 fd315529e0 Renaming extra bootstrap indices to chroot. 2008-02-21 20:46:49 +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
Otavio Salvador 20ffe176ed lh_binary_rootfs: add support to generate jffs2 filesystem 2008-02-20 21:15:50 -03:00
Otavio Salvador 774aebab84 lh_binary_encryption: add jffs2 as not supported filesystem 2008-02-20 21:15:50 -03:00
Otavio Salvador 5cdd8df091 lh_config: add jffs2 in supported filesystems 2008-02-20 21:15:50 -03:00
Otavio Salvador b6149744e3 lh_source_debian: add mtd-tools since it provides mkfs.jffs2 application 2008-02-20 21:15:49 -03:00
Otavio Salvador 896af51d93 debian: add mtd-tools in suggests field since it's used when jffs2 is choosen 2008-02-20 21:15:49 -03:00
Otavio Salvador ff9eb4e41f chroot: don't fail if /dev/pts is already mounted 2008-02-20 10:11:22 -03:00
Otavio Salvador 92cd4a1daa binary: do not fail if parameters.txt isn't available 2008-02-15 16:14:30 -02:00
Daniel Baumann 03783def4b Fixing typo. 2008-02-13 10:20:42 +01:00
Otavio Salvador 7d2d532f70 bootstrap: use minbase flavour when LH_PACKAGES_LISTS is set to minimal
Since debootstrap 1.0.8 there's a variant called minbase that installs
just essentials packages so base's size is greatly reduced. Use this
variant when producing reduced images.
2008-02-07 18:34:25 -02:00
Otavio Salvador c7cbfa0754 bootstrap: adds support to debootstrap 1.0.7
New debootstrap has change the scripts to /usr/share since they're
architecture independent code. The support for it has been added
however it fallback to /usr/lib to keep backward compatibility.
2008-02-07 15:13:45 -02:00
Daniel Baumann a8998d70d9 Removing unintendet set -x. 2008-01-18 09:52:04 +01:00
Daniel Baumann a0e8e45a4f Working arround aptitude behaviour of removing packages rather than to installing missing depends when using initramfs generator from local-packages. 2008-01-18 09:51:07 +01:00
Daniel Baumann 84d7dc0ccd Correcting wrong installation attempt of initramfs generator from local-packages. 2008-01-18 09:23:32 +01:00
Daniel Baumann bdba07d1cd Removing install call for old changelog, which is not needed anymore. 2008-01-17 22:15:13 +01:00
Daniel Baumann 5b957702d4 Installing initramfs generator from local-packages, if available. 2008-01-17 20:54:10 +01:00
Daniel Baumann 0d0e8bb268 Renaming mini flavour to stripped to avoid confusion, thanks to Fathi Boudra <fabo@debian.org> and Ben Armstrong <synrg@debian.org>. 2008-01-17 18:15:11 +01:00
Daniel Baumann 25f4d73ba9 Merging old live-package debian changelog entry for testing upload. 2008-01-17 12:39:38 +01:00
Daniel Baumann 24c85187ee Merging old live-package debian changelog into current debian changelog. 2008-01-17 12:33:50 +01:00
Daniel Baumann aa6643d957 Fixing typo, thanks to Fathi Boudra <fabo@debian.org>. 2008-01-16 16:50:42 +01:00
Daniel Baumann ea91231cba Using ftp.us.debian.org rather than ftp.debian.org, see http://lists.debian.org/debian-devel-announce/2007/12/msg00002.html. 2008-01-16 12:58:07 +01:00
Daniel Baumann 2576eed731 Checking for /sys/class rather than /sys/kernel, avoids problem when running under OpenVZ which doesn't have sys/kernel, thanks to Takeshi Yaegashi <yaegashi@debian.org>. 2008-01-16 10:24:23 +01:00
Chris Lamb 8b59b61bb2 Use C-style 'include' in lists (backwards compatible).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-16 10:19:10 +01:00
Chris Lamb d1dd598f83 Remove duplicated 'irpas' package in rescue list.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 20:54:35 +00:00
Chris Lamb 97cc5853ca Remove trailing newline from syslinux splash screens. (Closes: #457740)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 20:01:41 +00:00
Chris Lamb 2ae4b3bf37 Re-order hooks such that local hooks are executed first. (Closes: #453360)
Some non-local hooks clean the chroot too much, resulting in the
local hooks having to perform identical clean-up tasks (for example,
downloading a package).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 19:51:37 +00: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
Daniel Baumann 3ea7ef688f Fixing changelog. 2008-01-15 08:10:12 +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
Chris Lamb c6108d09b3 Don't prompt when autoremoving packages in minimal hooks.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 01:34:01 +00:00
Chris Lamb 4577edad20 Remove 'ssl' package references from mini and minimal hooks.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 01:33:18 +00:00
Chris Lamb c837a9ebb4 Implement -v/--version and -h/--help in lh_clean.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-15 00:05:51 +00:00
Chris Lamb c833147b8d Implement -u/--usage function in lh_clean (Closes: #454553)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-01-14 23:43:51 +00:00
Daniel Baumann fefba74183 Don't fail if resolv.conf is a symlink, thanks to David Madore <david.madore@ens.fr> (Closes: #457595). 2007-12-23 21:26:01 +01:00
Daniel Baumann 20c3c938a0 Removing discover from standard-x11 list, udev does the same. 2007-12-22 17:13:03 +01:00
Daniel Baumann 042354c7df Switching to GPL3+. 2007-12-22 09:45:48 +01:00
Daniel Baumann c3123302c9 Addjusting lh helper to be called from lh_local. 2007-12-22 09:36:54 +01:00
Daniel Baumann f40522b7d8 Adding lh_local based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>. 2007-12-22 09:34:38 +01:00
Daniel Baumann 35b5d4a8e4 Adding example binary hook to copy live-helper and its config based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>. 2007-12-22 09:26:47 +01:00
Daniel Baumann 6e28cb02a0 Checking LH_APT when using mini and minimal package lists. 2007-12-22 09:10:25 +01:00
Daniel Baumann c8bcdfff6f Updating rules. 2007-12-22 09:04:52 +01:00
Daniel Baumann bc5dab6908 Removing mkisofs from recommends, not needed anymore. 2007-12-22 08:55:55 +01:00
Daniel Baumann aa22e6b7a2 Bumping standards version. 2007-12-22 08:54:25 +01:00
Daniel Baumann 363a5f46e7 Fixing changelog email address. 2007-12-22 08:53:41 +01:00
Daniel Baumann cd4bc3078f Don't fail silently when extern executables are configured but not present. 2007-11-21 21:05:32 +01:00
Daniel Baumann 1be409ac5f Fixed incomplete fdisk parameter list in lh_config --help. 2007-11-21 11:19:38 +01:00
Daniel Baumann 6b444f8348 Also removing manpage cache in cleanup. 2007-11-20 11:23:26 +01:00
Daniel Baumann 01aea03e6d Fixing typing error in Makefile. 2007-11-19 18:07:55 +01:00
Daniel Baumann e2a12251c5 Preparing live-helper 1.0~a38-1. 2007-11-19 18:07:35 +01:00
Daniel Baumann 971400b9b8 Releasing live-helper 1.0~a37-2. 2007-11-19 17:56:35 +01:00
Daniel Baumann 87426f6165 Disabling global arguments in lh_clean (Closes: #451960). 2007-11-19 17:55:28 +01:00
Daniel Baumann d7043ee143 Releasing live-helper 1.0~a37-1. 2007-11-18 17:15:08 +01:00
Daniel Baumann 020d069b06 Rewritten lh_testroot manpage. 2007-11-18 17:08:29 +01:00
Daniel Baumann b41483a261 Rewritten lh_config manpage. 2007-11-18 17:04:00 +01:00
Daniel Baumann 45a11ae32e Fixing lh_clean manpage synopsis formatting. 2007-11-18 16:29:30 +01:00
Daniel Baumann 8049ea3d6c Rewriting lh_clean manpage. 2007-11-18 16:20:56 +01:00
Daniel Baumann 7e6e498ce7 Moving sanity check in lh_clean to the earliest possibility. 2007-11-18 16:15:43 +01:00
Daniel Baumann fefbe2259e Switching lh_clean to proper command line arguments. 2007-11-18 16:14:50 +01:00
Daniel Baumann f9242b2d49 Removing lh_bootstrap_* manpages temporarily. 2007-11-18 16:01:36 +01:00
Daniel Baumann 964eab423a Fixing wrong parted call. 2007-11-18 11:33:46 +01:00
Daniel Baumann d26e57998f Adding an upgrade and dist-upgrade to lh_chroot_sources, so that security updates gets pulled into the base system. Thanks to Kai Hendry <hendry@iki.fi>. 2007-11-18 11:09:55 +01:00
Daniel Baumann ec0d5cd48b Adding binary filesystem option, currently only supporting fat16 and fat32. 2007-11-16 23:01:03 +01:00
Daniel Baumann 702de9d2ed Speeding up the dd call, thanks to Peter Skogstroem <peter.skogstrom@bitrunner.com>. 2007-11-15 10:11:56 +01:00
Daniel Baumann 2e51237e12 Do really not create the filesystem with parted. 2007-11-14 23:04:24 +01:00
Daniel Baumann 6edcf23b29 Do not create the filesystem with parted. 2007-11-14 23:01:44 +01:00
Daniel Baumann 7b8a85422a Mounting pseudo filesystems before creating binary images in non-chrooted builds. 2007-11-14 10:13:58 +01:00
Daniel Baumann 92ae98e621 Fixing typing error. 2007-11-14 10:02:56 +01:00
Daniel Baumann 94c3ca731a Moving lh_losetup into an internal function, avoiding helper failure with return value due to new trap. 2007-11-14 09:55:50 +01:00
Daniel Baumann 769618067d Fixing fstab handling. 2007-11-13 22:41:08 +01:00
Daniel Baumann 7e16acb245 Rewritten lh_build manpage. 2007-11-13 22:26:44 +01:00
Daniel Baumann d178ab1ed2 Rewritten lh_source manpage. 2007-11-13 22:21:18 +01:00
Daniel Baumann cdd933205c Rewritten lh_chroot manpage. 2007-11-13 22:16:45 +01:00
Daniel Baumann cc13cce568 Rewritten lh_bootstrap manpage. 2007-11-13 22:15:43 +01:00
Daniel Baumann 7967671d32 Rewritten lh_binary manpage. 2007-11-13 22:03:36 +01:00
Daniel Baumann d1e47c38a9 Fixed wrapping. 2007-11-13 21:47:21 +01:00
Daniel Baumann 341e5e1aa3 Adding manpage for lh. 2007-11-13 21:43:08 +01:00
Daniel Baumann 3773ed2765 Extending conffiles to allow config/., config/., as well as config/, config/. and config/.. 2007-11-13 21:09:34 +01:00
Daniel Baumann e40202da69 Fixing typing errors. 2007-11-13 20:55:43 +01:00
Daniel Baumann 494d45fda1 Rewritten live-helper manpage. 2007-11-13 20:43:25 +01:00
Daniel Baumann 9e6cf5102e Removing German manpages, they will be re-translated after the English manpages are finished. 2007-11-13 17:45:39 +01:00
Daniel Baumann e743c23cd7 Fixing some coding style issues. 2007-11-13 13:49:41 +01:00
Daniel Baumann 034a067667 Preparing live-helper 1.0~a37-1. 2007-11-13 13:49:18 +01:00
Daniel Baumann 5dcc43149e Releasing live-helper 1.0~a36-1. 2007-11-13 13:29:41 +01:00
Daniel Baumann 2e35367c01 Adding 'remove' case, which is in between of all and purge. 2007-11-13 13:08:51 +01:00
Daniel Baumann 9bb9d02995 Removing the unmounting of pseudo filesystems from the trap call, needs some other changes before it can safely be done. 2007-11-13 12:56:48 +01:00
Daniel Baumann 17e172bbdf Outputting an own message when having more than one case in a helper, instead of a global one. 2007-11-13 12:49:43 +01:00
Daniel Baumann 8f8a9ec521 Adding checkbashsms call to test target of the Makefile as suggested by Trent W. Buck <trentbuck@gmail.com>. 2007-11-13 11:28:23 +01:00
Daniel Baumann c8f66ebe90 Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>. 2007-11-13 09:00:16 +01:00
Daniel Baumann 9ad970aca2 Adding option to disable md5sum generation. 2007-11-12 23:00:48 +01:00
Daniel Baumann 2a9dfc7421 Removing the whole cache, not just the .deb cache in mini and minimal hooks, thanks to Franklin Piat <fpiat@bigfoot.com>. 2007-11-12 22:51:27 +01:00
Daniel Baumann b0282f5d26 Adding check to detect gnu-fdisk and using the original fdisk, thanks to Peter Skogström <peter.skogstrom@bitrunner.com> for the report. 2007-11-12 22:43:28 +01:00
Daniel Baumann 4c91fd7d96 Adding a check to see if user is running lh_clean from a sane location (i.e. not config/), thanks to Kai Hendry <hendry@webconverger.com>. 2007-11-12 22:31:06 +01:00
Daniel Baumann fb1e3ce43a Adding some more fakeroot related fixes from An-Cheng Huang <ancheng@vyatta.com>. 2007-11-11 23:05:55 +01:00
Daniel Baumann 13e39acb9f Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2007-11-11 23:00:43 +01:00
Daniel Baumann d7fb22ca8b Extending --force to also cover lockfiles to avoid recursive loop within trap. 2007-11-11 22:03:02 +01:00
Daniel Baumann be5c114a90 Making umount calls check if they are actually necessary. 2007-11-11 21:33:43 +01:00
Daniel Baumann 30d76edc02 Fixing trap call, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2007-11-11 21:29:25 +01:00
Daniel Baumann e6d09c8eeb Updating to install the generic wrapper. 2007-11-11 16:34:13 +01:00
Daniel Baumann 5fec5b20a4 Improving trap call to unmount pseudo filesystem when failing as suggested by Justin Pryzby <jpryzby@quoininc.com>. 2007-11-11 15:44:24 +01:00
Daniel Baumann 02c57db196 Fixing spelling mistake, thanks to Kel Modderman <kel@otaku42.de>. 2007-11-11 14:48:20 +01:00
Daniel Baumann cd101e9220 Adding generic lh wrapper. 2007-11-11 14:45:34 +01:00
Daniel Baumann 0408e7ebba Added warning about etch compatibility of lh_config options. 2007-11-11 14:14:25 +01:00
Daniel Baumann 8635931e79 Fixing some coding style issues. 2007-11-11 13:57:11 +01:00
Daniel Baumann 1d728dcb3e Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini. 2007-11-11 13:02:32 +01:00
Daniel Baumann 7922892146 Adding custom reportbug script. 2007-11-11 11:09:33 +01:00
Daniel Baumann 174bc9ede5 Evaluating local arguments befor setting the defaults (Closes: #444985). 2007-11-11 10:30:40 +01:00
Daniel Baumann 8e94824fe9 Fixing wrong kernel flavour warning message on m68k. 2007-11-11 10:23:08 +01:00
Daniel Baumann 6e3fa37642 Correcting some language shortcommings. 2007-11-11 10:21:21 +01:00
Daniel Baumann e2e653c198 Fixing trap call as suggested by Justin Pryzby <jpryzby@quoininc.com> (Closes: #431160, #449087). 2007-11-11 10:15:51 +01:00
Daniel Baumann f65b830016 Preparing live-helper 1.0~a36-1. 2007-11-11 10:11:57 +01:00
Daniel Baumann 0a0d546e94 Releasing live-helper 1.0~a35-1. 2007-11-10 19:02:50 +01:00
Daniel Baumann cfbadf00dc Adding option to allow building in fakeroot/fakechroot environment, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2007-11-10 18:39:49 +01:00
Daniel Baumann b4b0384b61 Documenting preseeding for sun-java hooks, thanks to Antonio Amorim <Antonio.Amorim@sim.fc.ul.pt>. 2007-11-10 17:38:36 +01:00
Daniel Baumann 51cfe60fc6 Using shell redirection to truncate rather than additional commands/forks/files, thanks to Justin Pryzby <jpryzby@quoininc.com>. 2007-11-10 15:40:53 +01:00
Daniel Baumann 7cacae2d94 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2007-11-10 15:23:27 +01:00
Jesse Hathaway 27e3585e7a add new option --syslinux-menu to enable syslinux menu
added a new syslinux menu splash screen, I'm not an artist
but I think it is better than the generic splash which was
already included. Also added the svg file if anyone wants
to make any changes.
2007-11-02 09:34:00 -04:00
Daniel Baumann a0fcb117a0 Corrected wrong path, thanks to Ben Armstrong <synrg@debian.org>. 2007-11-01 17:52:12 +01:00
Jesse Hathaway b2068cd691 fix isolinux when booting multiple kernel flavours 2007-10-31 16:20:57 -04:00
Jesse Hathaway 890801563d fix syslinux timeout option
change MILISECONDS to SECONDS. Syslinux actually uses
tenths of seconds not milliseconds, but it seems
unnecessary to expose this to the user. Fix templates
to only specify the timeout once.
2007-10-31 14:43:26 -04:00
Jesse Hathaway e7100f46b8 add /etc/adjtime to list of writable files in exposed root mode 2007-10-31 10:20:15 -04:00
Jesse Hathaway 800687e9ba allow basename of net-root-path to be binary
This is convenient for testing as you can directly export
the build directory, rather than untarring the net image
in another location.
2007-10-31 10:20:15 -04:00
Jesse Hathaway ae8cb3bce0 add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
2007-10-31 10:20:15 -04:00
Daniel Baumann 1385ab5526 Preparing live-helper 1.0~a35-1. 2007-10-31 13:53:52 +01:00
Daniel Baumann a1c4a224f2 Releasing live-helper 1.0~a34-1. 2007-10-31 13:52:21 +01:00
Daniel Baumann f7777a1712 Adding lh_chroot_devpts. 2007-10-31 11:20:03 +01:00
Daniel Baumann 15f9200589 Fixing indenting. 2007-10-31 11:10:05 +01:00
Jesse Hathaway bb08fc8d1e add new option to mount cow device on nfs volume
At the moment this only works with the root volume
on nfs as well. If we add a switch to configure the
network early in the boot process then this option
could be made available for other root mediums. This
option works reliably on the latest kernel 2.6.23.1
On earlier kernels I experienced frequent oopses.
2007-10-31 11:06:58 +01:00
Daniel Baumann beebfa63ae Setting LH_BOOTSTRAP_FLAVOUR only when using cdebootstrap. 2007-10-31 10:55:37 +01:00
Daniel Baumann eaadafff8e Fixing typing error (wrong variable name). 2007-10-31 10:49:38 +01:00
Daniel Baumann 779a9dbe2e Correcting vcs fields. 2007-10-30 11:02:52 +01:00
Daniel Baumann e4410130ab Fixing typing error (missing paranthese). 2007-10-30 09:52:38 +01:00
Daniel Baumann d29dd22a73 Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034). 2007-10-30 06:35:35 +01:00
Maarten ter Huurne 2e260e9e86 Avoid [Y/n] query on package autoremove in "mini" hook.
Added "--yes" to "apt-get autoremove" line to avoid APT from popping up a
confirmation.
2007-10-29 21:13:53 +01:00
Maarten ter Huurne b7cbf62451 Fixed lh_config tool name in manpage.
For some reason the page said "lh_source" originally. Copy-paste error?
2007-10-29 19:39:25 +01:00
Daniel Baumann 51a91b805c Correcting homepage field. 2007-10-29 12:08:07 +01:00
Daniel Baumann 48eb8f7ba7 Preparing live-helper 1.0~a34-1. 2007-10-29 11:57:24 +01:00
Daniel Baumann 4f3f3c45b0 Releasing live-helper 1.0~a33-1. 2007-10-29 11:55:19 +01:00
Alex Owen c71e0d5517 fix lh_chroot_sources to actually install *.deb from config/chroot_sources 2007-10-28 18:22:33 -02:00
Maarten ter Huurne b01e3ff769 Added feature to exclude paths from the root filesystem.
To make the root filesystem as small as possible, it can be useful to exclude
certain files or directories. This is now possible by using the file
config/binary_rootfs/exclude, which contains a whitespace separated list of
file paths to exclude; wildcards are allowed. These paths are removed from the
chroot copy before the root filesystem is built.
2007-10-28 03:14:42 +01:00
Maarten ter Huurne c7e50a404e Remove ".img" from kernel image file name.
When an ISO is created with the kernel image file name ending in ".img", the
ISO will not boot. In Qemu, the following error will be shown:

        FATAL: Int13 eltorito call with AX=4C00

This means a non-implemented BIOS entry was called. In VMware and on real
hardware there is a different error message:

        Cannot load disk image (invalid file)?

Removing the ".img" part of the file name solves this.
2007-10-27 20:38:15 +02:00
Jesse Hathaway 00aa1d0c28 add exposedroot option which exposes the root fs as ro
This option allows you to expose the root read only.  Using
this option a person could upgrade the root filesystem or
add packages without requiring the user to reboot. The root
filesystem could be kept on an nfs volume or some other
persistent medium. Multiple clients could then be booted off
the same root fs. I used LTSP as a template to determine which
directories to make rw.
2007-10-24 13:36:42 -04:00
Daniel Baumann acff181e63 Setting default union filesystem to for etch to unionfs. 2007-10-19 18:28:35 +02:00
Daniel Baumann 24767fd736 Removing mkisofs support. 2007-10-19 12:54:26 +02:00
Daniel Baumann 979cd28cc4 Removing ubuntu support. 2007-10-19 12:45:57 +02:00
Daniel Baumann 29cbc991eb Adding cryptsetup. 2007-10-19 09:43:33 +02:00
Daniel Baumann 9994d4494e Preparing live-helper 1.0~a33-1. 2007-10-18 22:49:30 +02:00
Daniel Baumann ef6b9c5d76 Releasing live-helper 1.0~a32-1. 2007-10-18 22:46:51 +02:00
Daniel Baumann ce0c2b4e64 Adding lh_binary_local-packageslists. 2007-10-18 22:28:54 +02:00
Daniel Baumann 7df411ab40 Updating Debian stable release number, thanks to Peter Skogström <peter.skogstrom@bitrunner.com>. 2007-10-18 22:17:50 +02:00
Daniel Baumann 4ff18b78b6 Fixing typing error, thanks to Peter Skogström <peter.skogstrom@bitrunner.com>. 2007-10-18 22:17:04 +02:00
Otavio Salvador b1d10e6a28 lh_binary_syslinux: always put splash image as splash.{rle,png} to avoid filename issues 2007-10-17 13:55:08 -02:00
Otavio Salvador 763a576d88 lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path 2007-10-17 13:53:54 -02:00
Jesse Hathaway 293ef95b91 lh_binary_syslinux: fix usb-hdd etch images
I did not realize that the syslinux boot methods,
iso, net, & hdd do not have feature parity for any
given version. As per old comments etch syslinux
v3.31 does not support sub directories on FAT images
2007-10-17 13:53:49 -02:00
Daniel Baumann cede7843d2 Setting union filesystem default to aufs since default distribution is lenny. 2007-10-15 17:50:18 +02:00
Daniel Baumann fbc0d88166 Adjusting error message: debootstrap is default, hence listed first. 2007-10-14 23:44:49 +02:00
Daniel Baumann e98b7dda9d Adding support for a local /etc/apt/preferences file in config/chroot_apt/preferences. 2007-10-14 21:47:35 +02:00
Jesse Hathaway c5f302869e readd support for booting etch via syslinux 2007-10-14 11:33:10 -04:00
Jesse Hathaway 4314b13356 Unify syslinux code, so that pxelinux isolinux & usb-hdd
share more code.

Change pxelinux directory setup to match debian installer

Change syslinux templates to use {$VAR} syntax so the
templates are easier to read

Remove etch support for syslinux, since INCLUDE syntax
is not available in etch syslinux v3.31
2007-10-14 11:32:43 -04:00
Daniel Baumann d1978af30a Not interpreting LH_UNION_FILESYSTEM, so that it gets set with an actual value at build-time (Closes: #446306). 2007-10-12 16:11:44 +02:00
Daniel Baumann f712678141 Adding check to fail if a cross build is started (Closes: #444669, #444670). 2007-10-10 11:39:55 +02:00
Daniel Baumann 687aee76e9 Adding sudo and fakeroot to suggests. 2007-10-10 10:13:04 +02:00
Daniel Baumann 0a3c459b6a Fixing consistency error. 2007-10-09 22:50:35 +02:00
Daniel Baumann f5e1d17219 Preparing live-helper 1.0~a32-1. 2007-10-09 21:36:27 +02:00
Daniel Baumann f91be2b7f3 Releasing live-helper 1.0~a31-1. 2007-10-09 21:33:44 +02:00
Otavio Salvador 883594ed64 syslinux: fix usb-hdd templates coping 2007-10-09 13:04:56 -03:00
Otavio Salvador 4d6271dddb syslinux: properly change timeout and do not fail if help files do not exists 2007-10-09 10:28:05 -03:00
Otavio Salvador 9b189a6255 syslinux: fix usb-hdd entries to use menu.cfg file 2007-10-08 17:43:48 -03:00
Otavio Salvador 30fb0c2272 fix version guessing using proper evaluation 2007-10-08 17:45:36 +02:00
Otavio Salvador a516cac94f templates: change font used on syslinux menu to a better one
Previous used font had a bug with some chars and was also too big for
general use so a smaller and right one has been choosen.
2007-10-08 10:14:41 +02:00
Otavio Salvador e1f157ee2c iso: use -allow-multidot option when calling genisoimage
To properly support syslinux menus we need to provide fonts (specially
when using accents and like) and those files are usually found on
systems using multiple dots on their filenames (e.g iso01.f14.psf) and
then makes sense to support this by default or our users can spent _a
lot_ of time to sort this kind of problem out.

While doing it, the duplicated command line has been removed and code
changed to avoid this duplication making future changes need to touch
just one place.
2007-10-08 10:14:38 +02:00
Otavio Salvador aed8d437ac syslinux: force latin1 encoding on texts used for labels
syslinux cannot handle utf-8 encoding and then proper encoding needed
to be enforced while printing the label texts.
2007-10-08 10:14:30 +02:00
Otavio Salvador c5a9b5a6c3 bootstrap: add support to include and exclude packages
To allow better customization of resulting system, support to include
and exclude packages of base system has been added. It has been
included for debootstrap and cdebootstrap helpers.
2007-10-08 10:14:24 +02:00
Otavio Salvador acae5a0519 hooks/mini: remove dselect package since it's mostly unused now 2007-10-08 10:14:19 +02:00
Otavio Salvador ec823a8c3c iso: move mini and minimal flavors assigment to a cannonical place 2007-10-08 10:14:13 +02:00
Otavio Salvador 33ad814b5a cdebootstrap: simplified code using case instead of if's so it's easier to read 2007-10-08 10:14:05 +02:00
Daniel Baumann 9262ebeb92 Preparing live-helper 1.0~a31-1. 2007-10-04 22:18:29 +02:00
Daniel Baumann e695d125e3 Releasing live-helper 1.0~a30-1. 2007-10-04 22:11:08 +02:00
Daniel Baumann de59430e16 Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-10-04 22:08:31 +02:00
Otavio Salvador 72fef5a3c6 debian/control: use XS-Homepage to avoid errors while calling dpkg-gencontrol 2007-10-03 09:10:10 +02:00
Otavio Salvador 66aee6f077 syslinux: fix module detection otherwise it won't be copied 2007-10-03 06:21:50 +02:00
Otavio Salvador 0ae32ca1b9 syslinux: fix memcheck path since it was using the wrong path 2007-10-03 06:21:36 +02:00
Otavio Salvador ae7d46ca72 templates: split syslinux templates to reduce diverting
A new common template called help.cfg has been included to avoid help
keys to be duplicated while prompt.cfg has been changed to be specific
to each mode since it has different requirements for initial text to
be displayed.

Other minor fixes were also been done during the spliting and then
included on this patch too.
2007-10-03 06:21:17 +02:00
Daniel Baumann 1966587162 Fixing typing error, thanks to Jesse W. Hathaway <jesse@mbuki-mvuki.org>. 2007-09-28 18:32:12 +02:00
Daniel Baumann 07015787f6 Fixing typing error, thanks to Maarten ter Huurne <maarten.ter.huurne@philips.com>. 2007-09-27 21:26:29 +02:00
Ben Armstrong 662275be9c genext2fs: new switch name: --reserved-percentage; thanks, Zagiox 2007-09-26 12:47:49 +02:00
Otavio Salvador 80ffa22281 syslinux: split syslinux configuration in multiple files
Normal and menu templates share a lot of common stuff and then
a splited syslinux.cfg is much better to handle that.
2007-09-26 12:21:03 +02:00
Otavio Salvador 8fa8db6324 syslinux: always output MENU LABEL since they're ignored if menu.c32 isn't loaded
syslinux ignores MENU LABEL commands if there's no menu.c32 module
loaded and then we don't need about check it.
2007-09-25 20:21:04 +02:00
Otavio Salvador 90ffcda4b3 templates: move syslinux-menu to syslinux/menu
All files from syslinux-menu templates directory has been moved to
syslinux/menu. lh_binary_syslinux had some changes to work with that
but they were minimal ones.
2007-09-25 20:20:45 +02:00
Otavio Salvador 8049aeb024 syslinux: fix menu label usage for normal live boot 2007-09-25 18:24:30 +02:00
Otavio Salvador 52ab1c4b26 syslinux: defaults to english text if we lack the specified language 2007-09-25 07:35:48 +02:00
Otavio Salvador 4be7194a18 refactoring: simplified if/else case since the list of supported arch were too long 2007-09-25 07:35:39 +02:00
Daniel Baumann a03cfd36b8 Replacing backticks with POSIX expression. 2007-09-24 08:47:42 +02:00
Otavio Salvador 9377334c15 implements syslinux vesa menu support 2007-09-23 17:23:46 +02:00
Otavio Salvador a0669384f1 add new options to allow support for syslinux with vesa menu
A set of new options has been add to allow the syslinux vesa menu
support to be added. Those are the new options:

 - LH_SYSLINUX_CFG: set custom syslinux configuration file
 - LH_SYSLINUX_MENU: set syslinux menu
 - LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for
   live entries
 - LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the
   menu for live entries (failsafe ones)
 - LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu
   for memtest entry
2007-09-23 17:23:35 +02:00
Otavio Salvador 46f6fb1f4e add template to be used by syslinux vesa menu support
A new template has been included to enable live-helper to support
syslinux vesa menu. This includes a font, splash image and a new
configuration file.
2007-09-23 17:23:28 +02:00
Daniel Baumann bf8301b6cf Preparing live-helper 1.0~a30-1. 2007-09-23 17:22:21 +02:00
Daniel Baumann 50f4075d70 Releasing live-helper 1.0~a29-1. 2007-09-23 16:54:07 +02:00
Daniel Baumann 4217cf6459 Re-enabling live-initscripts and live-webhelper. 2007-09-23 16:17:32 +02:00
Daniel Baumann c4bb536877 Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-09-23 14:05:14 +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 09faf3f24b Handling case when memtest is disabled. 2007-09-23 14:05:14 +02:00
Daniel Baumann f3706cd7f2 Adding check for 'none', not just 'disabled'. 2007-09-23 14:05:14 +02:00
Daniel Baumann 793f620b2d Restoring file permissions. 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 fbae06c426 Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq <jp.lejacq@quoininc.com> (Closes: #443099). 2007-09-23 14:05:13 +02:00
Daniel Baumann 9ceced95c4 Adding preinst to take care about package upgrades with respect to directories that are symlinks now (Closes: #442408, #442922). 2007-09-23 14:05:13 +02:00
Daniel Baumann 4d06f0aa2b Adding contrib/graph-helpers/*. 2007-09-23 14:05:13 +02:00
Daniel Baumann 39d4c50fc7 Added graph-helpers.py from Chris Lamb <chris@chris-lamb.co.uk>. 2007-09-23 14:05:13 +02:00
Daniel Baumann 5e759644a4 Passing live bootappends to debian-installer. 2007-09-23 14:05:13 +02:00
Daniel Baumann f64d4d2c31 Preparing live-helper 1.0~a29-1. 2007-09-23 14:05:13 +02:00
Daniel Baumann 7d5c336108 Releasing live-helper 1.0~a28-1. 2007-09-23 14:05:12 +02:00
Daniel Baumann f6d46179df Making binary hooks executable in case the are not. 2007-09-23 14:05:12 +02:00
Daniel Baumann f36f7d499a Do not remove pkgsel anymore. 2007-09-23 14:05:12 +02:00
Daniel Baumann 2b817e2b89 Fixed wrong sed call. 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 ed5bb2e187 Adding LH_BOOTAPPEND_INSTALL. 2007-09-23 14:05:12 +02:00
Daniel Baumann 851d21e474 Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE. 2007-09-23 14:05:11 +02:00
Daniel Baumann 26961cb572 Making local udebs/local debs architecture aware. 2007-09-23 14:05:11 +02:00
Daniel Baumann caeb8b9d72 Setting default distribution to lenny. 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 117d1ef02c Polishing and updating with recent news. 2007-09-23 14:05:10 +02:00
Daniel Baumann 173bd27953 Temporarily disabling extended options, they seem to make problems and need testing. 2007-09-23 14:05:10 +02:00
Daniel Baumann 508cf68252 Adding Rene Merou <ochominutosdearco@gmail.com>. 2007-09-23 14:05:10 +02:00
Daniel Baumann 7c25acdfc1 Added Spanish syslinux templates translation from Rene Merou <ochominutosdearco@gmail.com>. 2007-09-23 14:05:10 +02:00
Daniel Baumann 8407eb17e3 Added Catalan syslinux templates translation from Rene Merou <ochominutosdearco@gmail.com>. 2007-09-23 14:05:10 +02:00
Daniel Baumann 7845095071 Setting default language to 'en'. 2007-09-23 14:05:09 +02:00
Daniel Baumann 3fddecbe0e Supporting localized syslinux templates based on LH_LANGUAGE. 2007-09-23 14:02:56 +02:00
Daniel Baumann 1956c132a8 Adding forgotten cp call. 2007-09-23 13:59:20 +02:00
Daniel Baumann f4af8492a6 Removing cruft from debian-cd templates. 2007-09-23 13:59:20 +02:00
Daniel Baumann 9ec9d931e7 Using new Homepage field now. 2007-09-23 13:59:20 +02:00
Daniel Baumann 9da34f5a3b Adding Marco Amadori <marco.amadori@gmail.com>. 2007-09-23 13:59:20 +02:00
Daniel Baumann 83fc7ca480 Downgrading Ubuntu minimal requirements from gutsy to feisty. 2007-09-23 13:59:19 +02:00
Daniel Baumann 23c269f3af Simplyfing LH_BASE calls. 2007-09-23 13:59:19 +02:00
Daniel Baumann 16b85ffe14 Using udeb_include files from debian-cd. 2007-09-23 13:59:19 +02:00
Daniel Baumann e9ed48833f Using Debian terminology for images of unreleased suites. 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 04f8e669b4 Adding forgotten handling of default case. 2007-09-23 13:59:18 +02:00
Daniel Baumann 9f59f16c7c Only removing old packages if they exist. 2007-09-23 13:59:18 +02:00
Daniel Baumann 471b32c682 Fixing typing error. 2007-09-23 13:59:17 +02:00
Daniel Baumann fbd4861b23 Preparing live-helper 1.0~a28-1. 2007-09-23 13:59:13 +02:00
Daniel Baumann e871d8d6a7 Adding live-helper 1.0~a27-1. 2007-09-23 10:05:21 +02:00
Daniel Baumann c7f53a9af5 Adding live-helper 1.0~a26-1. 2007-09-23 10:05:20 +02:00
Daniel Baumann cac98503f3 Adding live-helper 1.0~a25-1. 2007-09-23 10:05:19 +02:00
Daniel Baumann 1e10fc3a45 Adding live-helper 1.0~a24-1. 2007-09-23 10:05:18 +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 c026e68cd0 Adding live-helper 1.0~a21-1. 2007-09-23 10:05:16 +02:00
Daniel Baumann 1803c47164 Adding live-helper 1.0~a20-1. 2007-09-23 10:05:16 +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 275767bf2f Adding live-helper 1.0~a12-1. 2007-09-23 10:05:10 +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
Daniel Baumann 3de3c99147 Adding live-helper 1.0~a7-1. 2007-09-23 10:04:51 +02:00
Daniel Baumann 2230835b69 Adding live-helper 1.0~a6-1. 2007-09-23 10:04:50 +02:00
Daniel Baumann bf396ae4b8 Adding live-helper 1.0~a5-1. 2007-09-23 10:04:49 +02:00
Daniel Baumann 8762edaa61 Adding live-helper 1.0~a4-1. 2007-09-23 10:04:49 +02:00
Daniel Baumann d3cf9b4d93 Adding live-helper 1.0~a3-2. 2007-09-23 10:04:48 +02:00
Daniel Baumann 544384c28f Adding live-helper 1.0~a3-1. 2007-09-23 10:04:48 +02:00
Daniel Baumann f4383da69d Adding live-helper 1.0~a2-1. 2007-09-23 10:04:47 +02:00
Daniel Baumann 3465a2139f Adding live-helper 1.0~a1-3. 2007-09-23 10:04:47 +02:00
Daniel Baumann f6a05f356e Adding live-helper 1.0~a1-2. 2007-09-23 10:04:46 +02:00
Daniel Baumann 2b43599e46 Adding live-helper 1.0~a1-1. 2007-09-23 10:04:46 +02:00
556 changed files with 35223 additions and 6100 deletions

18
AUTHORS
View File

@ -1,18 +0,0 @@
Main Authors:
* Daniel Baumann <daniel@debian.org>
* Marco Amadori <marco.amadori@gmail.com>
Patches (alphabetical order):
* Alex Owen <r.a.owen@qmul.ac.uk>
* Bas Wijnen <wijnen@debian.org>
* Cedric Lucantis <omer@no-log.org>
* Frederic Lehobey <Frederic.Lehobey@free.fr>
* Guerkan Senguen <gurkan@linuks.mine.nu>
* Jason D. Clinton <me@jasonclinton.com>
* Kai Hendry <hendry@iki.fi>
* Marcelo D. Re <mdre@rectorado.unl.edu.ar>
* Markus Bauer <bauer-markus@web.de>
* Otavio Salvador <otavio@debian.org>
* Sebastian Raveau <sebastien.raveau@epita.fr>

841
COPYING
View File

@ -1,285 +1,626 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
TERMS AND CONDITIONS
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
0. Definitions.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
"This License" refers to version 3 of the GNU General Public License.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
A "covered work" means either the unmodified Program or a work based
on the Program.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
1. Source Code.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
The Corresponding Source for a work in source code form is that
same work.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
2. Basic Permissions.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
13. Use with the GNU Affero General Public License.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
14. Revised Versions of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
NO WARRANTY
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
15. Disclaimer of Warranty.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
END OF TERMS AND CONDITIONS
16. Limitation of Liability.
How to Apply These Terms to Your New Programs
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@ -287,15 +628,15 @@ free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@ -303,37 +644,31 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

16
HISTORY
View File

@ -1,16 +0,0 @@
Milestones of Debian Live
-------------------------
2006-02-14: Initial idea
http://blog.daniel-baumann.ch/2006/02/14#20060214_debian-live-initiative
2006-03-16: First CD images available
http://lists.alioth.debian.org/pipermail/debian-live-devel/2006-March/000048.html
2006-06-02: First netboot images available
2007-02-05: Image autobuilder in place
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000764.html
2007-02-10: First USB images available
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-February/000790.html

141
Makefile
View File

@ -1,58 +1,121 @@
# Makefile
all: install
#TRANSLATIONS="de"
install:
@# Install main script
install -D -m 0755 src/main.sh $(DESTDIR)/usr/sbin/make-live
all: build
@# Install configuration file
install -D -m 0644 src/config $(DESTDIR)/etc/make-live.conf
test:
# Checking for syntax errors
set -e; for SCRIPT in functions/* examples/*/*.sh helpers/* hooks/*; \
do \
sh -n $$SCRIPT; \
done
@# Install package lists
install -d -m 0755 $(DESTDIR)/usr/share/make-live/lists
install -m 0644 src/lists/* $(DESTDIR)/usr/share/make-live/lists
# Checking for bashisms
set -e; if [ -x /usr/bin/checkbashisms ]; \
then \
checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \
else \
echo "bashism test skipped - you need to install devscripts."; \
fi
@# Install flavour hooks
install -d -m 0755 $(DESTDIR)/usr/share/make-live/hooks
install -m 0644 src/hooks/* $(DESTDIR)/usr/share/make-live/hooks
build:
@echo "Nothing to build."
@# Install sub scripts
install -d -m 0755 $(DESTDIR)/usr/share/make-live/scripts
install -m 0755 src/scripts/*.sh $(DESTDIR)/usr/share/make-live/scripts
install: test
# Installing executables
mkdir -p $(DESTDIR)/usr/bin
cp helpers/lh* $(DESTDIR)/usr/bin
@# Install templates
cp -r templates $(DESTDIR)/usr/share/make-live
# Installing shared data
mkdir -p $(DESTDIR)/usr/share/live-helper
cp -r data examples functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
@# Install documentation
install -d -m 0755 $(DESTDIR)/usr/share/doc/live-package
install -m 0644 doc/*.txt $(DESTDIR)/usr/share/doc/live-package
# Installing documentation
mkdir -p $(DESTDIR)/usr/share/doc/live-helper
cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-helper
@# Install manpages
install -d -m 0755 $(DESTDIR)/usr/share/man/man5
install -m 0644 doc/man/*.5 $(DESTDIR)/usr/share/man/man5
install -d -m 0755 $(DESTDIR)/usr/share/man/man8
install -m 0644 doc/man/*.8 $(DESTDIR)/usr/share/man/man8
# Installing manpages
set -e; for MANPAGE in manpages/*.en.1; \
do \
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \
done
$(MAKE) -C helpers install
set -e; for MANPAGE in manpages/*.en.7; \
do \
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \
done
set -e; for TRANSLATIONS in $$TRANSLATIONS; \
do \
for MANPAGE in manpages/*.$$TRANSLATION.1; \
do \
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \
done; \
for MANPAGE in manpages/*.$$TRANSLATION.7; \
do \
install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \
done; \
done
# Installing logfile
mkdir -p $(DESTDIR)/var/log
uninstall:
@# Remove main script
rm -f $(DESTDIR)/usr/sbin/make-live
# Uninstalling executables
for HELPER in helpers/*; \
do \
rm -f $(DESTDIR)/usr/bin/`basename $$HELPER`; \
done
@# Remove configuration file
rm -f $(DESTDIR)/etc/make-live.conf
# Uninstalling shared data
rm -rf $(DESTDIR)/usr/share/live-helper
@# Remove shared data
rm -rf $(DESTDIR)/usr/share/make-live
# Uninstalling documentation
rm -rf $(DESTDIR)/usr/share/doc/live-helper
@# Remove documentation
rm -rf $(DESTDIR)/usr/share/doc/live-package
# Uninstalling manpages
set -e; for MANPAGE in manpages/*.en.1; \
do \
rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \
done
@# Remove manpages
rm -f $(DESTDIR)/usr/share/man/man5/make-live.*
rm -f $(DESTDIR)/usr/share/man/man8/make-live.*
set -e; for MANPAGE in manpages/*.en.7; \
do \
rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \
done
$(MAKE) -C helpers uninstall
set -e; for TRANSLATIONS in $$TRANSLATIONS; \
do \
for MANPAGE in manpages/*.$$TRANSLATION.1; \
do \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \
done; \
for MANPAGE in manpages/*.$$TRANSLATION.7; \
do \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \
done; \
done
reinstall: uninstall install
update:
set -e; for FILE in functions/*.sh examples/cron/*.sh manpages/*.en.*; \
do \
sed -i -e 's/2007\\-11\\-26/2007\\-12\\-03/' \
-e 's/26.11.2007/03.12.2007/' \
-e 's/1.0~a38/1.0~a39/' \
$$FILE; \
done
clean:
distclean:
reinstall: uninstall install
po4a:
# Automatic generation of translated manpages
set -e; if [ $$(which po4a) ]; then \
cd manpages/ ; po4a po4a/live-helper.cfg; \
else \
echo "Please install po4a (http://po4a.alioth.debian.org/)."; \
fi;

12
README
View File

@ -1,12 +0,0 @@
Debian Live Framework: make-live
================================
make-live is a utility to build Debian Live systems. It takes a Debian mirror as
an input and outputs a live system image (ISO image for CDs and DVDs, tarball
for netboot, or images for USB sticks). make-live is still in the early stage of
development, but has basic functionality and can be run successfully.
More information about Debian Live can be found at:
* <http://debian-live.alioth.debian.org/>
* <http://wiki.debian.org/DebianLive/>

10
TODO
View File

@ -1,10 +0,0 @@
Todo:
* output hiding
* d-i/g-i integration
* documentation
* l10n flags
* --disable-daemons
* general source tarballs

View File

@ -0,0 +1,74 @@
#!/usr/bin/env python
"""
live-helper simulated execution graph generator.
Copyright (C) 2007 Chris Lamb <chris@chris-lamb.co.uk>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import sys, re
import pygraphviz
groups = {
'lh_bootstrap' : 'orange',
'lh_chroot' : 'red',
'lh_source' : 'blue',
'lh_binary' : 'green',
'lh_build' : 'brown'
}
pattern = re.compile(r'^(lh_.+?) ')
def main(start):
global prev
G = pygraphviz.AGraph(directed=True)
G.graph_attr['label'] = 'Simulated execution trace for live-helper.'
def helper(filename):
global prev
for line in gen_matches(filename):
G.add_edge(prev, line)
style(G.get_node(prev), prev)
prev = line
helper(line)
prev = start
helper(start)
G.layout(prog='dot')
print G.draw(format='svg')
def style(node, name):
if name in groups.keys():
node.attr['shape'] = 'box'
node.attr['style'] = 'bold'
else:
node.attr['fontsize'] = '11'
for group_name, color in groups.iteritems():
if name.startswith(group_name):
node.attr['color'] = color
return node
def gen_matches(filename):
f = open('/usr/bin/%s' % filename, 'r')
for line in f.xreadlines():
match = pattern.match(line)
if match:
yield match.group(1)
f.close()
if __name__ == "__main__":
if len(sys.argv) == 2:
main(sys.argv[1])
else:
main('lh_build')

View File

@ -0,0 +1,26 @@
The grub splash for Debian Live was made by Daniel Baumann <daniel@debian.org>
based on the original work of Mark Riedesel.
The contribution of Daniel is hereby placed in the public domain (no rights
reserved).
---------------
http://dugnet.com/klown/pics/klowner_debboot.png
by Mark Riedesel, license same as open use logo
To create klowner.rle:
1. convert klowner.png klowner.bmp
2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle
(FBFDFA is the color used for the inside of the "n" in Debian.)
---------------
Debian Open Use Logo License
Copyright (c) 1999 Software in the Public Interest
This logo or a modified version may be used by anyone to refer to the Debian
project, but does not indicate endorsement by the project.
Note: we would appreciate that you make the image a link to
http://www.debian.org/ if you use it on a web page.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,6 +1,8 @@
The derivated splash for Debian Live was done by Daniel Baumann
<daniel@debian.org> from the original of Mark Riedesel. Daniels own contribution
to the derivated splash is hereby placed in the public domain.
The syslinux splash for Debian Live was made by Daniel Baumann
<daniel@debian.org> based on the original work of Mark Riedesel.
The contribution of Daniel is hereby placed in the public domain (no rights
reserved).
---------------
http://dugnet.com/klown/pics/klowner_debboot.png

View File

@ -0,0 +1,4 @@
choose-mirror
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,5 @@
choose-mirror
netcfg
ethdetect
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,4 @@
netcfg
ethdetect
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,4 @@
netcfg
ethdetect
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,118 @@
# These udebs build the d-i cdrom initrd. As such, there is no reason
# to keep another copy of them on the CD in udeb form.
#
# This duplicates data found in the file build/pkg-lists/kernel, in d-i svn
kernel-image-*
# build/pkg-lists/base in d-i svn
rootskel
main-menu
cdebconf-udeb
udpkg
anna
di-utils-shell
di-utils-reboot
lowmemcheck
# build/pkg-lists/cdrom/common, in d-i svn (also included in the
# root+cd-drivers floppies)
busybox-udeb
installation-locale
localechooser
iso-3166-udeb
hw-detect
cdrom-detect
cdrom-retriever
load-cdrom
cdrom-checker
bogl-bterm-udeb
di-utils-terminfo
cdebconf-priority
cdebconf-newt-udeb
usb-discover
preseed-common
initrd-preseed
file-preseed
nano-udeb
floppy-retriever
libfribidi0-udeb
# Already on the initrd, thanks to library reduction.
libdebconfclient0-udeb
libdebian-installer-extra4-udeb
# These udebs are only useful in building the boot floppy image.
busybox-floppy-udeb
rootskel-bootfloppy
# gtk stuff
cdebconf-gtk-udeb
fontconfig-udeb
libatk1.0-udeb
libcairo-directfb2-udeb
libdirectfb-0.9-22-udeb
libdirectfb-0.9-25-udeb
libexpat1-udeb
libfreetype6-udeb
libglib2.0-udeb
libgtk-directfb-2.0-0-udeb
libgtk2-engines-udeb
libpango1.0-udeb
libpng12-0-udeb
libsdl1.2debian-udeb
mouse-modules-*
ttf-*
fbset-udeb
# We're currently using busybox's own shell, and do not need this one.
dash-udeb
# Not currently used
cdebootstrap-udeb
hdparm-udeb
laptop-detect-udeb
# These dhcp clients are not the currently preferred one.
dhcp3-client-udeb
# This package is only useful in the d-i-demo.
di-utils-exit-installer
# No need for these loaders.
download-installer
load-floppy
# Only useful in the hd-media initrd.
iso-scan
load-iso
# We're using busybox's modutils these days.
modutils-basic
modutils-full
# Nothing currently depends on this, and it seems not useful on its own.
reiserfsprogs-udeb
# reiser4 is not in the Debian kernel.
mkreiser4-udeb
reiser4progs-udeb
# No longer used by parted.
libreiserfs0.3-udeb
# These are not really needed, the regular netcfg subsumes them.
netcfg-static
# skolelinux stuff, not for the stock CDs
debian-edu-install-udeb
debian-edu-profile-udeb
debian-edu-archive-keyring-udeb
ltsp-client-builder
autopartkit
lvm10-udeb
# If needed, will be on the initrd already.
modutils-full
module-init-tools-udeb
env-preseed
rescue-check
rootskel-gtk
cdebconf-text-udeb
brltty-udeb
klibc-utils-udeb
libklibc-udeb
udev-udeb
ai-choosers
auto-install
# Obsolete
libslang1-utf8-udeb
discover-udeb
discover-data-udeb
discover1-udeb
discover1-data-udeb
libdiscover1-udeb
# Eh?
gnumach-udeb
# Exclude apt-setup components; they will be included

View File

@ -0,0 +1,28 @@
# These udebs are in the d-i cdrom initrd and the hd-media initrd.
# As such, there is no reason to keep another copy of them on the CD
# in udeb form.
isa-pnp-modules-*
socket-modules-*
console-keymaps-at
console-keymaps-usb
fat-modules-*
cdrom-core-modules-*
cdrom-modules-*
ide-modules-*
ide-core-modules-*
input-modules-*
fb-modules-*
kbd-chooser
usb-modules-*
usb-storage-modules-*
scsi-core-modules-*
# Not needed with the 2.6 kernel on amd64.
userdevfs
# The speakup kernel modules are not useful unless the access images are
# provided.
*-speakup-di
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,28 @@
# These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies.
# As such, there is no reason to keep another copy of them on the CD
# in udeb form.
isa-pnp-modules-*
socket-modules-*
console-keymaps-at
console-keymaps-usb
floppy-modules-*
cdrom-core-modules-*
cdrom-modules-*
ide-modules-*
ide-core-modules-*
input-modules-*
fb-modules-*
kbd-chooser
usb-modules-*
usb-storage-modules-*
scsi-core-modules-*
# Not needed with the 2.4 kernel on i386.
userdevfs
# The speakup kernel modules are not useful unless the access images are
# provided.
*-speakup-di
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,28 @@
# These udebs build the d-i cdrom initrd. As such, there is no reason
# to keep another copy of them on the CD in udeb form.
#
# This duplicates data found in the file build/pkg-lists/cdrom/powerpc,
# in d-i Subversion.
cdrom-core-modules-*
console-keymaps-at
console-keymaps-usb
eject-udeb
firewire-core-modules-*
fs-common-modules-*
ide-modules-*
input-modules-*
kbd-chooser
scsi-common-modules-*
scsi-core-modules-*
scsi-modules-*
socket-modules-*
usb-modules-*
usb-storage-modules-*
# Not needed with the 2.4 kernel on powerpc.
userdevfs
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,3 @@
# S/390 does not support loading udebs off the CD image,
# so we can exclude all udebs from it
*

View File

@ -0,0 +1,5 @@
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,6 @@
choose-mirror
netcfg
ethdetect
pcmcia-cs-udeb
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,5 @@
netcfg
ethdetect
pcmcia-cs-udeb
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,5 @@
netcfg
ethdetect
pcmcia-cs-udeb
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,4 @@
choose-mirror
netcfg
ethdetect
wireless-tools-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
wireless-tools-udeb

View File

@ -0,0 +1,5 @@
netcfg
ethdetect
pcmcia-cs-udeb
pcmciautils-udeb
wireless-tools-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1 @@
apt-mirror-setup

View File

@ -0,0 +1,4 @@
choose-mirror
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
fdisk-udeb

View File

@ -0,0 +1,4 @@
choose-mirror
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,126 @@
# These udebs build the d-i cdrom initrd. As such, there is no reason
# to keep another copy of them on the CD in udeb form.
#
# This duplicates data found in the file build/pkg-lists/kernel, in d-i svn
kernel-image-*
# build/pkg-lists/base in d-i svn
rootskel
main-menu
cdebconf-udeb
udpkg
anna
di-utils-shell
di-utils-reboot
lowmemcheck
# build/pkg-lists/cdrom/common, in d-i svn (also included in the
# root+cd-drivers floppies)
busybox-udeb
installation-locale
localechooser
iso-3166-udeb
hw-detect
cdrom-detect
cdrom-retriever
load-cdrom
cdrom-checker
bogl-bterm-udeb
di-utils-terminfo
cdebconf-priority
cdebconf-newt-udeb
usb-discover
preseed-common
initrd-preseed
file-preseed
nano-udeb
floppy-retriever
libfribidi0-udeb
# Already on the initrd, thanks to library reduction.
libdebconfclient0-udeb
libdebian-installer-extra4-udeb
# These udebs are only useful in building the boot floppy image.
busybox-floppy-udeb
rootskel-bootfloppy
# gtk stuff
cdebconf-gtk-udeb
fontconfig-udeb
libatk1.0-udeb
libcairo-directfb2-udeb
libdirectfb-*-udeb
libexpat1-udeb
libfreetype6-udeb
libglib2.0-udeb
libgtk-directfb-2.0-0-udeb
libgtk2-engines-udeb
libpango1.0-udeb
libpng12-0-udeb
libsdl1.2debian-udeb
mouse-modules-*
ttf-*
fbset-udeb
# We're currently using busybox's own shell, and do not need this one.
dash-udeb
# Not currently used
cdebootstrap-udeb
hdparm-udeb
laptop-detect-udeb
multipath-udeb
libaio1-udeb
dhcp-client-udeb
# This package is only useful in the d-i-demo.
di-utils-exit-installer
# No need for these loaders.
download-installer
load-floppy
# Only useful in the hd-media initrd.
iso-scan
load-iso
# We're using busybox's modutils these days.
modutils-basic
modutils-full
# Nothing currently depends on this, and it seems not useful on its own.
reiserfsprogs-udeb
# reiser4 is not in the Debian kernel.
mkreiser4-udeb
reiser4progs-udeb
# No longer used by parted.
libreiserfs0.3-udeb
# These are not really needed, the regular netcfg subsumes them.
netcfg-static
# skolelinux stuff, not for the stock CDs
debian-edu-install-udeb
debian-edu-profile-udeb
debian-edu-archive-keyring-udeb
ltsp-client-builder
autopartkit
lvm10-udeb
# live CD stuff
live-installer
simple-cdd-profiles
# If needed, will be on the initrd already.
modutils-full
module-init-tools-udeb
env-preseed
rescue-check
rootskel-gtk
cdebconf-text-udeb
brltty-udeb
klibc-utils-udeb
libklibc-udeb
udev-udeb
ai-choosers
auto-install
# Currently unused
nbd-client-udeb
pwgen-udeb
# Obsolete
libslang1-utf8-udeb
discover-udeb
discover-data-udeb
discover1-udeb
discover1-data-udeb
libdiscover1-udeb
# Eh?
gnumach-udeb
# Exclude kbd and console-setup udebs, they're not currently used
kbd-udeb
console-setup-*-udeb

View File

@ -0,0 +1,28 @@
# These udebs are in the d-i cdrom initrd and the hd-media initrd.
# As such, there is no reason to keep another copy of them on the CD
# in udeb form.
isa-pnp-modules-*
socket-modules-*
console-keymaps-at
console-keymaps-usb
fat-modules-*
cdrom-core-modules-*
cdrom-modules-*
ide-modules-*
ide-core-modules-*
input-modules-*
fb-modules-*
kbd-chooser
usb-modules-*
usb-storage-modules-*
scsi-core-modules-*
# Not needed with the 2.6 kernel on amd64.
userdevfs
# The speakup kernel modules are not useful unless the access images are
# provided.
*-speakup-di
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,28 @@
# These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies.
# As such, there is no reason to keep another copy of them on the CD
# in udeb form.
isa-pnp-modules-*
socket-modules-*
console-keymaps-at
console-keymaps-usb
floppy-modules-*
cdrom-core-modules-*
cdrom-modules-*
ide-modules-*
ide-core-modules-*
input-modules-*
fb-modules-*
kbd-chooser
usb-modules-*
usb-storage-modules-*
scsi-core-modules-*
# Not needed with the 2.4 kernel on i386.
userdevfs
# The speakup kernel modules are not useful unless the access images are
# provided.
*-speakup-di
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,28 @@
# These udebs build the d-i cdrom initrd. As such, there is no reason
# to keep another copy of them on the CD in udeb form.
#
# This duplicates data found in the file build/pkg-lists/cdrom/powerpc,
# in d-i Subversion.
cdrom-core-modules-*
console-keymaps-at
console-keymaps-usb
eject-udeb
firewire-core-modules-*
fs-common-modules-*
ide-modules-*
input-modules-*
kbd-chooser
scsi-common-modules-*
scsi-core-modules-*
scsi-modules-*
socket-modules-*
usb-modules-*
usb-storage-modules-*
# Not needed with the 2.4 kernel on powerpc.
userdevfs
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,3 @@
# S/390 does not support loading udebs off the CD image,
# so we can exclude all udebs from it
*

View File

@ -0,0 +1,5 @@
# Only needed on arches that use partconf or autopartkit.
partconf-mkfstab
# Not needed on arches that use partman
mdcfg
lvmcfg

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,4 @@
choose-mirror
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
netcfg
ethdetect
pcmciautils-udeb

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,3 @@
choose-mirror
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1,2 @@
netcfg
ethdetect

View File

@ -0,0 +1 @@
apt-mirror-setup

1
data/debian-cd/sid Symbolic link
View File

@ -0,0 +1 @@
lenny

Some files were not shown because too many files have changed in this diff Show More