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