Commit Graph

982 Commits

Author SHA1 Message Date
Daniel Baumann 705a4178e7 Centraly evaluate LH_CONFIG for custom configuration file. 2011-03-09 19:03:31 +01:00
Daniel Baumann c6b83b1fd3 Adding 'all' configuration file. 2011-03-09 19:03:31 +01:00
Daniel Baumann 716c2c8ab7 Removing temporary workaround of adding lzma-modules2.6 to linux packages, all fixed squashfs are now in sid and lenny. 2011-03-09 19:03:31 +01:00
Daniel Baumann dbe6283b1b Releasing live-helper 1.0~a42-1. 2011-03-09 19:03:31 +01:00
Daniel Baumann 98b7e55ecb Also including lzma modules on lenny temporarily. 2011-03-09 19:03:31 +01:00
Daniel Baumann d54990695f Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile (Closes: #472774). 2011-03-09 19:03:31 +01:00
Daniel Baumann 53433eca7d Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures (Closes: #472775). 2011-03-09 19:03:31 +01:00
Daniel Baumann 3f6c3cba86 Releasing live-helper 1.0~a41-1. 2011-03-09 19:03:31 +01:00
Daniel Baumann 5b24b59576 Fixing md5sum.txt creation to not fail on filenames with whitespaces, thanks to Bas Wijnen <wijnen@debian.org> (Closes: #469085). 2011-03-09 19:03:31 +01:00
Daniel Baumann 7aea3696cb Updating copy instructions in example sources to match current state. 2011-03-09 19:03:31 +01:00
Daniel Baumann 3fe5b60fec Updating credits. 2011-03-09 19:03:31 +01:00
Chris Lamb 120528e1a2 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.
2011-03-09 19:03:30 +01:00
Chris Lamb 55472e6557 Allow LH_ENCRYPTION="disabled" to disable encryption 2011-03-09 19:03:29 +01:00
Chris Lamb 13625df75c lh_binary_encryption: Rework and fix broken AES encryption routines 2011-03-09 19:03:28 +01:00
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