Commit Graph

3828 Commits

Author SHA1 Message Date
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
b7b7cd4c81 Setting LH_BOOTSTRAP_FLAVOUR only when using cdebootstrap. 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
312c67dae2 Correcting vcs fields. 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
Maarten ter Huurne
3e3576989c Avoid [Y/n] query on package autoremove in "mini" hook.
Added "--yes" to "apt-get autoremove" line to avoid APT from popping up a
confirmation.
2011-03-09 18:22:28 +01:00
Maarten ter Huurne
34468c14e4 Fixed lh_config tool name in manpage.
For some reason the page said "lh_source" originally. Copy-paste error?
2011-03-09 18:22:28 +01:00
Daniel Baumann
ec66371175 Correcting homepage field. 2011-03-09 18:22:28 +01:00
Daniel Baumann
a6d5edd05b Preparing live-helper 1.0~a34-1. 2011-03-09 18:22:28 +01:00
Daniel Baumann
8feca91663 Releasing live-helper 1.0~a33-1. 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
Maarten ter Huurne
4046c781f8 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.
2011-03-09 18:22:28 +01:00
Jesse Hathaway
a7491e1349 add exposedroot option which exposes the root fs as ro
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-09 18:22:28 +01:00
Daniel Baumann
2a75e5b712 Setting default union filesystem to for etch to unionfs. 2011-03-09 18:22:28 +01:00
Daniel Baumann
b42ba83688 Removing mkisofs support. 2011-03-09 18:22:28 +01:00
Daniel Baumann
624fca8de5 Removing ubuntu support. 2011-03-09 18:22:27 +01:00
Daniel Baumann
255c11cde5 Adding cryptsetup. 2011-03-09 18:22:27 +01:00
Daniel Baumann
dfac8e00f4 Preparing live-helper 1.0~a33-1. 2011-03-09 18:22:27 +01:00
Daniel Baumann
ad0b19f004 Releasing live-helper 1.0~a32-1. 2011-03-09 18:22:27 +01:00
Daniel Baumann
cfc20dc12b Adding lh_binary_local-packageslists. 2011-03-09 18:22:27 +01:00
Daniel Baumann
4fe4388b7d Updating Debian stable release number, thanks to Peter Skogström <peter.skogstrom@bitrunner.com>. 2011-03-09 18:22:27 +01:00
Daniel Baumann
3aae363e08 Fixing typing error, thanks to Peter Skogström <peter.skogstrom@bitrunner.com>. 2011-03-09 18:22:27 +01:00
Otavio Salvador
f7f1d3befa lh_binary_syslinux: always put splash image as splash.{rle,png} to avoid filename issues 2011-03-09 18:22:27 +01:00
Otavio Salvador
8fc5ac96af lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path 2011-03-09 18:22:27 +01:00
Jesse Hathaway
e7d99b5116 lh_binary_syslinux: fix usb-hdd etch images
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-09 18:22:27 +01:00
Daniel Baumann
777875f2f2 Setting union filesystem default to aufs since default distribution is lenny. 2011-03-09 18:22:27 +01:00
Daniel Baumann
0ac777d90b Adjusting error message: debootstrap is default, hence listed first. 2011-03-09 18:22:27 +01:00
Daniel Baumann
58bbe26622 Adding support for a local /etc/apt/preferences file in config/chroot_apt/preferences. 2011-03-09 18:22:27 +01:00
Jesse Hathaway
a40fb341ea readd support for booting etch via syslinux 2011-03-09 18:22:27 +01:00
Jesse Hathaway
1bea707a71 Unify syslinux code, so that pxelinux isolinux & usb-hdd
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-09 18:22:27 +01:00
Daniel Baumann
2a5637facd Not interpreting LH_UNION_FILESYSTEM, so that it gets set with an actual value at build-time (Closes: #446306). 2011-03-09 18:22:27 +01:00
Daniel Baumann
57444bb38b Adding check to fail if a cross build is started (Closes: #444669, #444670). 2011-03-09 18:22:27 +01:00
Daniel Baumann
095cc5f19a Adding sudo and fakeroot to suggests. 2011-03-09 18:22:27 +01:00
Daniel Baumann
1d8e777783 Fixing consistency error. 2011-03-09 18:22:27 +01:00
Daniel Baumann
8905bb8949 Preparing live-helper 1.0~a32-1. 2011-03-09 18:22:27 +01:00
Daniel Baumann
0c188a79ba Releasing live-helper 1.0~a31-1. 2011-03-09 18:22:27 +01:00
Otavio Salvador
7bfb06e25a syslinux: fix usb-hdd templates coping 2011-03-09 18:22:27 +01:00
Otavio Salvador
e1b10bc517 syslinux: properly change timeout and do not fail if help files do not exists 2011-03-09 18:22:27 +01:00
Otavio Salvador
96376fdadb syslinux: fix usb-hdd entries to use menu.cfg file 2011-03-09 18:22:27 +01:00
Otavio Salvador
3574ac40be fix version guessing using proper evaluation 2011-03-09 18:22:27 +01:00
Otavio Salvador
91d3e8b55c templates: change font used on syslinux menu to a better one
Previous used font had a bug with some chars and was also too big for
general use so a smaller and right one has been choosen.
2011-03-09 18:22:27 +01:00
Otavio Salvador
428f4d972f iso: use -allow-multidot option when calling genisoimage
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-09 18:22:27 +01:00
Otavio Salvador
cda480d29c syslinux: force latin1 encoding on texts used for labels
syslinux cannot handle utf-8 encoding and then proper encoding needed
to be enforced while printing the label texts.
2011-03-09 18:22:27 +01:00
Otavio Salvador
48c24d0b1b bootstrap: add support to include and exclude packages
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-09 18:22:27 +01:00
Otavio Salvador
abde3ce0d0 hooks/mini: remove dselect package since it's mostly unused now 2011-03-09 18:22:27 +01:00
Otavio Salvador
b85f12a045 iso: move mini and minimal flavors assigment to a cannonical place 2011-03-09 18:22:27 +01:00
Otavio Salvador
f6d9cd49e2 cdebootstrap: simplified code using case instead of if's so it's easier to read 2011-03-09 18:22:27 +01:00