Commit Graph

3218 Commits

Author SHA1 Message Date
Chris Lamb
322d45eeaf 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.
2011-03-09 19:03:27 +01:00
Chris Lamb
679aed6441 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.
2011-03-09 19:03:26 +01:00
Chris Lamb
6057ecbd19 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.
2011-03-09 19:03:24 +01:00
Chris Lamb
07c3a04027 lh_binary_debian-installer: Remove "local"-oriented bashisms 2011-03-09 19:03:23 +01:00
Chris Lamb
ee955b12ce lists/gnome-core: Add gnome-themes
Gnome is really really ugly without its theme package. :)
2011-03-09 19:03:22 +01:00
Chris Lamb
6e9f8956ee 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.
2011-03-09 19:03:21 +01:00
Chris Lamb
02a9e29e09 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.
2011-03-09 19:03:20 +01:00
Chris Lamb
25ac96ed14 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".
2011-03-09 19:03:19 +01:00
Chris Lamb
dd77597ac8 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.
2011-03-09 19:01:54 +01:00
Daniel Baumann
fcbe998101 Switching default of LH_APT from aptitude to apt for >= lenny.
Apt in lenny also supports tracking of 'orphaned' packages. If aptitude is
installed, apt can't be removed, so by switching to apt making the default
images a tiny bit smaller. And, aptitude got mainly default because of the
sarge->etch update recommendation.
2011-03-09 19:01:53 +01:00
Chris Lamb
b486973db7 hooks/stripped: Clean Lintian and Linda overrides in 'stripped' hook 2011-03-09 19:01:52 +01:00
Cyril Brulebois
2e1ec3d719 Fix various typos. 2011-03-09 19:01:51 +01:00
Daniel Baumann
7c99543227 Correcting wrong logic on handling secure apt. 2011-03-09 19:01:50 +01:00
Daniel Baumann
b222519217 Including 686 kernel flavour on i386 too, but defaulting (still) to 486 for compatibility reasons. 2011-03-09 19:01:50 +01:00
Daniel Baumann
82f62fe05d Releasing live-helper 1.0~a40-1. 2011-03-09 19:01:49 +01:00
Otavio Salvador
48a2346ab0 functions/losetup.sh: use SECTORS as variable name to reflect the real usage 2011-03-09 19:01:48 +01:00
Daniel Baumann
bacd270f71 Fixing wrong debian-installer auto target configuration. 2011-03-09 19:01:47 +01:00
Daniel Baumann
fdbe2aad14 Adjusting wrong variable convention in syslinux templates for LH_VERSION (Closes: #468841). 2011-03-09 19:01:47 +01:00
Daniel Baumann
ed5d8c3b69 Re-adding quiet on all d-i install targets in post-etch, except expert (and keeping Chris fixed quiet handling). 2011-03-09 19:01:46 +01:00
Chris Lamb
df8e958021 Don't append 'quiet' kernel parameter in rescue modes 2011-03-09 19:01:44 +01:00
Chris Lamb
f1cb2b0432 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.
2011-03-09 19:01:42 +01:00
Daniel Baumann
acf66f3c52 Bumping live-helper version. 2011-03-09 19:01:42 +01:00
Daniel Baumann
c5a91189a0 Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
Daniel Baumann
7fb08def19 Updating documentation about how to report bugs. 2011-03-09 19:01:40 +01:00
Daniel Baumann
68f997266c Cleaning up target depends in rules. 2011-03-09 19:01:39 +01:00
Daniel Baumann
26ee297761 Removing (temporary) preinst, not needed anymore. 2011-03-09 19:01:39 +01:00
Daniel Baumann
4117b45c1d Improved wording of debian-live splash license. 2011-03-09 19:01:38 +01:00
Daniel Baumann
5c28f183e1 Reworded package description. 2011-03-09 19:01:37 +01:00
Daniel Baumann
14480386e1 Fixing incomplete changelog entry from git-dch. 2011-03-09 19:01:36 +01:00
Daniel Baumann
30862997c5 Adding bug presubj message. 2011-03-09 19:01:36 +01:00
Daniel Baumann
acb8917a76 Updating bug script to also check for recently added packages to suggests. 2011-03-09 19:01:35 +01:00
Daniel Baumann
7d1e0723ed Releasing live-helper 1.0~a39-1. 2011-03-09 19:01:34 +01:00
Daniel Baumann
0904d6b37d Also handling ext3 in lh_binary_rootfs, thanks to Bas Wijnen <wijnen@debian.org> (Closes: #468902). 2011-03-09 19:01:33 +01:00
Bas Wijnen
1268b8b957 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.
2011-03-09 19:01:31 +01:00
Chris Lamb
20da312cd1 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.
2011-03-09 19:01:30 +01:00
Daniel Baumann
9c9dfb24b8 Fixed accidental overwriting of LH_NET_TARBALL value in defaults. 2011-03-09 18:36:19 +01:00
Daniel Baumann
f23072923e Adding temporary hack to remove fstab when using live-installer. 2011-03-09 18:36:19 +01:00
Daniel Baumann
9ffb223d70 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.
2011-03-09 18:36:19 +01:00
Daniel Baumann
5330b557ac It's actually enough to just truncate kernel-img.conf and also less invasive than including a default configuration. 2011-03-09 18:36:19 +01:00
Daniel Baumann
979c71fd6e Including default kernel-img.conf in live-systems. 2011-03-09 18:36:18 +01:00
Daniel Baumann
2b086405f9 Using wildcards to support more than one preseeding file. 2011-03-09 18:36:17 +01:00
Daniel Baumann
d78a97a521 Honor local preseeding file for debian-installer. 2011-03-09 18:36:17 +01:00
Daniel Baumann
a74fb24d5e Fixing typo in sed call to set isolinux splash file. 2011-03-09 18:36:16 +01:00
Daniel Baumann
d861dff528 Changing version scheme for snapshots. 2011-03-09 18:36:16 +01:00
Daniel Baumann
851dc3ca93 Adding lzma modules on sid. 2011-03-09 18:36:15 +01:00
Daniel Baumann
2b6c057b1c Added forgotten getopts arguments for chroot mirror. 2011-03-09 18:36:15 +01:00
Daniel Baumann
3c0d008c79 When a wrong argument is passed, that argument should be listed (Closes: #468201). 2011-03-09 18:36:14 +01:00
Daniel Baumann
0c9fc8846d Adding option to set binary-net compression (or disable it). 2011-03-09 18:36:13 +01:00
Daniel Baumann
265e6360d7 Rewriting copyright in machine-interpretable format. 2011-03-09 18:36:13 +01:00
Daniel Baumann
2aeed3357d Fixing manpage quoting errors. 2011-03-09 18:36:12 +01:00