Commit Graph

147 Commits

Author SHA1 Message Date
Daniel Baumann 969ac8f07f Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Daniel Baumann 3818b02197 Addjusting lh helper to be called from lh_local. 2011-03-09 18:22:29 +01:00
Daniel Baumann ac8753ea3f Adding lh_local based on the idea from Tzafrir Cohen <tzafrir.cohen@xorcom.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann ff9af0f960 Fixed incomplete fdisk parameter list in lh_config --help. 2011-03-09 18:22:29 +01:00
Daniel Baumann de1698708d Also removing manpage cache in cleanup. 2011-03-09 18:22:29 +01:00
Daniel Baumann e5ac7fb714 Disabling global arguments in lh_clean (Closes: #451960). 2011-03-09 18:22:29 +01:00
Daniel Baumann 76c75b83c5 Moving sanity check in lh_clean to the earliest possibility. 2011-03-09 18:22:29 +01:00
Daniel Baumann 7ace089629 Switching lh_clean to proper command line arguments. 2011-03-09 18:22:29 +01:00
Daniel Baumann cbcb382f13 Fixing wrong parted call. 2011-03-09 18:22:29 +01:00
Daniel Baumann cd2618e5d5 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>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 01d34e6d1d Adding binary filesystem option, currently only supporting fat16 and fat32. 2011-03-09 18:22:29 +01:00
Daniel Baumann c59670779a Speeding up the dd call, thanks to Peter Skogstroem <peter.skogstrom@bitrunner.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann c4ba9e6be8 Do really not create the filesystem with parted. 2011-03-09 18:22:29 +01:00
Daniel Baumann 44a36ecc49 Do not create the filesystem with parted. 2011-03-09 18:22:29 +01:00
Daniel Baumann ec72b41c82 Mounting pseudo filesystems before creating binary images in non-chrooted builds. 2011-03-09 18:22:29 +01:00
Daniel Baumann c6236a0794 Moving lh_losetup into an internal function, avoiding helper failure with return value due to new trap. 2011-03-09 18:22:29 +01:00
Daniel Baumann b5dc203126 Fixing fstab handling. 2011-03-09 18:22:29 +01:00
Daniel Baumann de1e32df4c Fixing some coding style issues. 2011-03-09 18:22:29 +01:00
Daniel Baumann 1324f6e13b Adding 'remove' case, which is in between of all and purge. 2011-03-09 18:22:29 +01:00
Daniel Baumann 0c2e079c10 Outputting an own message when having more than one case in a helper, instead of a global one. 2011-03-09 18:22:29 +01:00
Daniel Baumann 0e2e348b53 Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 02a9e71667 Adding option to disable md5sum generation. 2011-03-09 18:22:29 +01:00
Daniel Baumann 8321653cb3 Adding check to detect gnu-fdisk and using the original fdisk, thanks to Peter Skogström <peter.skogstrom@bitrunner.com> for the report. 2011-03-09 18:22:29 +01:00
Daniel Baumann b47d0c480d 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>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 1ef63a83da Adding some more fakeroot related fixes from An-Cheng Huang <ancheng@vyatta.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 66e6a4c14a Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 2a90796447 Making umount calls check if they are actually necessary. 2011-03-09 18:22:29 +01:00
Daniel Baumann 77dba7d248 Adding generic lh wrapper. 2011-03-09 18:22:29 +01:00
Daniel Baumann b17568a395 Added warning about etch compatibility of lh_config options. 2011-03-09 18:22:29 +01:00
Daniel Baumann 532f4e281f Fixing some coding style issues. 2011-03-09 18:22:28 +01:00
Daniel Baumann c7ad124959 Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini. 2011-03-09 18:22:28 +01:00
Daniel Baumann 8a2a37bd28 Evaluating local arguments befor setting the defaults (Closes: #444985). 2011-03-09 18:22:28 +01:00
Daniel Baumann ba83790488 Adding option to allow building in fakeroot/fakechroot environment, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2011-03-09 18:22:28 +01:00
Daniel Baumann 889489c8ce Using shell redirection to truncate rather than additional commands/forks/files, thanks to Justin Pryzby <jpryzby@quoininc.com>. 2011-03-09 18:22:28 +01:00
Daniel Baumann 7fc3e5c0e4 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2011-03-09 18:22:28 +01:00
Jesse Hathaway 72220890bd 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.
2011-03-09 18:22:28 +01:00
Daniel Baumann 34683dc5e6 Corrected wrong path, thanks to Ben Armstrong <synrg@debian.org>. 2011-03-09 18:22:28 +01:00
Jesse Hathaway 86a090e029 fix isolinux when booting multiple kernel flavours 2011-03-09 18:22:28 +01:00
Jesse Hathaway 1652f58575 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.
2011-03-09 18:22:28 +01:00
Jesse Hathaway afe1aa871e add /etc/adjtime to list of writable files in exposed root mode 2011-03-09 18:22:28 +01:00
Jesse Hathaway 5cc7f0d887 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.
2011-03-09 18:22:28 +01:00
Jesse Hathaway d896f1dd21 add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
2011-03-09 18:22:28 +01:00
Daniel Baumann 3058020743 Adding lh_chroot_devpts. 2011-03-09 18:22:28 +01:00
Daniel Baumann 7db7ac2f61 Fixing indenting. 2011-03-09 18:22:28 +01:00
Jesse Hathaway 64333346c2 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.
2011-03-09 18:22:28 +01:00
Daniel Baumann ba51452027 Fixing typing error (wrong variable name). 2011-03-09 18:22:28 +01:00
Daniel Baumann c6002c0e40 Fixing typing error (missing paranthese). 2011-03-09 18:22:28 +01:00
Daniel Baumann c8bb19dd48 Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034). 2011-03-09 18:22:28 +01:00
Alex Owen 2ea3db43de fix lh_chroot_sources to actually install *.deb from config/chroot_sources 2011-03-09 18:22:28 +01:00
Maarten ter Huurne eb1e09d9e9 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.
2011-03-09 18:22:28 +01:00