Commit Graph

189 Commits

Author SHA1 Message Date
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 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 7d67f78ddf Re-adding additional indices updated, otherwise we wouldn't honor thirdparty repositories (anymore). 2008-02-24 16:30:58 +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 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 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 aa6643d957 Fixing typo, thanks to Fathi Boudra <fabo@debian.org>. 2008-01-16 16:50:42 +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 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
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 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 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 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 87426f6165 Disabling global arguments in lh_clean (Closes: #451960). 2007-11-19 17:55:28 +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