summaryrefslogtreecommitdiff
path: root/helpers
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>.Daniel Baumann1-1/+1
2011-03-09Adding option to disable md5sum generation.Daniel Baumann3-1/+21
2011-03-09Adding check to detect gnu-fdisk and using the original fdisk, thanks to ↵Daniel Baumann2-2/+12
Peter Skogström <peter.skogstrom@bitrunner.com> for the report.
2011-03-09Adding a check to see if user is running lh_clean from a sane location (i.e. ↵Daniel Baumann1-0/+7
not config/), thanks to Kai Hendry <hendry@webconverger.com>.
2011-03-09Adding some more fakeroot related fixes from An-Cheng Huang ↵Daniel Baumann2-9/+15
<ancheng@vyatta.com>.
2011-03-09Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>.Daniel Baumann1-1/+1
2011-03-09Making umount calls check if they are actually necessary.Daniel Baumann3-3/+12
2011-03-09Adding generic lh wrapper.Daniel Baumann2-16/+63
2011-03-09Added warning about etch compatibility of lh_config options.Daniel Baumann1-0/+3
2011-03-09Fixing some coding style issues.Daniel Baumann3-22/+24
2011-03-09Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini.Daniel Baumann2-2/+17
2011-03-09Evaluating local arguments befor setting the defaults (Closes: #444985).Daniel Baumann1-2/+2
2011-03-09Adding option to allow building in fakeroot/fakechroot environment, thanks ↵Daniel Baumann5-31/+89
to An-Cheng Huang <ancheng@vyatta.com>.
2011-03-09Using shell redirection to truncate rather than additional ↵Daniel Baumann2-2/+2
commands/forks/files, thanks to Justin Pryzby <jpryzby@quoininc.com>.
2011-03-09Renaming live-failsafe boot target to livefailsafe (Closes: #450576).Daniel Baumann1-1/+1
2011-03-09add new option --syslinux-menu to enable syslinux menuJesse Hathaway1-1/+7
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-09Corrected wrong path, thanks to Ben Armstrong <synrg@debian.org>.Daniel Baumann1-1/+1
2011-03-09fix isolinux when booting multiple kernel flavoursJesse Hathaway1-7/+8
2011-03-09fix syslinux timeout optionJesse Hathaway2-3/+3
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-09add /etc/adjtime to list of writable files in exposed root modeJesse Hathaway1-1/+1
2011-03-09allow basename of net-root-path to be binaryJesse Hathaway1-5/+12
This is convenient for testing as you can directly export the build directory, rather than untarring the net image in another location.
2011-03-09add force flag when removing /etc/mtab for exposedroot modeJesse Hathaway1-1/+1
cdebootstrap does not create /etc/mtab
2011-03-09Adding lh_chroot_devpts.Daniel Baumann3-0/+86
2011-03-09Fixing indenting.Daniel Baumann3-9/+11
2011-03-09add new option to mount cow device on nfs volumeJesse Hathaway6-34/+107
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-09Fixing typing error (wrong variable name).Daniel Baumann1-2/+2
2011-03-09Fixing typing error (missing paranthese).Daniel Baumann1-1/+1
2011-03-09Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034).Daniel Baumann2-8/+24
2011-03-09fix lh_chroot_sources to actually install *.deb from config/chroot_sourcesAlex Owen1-1/+1
2011-03-09Added feature to exclude paths from the root filesystem.Maarten ter Huurne1-0/+15
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-09Remove ".img" from kernel image file name.Maarten ter Huurne1-2/+3
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.
2011-03-09add exposedroot option which exposes the root fs as roJesse Hathaway6-3/+68
This option allows you to expose the root read only. Using this option a person could upgrade the root filesystem or add packages without requiring the user to reboot. The root filesystem could be kept on an nfs volume or some other persistent medium. Multiple clients could then be booted off the same root fs. I used LTSP as a template to determine which directories to make rw.
2011-03-09Removing mkisofs support.Daniel Baumann4-14/+5
2011-03-09Removing ubuntu support.Daniel Baumann4-101/+57
2011-03-09Adding lh_binary_local-packageslists.Daniel Baumann3-0/+105
2011-03-09lh_binary_syslinux: always put splash image as splash.{rle,png} to avoid ↵Otavio Salvador1-21/+20
filename issues
2011-03-09lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect ↵Otavio Salvador1-4/+4
wrong path
2011-03-09lh_binary_syslinux: fix usb-hdd etch imagesJesse Hathaway3-71/+50
I did not realize that the syslinux boot methods, iso, net, & hdd do not have feature parity for any given version. As per old comments etch syslinux v3.31 does not support sub directories on FAT images
2011-03-09Adding support for a local /etc/apt/preferences file in ↵Daniel Baumann2-0/+20
config/chroot_apt/preferences.
2011-03-09readd support for booting etch via syslinuxJesse Hathaway1-4/+26
2011-03-09Unify syslinux code, so that pxelinux isolinux & usb-hddJesse Hathaway1-405/+209
share more code. Change pxelinux directory setup to match debian installer Change syslinux templates to use {$VAR} syntax so the templates are easier to read Remove etch support for syslinux, since INCLUDE syntax is not available in etch syslinux v3.31
2011-03-09Adding check to fail if a cross build is started (Closes: #444669, #444670).Daniel Baumann7-0/+15
2011-03-09Fixing consistency error.Daniel Baumann1-3/+3
2011-03-09syslinux: fix usb-hdd templates copingOtavio Salvador1-0/+6
2011-03-09syslinux: properly change timeout and do not fail if help files do not existsOtavio Salvador1-8/+13
2011-03-09syslinux: fix usb-hdd entries to use menu.cfg fileOtavio Salvador1-6/+6
2011-03-09fix version guessing using proper evaluationOtavio Salvador3-3/+3
2011-03-09iso: use -allow-multidot option when calling genisoimageOtavio Salvador1-8/+5
To properly support syslinux menus we need to provide fonts (specially when using accents and like) and those files are usually found on systems using multiple dots on their filenames (e.g iso01.f14.psf) and then makes sense to support this by default or our users can spent _a lot_ of time to sort this kind of problem out. While doing it, the duplicated command line has been removed and code changed to avoid this duplication making future changes need to touch just one place.
2011-03-09syslinux: force latin1 encoding on texts used for labelsOtavio Salvador1-1/+9
syslinux cannot handle utf-8 encoding and then proper encoding needed to be enforced while printing the label texts.
2011-03-09bootstrap: add support to include and exclude packagesOtavio Salvador3-0/+28
To allow better customization of resulting system, support to include and exclude packages of base system has been added. It has been included for debootstrap and cdebootstrap helpers.