summaryrefslogtreecommitdiff
path: root/helpers
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-03-09iso: move mini and minimal flavors assigment to a cannonical placeOtavio Salvador1-16/+12
2011-03-09cdebootstrap: simplified code using case instead of if's so it's easier to readOtavio Salvador1-10/+13
2011-03-09Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby ↵Daniel Baumann2-4/+6
<pryzbyj@justinpryzby.com>.
2011-03-09syslinux: fix module detection otherwise it won't be copiedOtavio Salvador1-1/+1
2011-03-09syslinux: fix memcheck path since it was using the wrong pathOtavio Salvador1-1/+1
2011-03-09Fixing typing error, thanks to Jesse W. Hathaway <jesse@mbuki-mvuki.org>.Daniel Baumann1-1/+1
2011-03-09Fixing typing error, thanks to Maarten ter Huurne ↵Daniel Baumann1-1/+1
<maarten.ter.huurne@philips.com>.
2011-03-09genext2fs: new switch name: --reserved-percentage; thanks, ZagioxBen Armstrong1-2/+8
2011-03-09syslinux: split syslinux configuration in multiple filesOtavio Salvador1-9/+11
Normal and menu templates share a lot of common stuff and then a splited syslinux.cfg is much better to handle that.
2011-03-09syslinux: always output MENU LABEL since they're ignored if menu.c32 isn't ↵Otavio Salvador1-8/+2
loaded syslinux ignores MENU LABEL commands if there's no menu.c32 module loaded and then we don't need about check it.
2011-03-09templates: move syslinux-menu to syslinux/menuOtavio Salvador1-6/+7
All files from syslinux-menu templates directory has been moved to syslinux/menu. lh_binary_syslinux had some changes to work with that but they were minimal ones.
2011-03-09syslinux: fix menu label usage for normal live bootOtavio Salvador1-1/+1
2011-03-09syslinux: defaults to english text if we lack the specified languageOtavio Salvador1-1/+6
2011-03-09refactoring: simplified if/else case since the list of supported arch were ↵Otavio Salvador1-9/+12
too long
2011-03-09Replacing backticks with POSIX expression.Daniel Baumann27-164/+164
2011-03-09implements syslinux vesa menu supportOtavio Salvador1-28/+82
2011-03-09add new options to allow support for syslinux with vesa menuOtavio Salvador1-0/+20
A set of new options has been add to allow the syslinux vesa menu support to be added. Those are the new options: - LH_SYSLINUX_CFG: set custom syslinux configuration file - LH_SYSLINUX_MENU: set syslinux menu - LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for live entries - LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the menu for live entries (failsafe ones) - LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu for memtest entry
2011-03-09Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby ↵Daniel Baumann2-0/+10
<pryzbyj@justinpryzby.com>.
2011-03-09Respecting LH_QUIET for wget calls, thanks to Justin Pryzby ↵Daniel Baumann1-7/+12
<pryzbyj@justinpryzby.com>.
2011-03-09Handling case when memtest is disabled.Daniel Baumann1-1/+4