Commit Graph

372 Commits

Author SHA1 Message Date
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