Commit Graph

146 Commits

Author SHA1 Message Date
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
Daniel Baumann 964eab423a Fixing wrong parted call. 2007-11-18 11:33:46 +01:00
Daniel Baumann d26e57998f Adding an upgrade and dist-upgrade to lh_chroot_sources, so that security updates gets pulled into the base system. Thanks to Kai Hendry <hendry@iki.fi>. 2007-11-18 11:09:55 +01:00
Daniel Baumann ec0d5cd48b Adding binary filesystem option, currently only supporting fat16 and fat32. 2007-11-16 23:01:03 +01:00
Daniel Baumann 702de9d2ed Speeding up the dd call, thanks to Peter Skogstroem <peter.skogstrom@bitrunner.com>. 2007-11-15 10:11:56 +01:00
Daniel Baumann 2e51237e12 Do really not create the filesystem with parted. 2007-11-14 23:04:24 +01:00
Daniel Baumann 6edcf23b29 Do not create the filesystem with parted. 2007-11-14 23:01:44 +01:00
Daniel Baumann 7b8a85422a Mounting pseudo filesystems before creating binary images in non-chrooted builds. 2007-11-14 10:13:58 +01:00
Daniel Baumann 94c3ca731a Moving lh_losetup into an internal function, avoiding helper failure with return value due to new trap. 2007-11-14 09:55:50 +01:00
Daniel Baumann 769618067d Fixing fstab handling. 2007-11-13 22:41:08 +01:00
Daniel Baumann e743c23cd7 Fixing some coding style issues. 2007-11-13 13:49:41 +01:00
Daniel Baumann 2e35367c01 Adding 'remove' case, which is in between of all and purge. 2007-11-13 13:08:51 +01:00
Daniel Baumann 17e172bbdf Outputting an own message when having more than one case in a helper, instead of a global one. 2007-11-13 12:49:43 +01:00
Daniel Baumann c8f66ebe90 Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>. 2007-11-13 09:00:16 +01:00
Daniel Baumann 9ad970aca2 Adding option to disable md5sum generation. 2007-11-12 23:00:48 +01:00
Daniel Baumann b0282f5d26 Adding check to detect gnu-fdisk and using the original fdisk, thanks to Peter Skogström <peter.skogstrom@bitrunner.com> for the report. 2007-11-12 22:43:28 +01:00
Daniel Baumann 4c91fd7d96 Adding a check to see if user is running lh_clean from a sane location (i.e. not config/), thanks to Kai Hendry <hendry@webconverger.com>. 2007-11-12 22:31:06 +01:00
Daniel Baumann fb1e3ce43a Adding some more fakeroot related fixes from An-Cheng Huang <ancheng@vyatta.com>. 2007-11-11 23:05:55 +01:00
Daniel Baumann 13e39acb9f Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2007-11-11 23:00:43 +01:00
Daniel Baumann be5c114a90 Making umount calls check if they are actually necessary. 2007-11-11 21:33:43 +01:00
Daniel Baumann cd101e9220 Adding generic lh wrapper. 2007-11-11 14:45:34 +01:00
Daniel Baumann 0408e7ebba Added warning about etch compatibility of lh_config options. 2007-11-11 14:14:25 +01:00
Daniel Baumann 8635931e79 Fixing some coding style issues. 2007-11-11 13:57:11 +01:00
Daniel Baumann 1d728dcb3e Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini. 2007-11-11 13:02:32 +01:00
Daniel Baumann 174bc9ede5 Evaluating local arguments befor setting the defaults (Closes: #444985). 2007-11-11 10:30:40 +01:00
Daniel Baumann cfbadf00dc Adding option to allow building in fakeroot/fakechroot environment, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2007-11-10 18:39:49 +01:00
Daniel Baumann 51cfe60fc6 Using shell redirection to truncate rather than additional commands/forks/files, thanks to Justin Pryzby <jpryzby@quoininc.com>. 2007-11-10 15:40:53 +01:00
Daniel Baumann 7cacae2d94 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2007-11-10 15:23:27 +01:00
Jesse Hathaway 27e3585e7a add new option --syslinux-menu to enable syslinux menu
added a new syslinux menu splash screen, I'm not an artist
but I think it is better than the generic splash which was
already included. Also added the svg file if anyone wants
to make any changes.
2007-11-02 09:34:00 -04:00
Daniel Baumann a0fcb117a0 Corrected wrong path, thanks to Ben Armstrong <synrg@debian.org>. 2007-11-01 17:52:12 +01:00
Jesse Hathaway b2068cd691 fix isolinux when booting multiple kernel flavours 2007-10-31 16:20:57 -04:00
Jesse Hathaway 890801563d fix syslinux timeout option
change MILISECONDS to SECONDS. Syslinux actually uses
tenths of seconds not milliseconds, but it seems
unnecessary to expose this to the user. Fix templates
to only specify the timeout once.
2007-10-31 14:43:26 -04:00
Jesse Hathaway e7100f46b8 add /etc/adjtime to list of writable files in exposed root mode 2007-10-31 10:20:15 -04:00
Jesse Hathaway 800687e9ba allow basename of net-root-path to be binary
This is convenient for testing as you can directly export
the build directory, rather than untarring the net image
in another location.
2007-10-31 10:20:15 -04:00
Jesse Hathaway ae8cb3bce0 add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
2007-10-31 10:20:15 -04:00
Daniel Baumann f7777a1712 Adding lh_chroot_devpts. 2007-10-31 11:20:03 +01:00
Daniel Baumann 15f9200589 Fixing indenting. 2007-10-31 11:10:05 +01:00
Jesse Hathaway bb08fc8d1e add new option to mount cow device on nfs volume
At the moment this only works with the root volume
on nfs as well. If we add a switch to configure the
network early in the boot process then this option
could be made available for other root mediums. This
option works reliably on the latest kernel 2.6.23.1
On earlier kernels I experienced frequent oopses.
2007-10-31 11:06:58 +01:00
Daniel Baumann eaadafff8e Fixing typing error (wrong variable name). 2007-10-31 10:49:38 +01:00
Daniel Baumann e4410130ab Fixing typing error (missing paranthese). 2007-10-30 09:52:38 +01:00
Daniel Baumann d29dd22a73 Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034). 2007-10-30 06:35:35 +01:00
Alex Owen c71e0d5517 fix lh_chroot_sources to actually install *.deb from config/chroot_sources 2007-10-28 18:22:33 -02:00
Maarten ter Huurne b01e3ff769 Added feature to exclude paths from the root filesystem.
To make the root filesystem as small as possible, it can be useful to exclude
certain files or directories. This is now possible by using the file
config/binary_rootfs/exclude, which contains a whitespace separated list of
file paths to exclude; wildcards are allowed. These paths are removed from the
chroot copy before the root filesystem is built.
2007-10-28 03:14:42 +01:00
Maarten ter Huurne c7e50a404e Remove ".img" from kernel image file name.
When an ISO is created with the kernel image file name ending in ".img", the
ISO will not boot. In Qemu, the following error will be shown:

        FATAL: Int13 eltorito call with AX=4C00

This means a non-implemented BIOS entry was called. In VMware and on real
hardware there is a different error message:

        Cannot load disk image (invalid file)?

Removing the ".img" part of the file name solves this.
2007-10-27 20:38:15 +02:00