Daniel Baumann
5fe14264e0
Sorting image file lists.
2011-03-09 19:03:32 +01:00
Daniel Baumann
ef1b163040
Creating binary and source file lists in build directory.
2011-03-09 19:03:32 +01:00
Daniel Baumann
e296deef49
Also copying binary package list to build directory.
2011-03-09 19:03:32 +01:00
Daniel Baumann
ea154f8609
Also adding a packages.txt when building etch images, although there is a casper/filesystem.manifest already.
2011-03-09 19:03:32 +01:00
Chris Lamb
c3462bceab
lh_chroot_linux-image: Catch missing case in local live-initramfs handling
...
This patch catches the case when LH_APT is "apt", its default value. This
was causing build failures when using a local live-initramfs .deb.
2011-03-09 19:03:32 +01:00
Chris Lamb
50e21abdb5
helpers/lh_config, functions/defaults.sh: Correct "boostrap" -> "bootstrap"
2011-03-09 19:03:32 +01:00
Daniel Baumann
c37435dcc5
Sort md5sum.txt files again after filename.
2011-03-09 19:03:32 +01:00
Daniel Baumann
ce7388dc68
Updating help output of lh_config.
2011-03-09 19:03:32 +01:00
Daniel Baumann
74030ce0a6
Applied patch from Erwan Le Gall <elegall@linagora.com> to give a warning when installing local packages with wrong naming scheme.
2011-03-09 19:03:32 +01:00
Daniel Baumann
26fc30d8eb
Using new Read_conffile(); now.
2011-03-09 19:03:31 +01:00
Daniel Baumann
c6b83b1fd3
Adding 'all' configuration file.
2011-03-09 19:03:31 +01:00
Daniel Baumann
5b24b59576
Fixing md5sum.txt creation to not fail on filenames with whitespaces, thanks to Bas Wijnen <wijnen@debian.org> ( Closes : #469085 ).
2011-03-09 19:03:31 +01:00
Chris Lamb
120528e1a2
lh_chroot_hacks: Ensure initrds are group- and world- readable
...
The loop-aes-utils sets a umask in its update-initramfs configuration,
causing initrds to have "0600" permissions which causes boot failures
when offering the files over netboot or similar.
The justification given by loop-aes is that, as it supports encrypting
against embedded GPG keyrings, the keys would be compromised if the files
were group- or world- readable. However, as live-helper does not support
this feature, it is safe to simply correct the permissions.
2011-03-09 19:03:30 +01:00
Chris Lamb
55472e6557
Allow LH_ENCRYPTION="disabled" to disable encryption
2011-03-09 19:03:29 +01:00
Chris Lamb
13625df75c
lh_binary_encryption: Rework and fix broken AES encryption routines
2011-03-09 19:03:28 +01:00
Chris Lamb
322d45eeaf
lh_binary_rootfs: Remove
...
mksquashfs has a nasty habit of segfaulting when creating an image where
an image already exists. This can happen, for example, if you are
performing multiple runs of lh_binary and the build breaks for some reason.
This is almost certainly a bug in mksquashfs; I will look into finding a
suitable testcase.
2011-03-09 19:03:27 +01:00
Chris Lamb
679aed6441
lh_binary_debian-installer: Preseed by repacking initrd in some situations
...
This patch repacks the initrd when using the d-i netboot images in order
to incorporate a preseed.cfg if it exists. Before this patch, preseeding
of d-i netboot images was not possible.
Repacking the initrd has the additional advantage of being able to preseed
the first few questions of the installation process.
2011-03-09 19:03:26 +01:00
Chris Lamb
6057ecbd19
lh_binary_debian-installer: Merge pool/netboot determining logic
...
The code which determined whether to use the netboot d-i images was the
inverse of the code which determined whether to create a local package
pool: this patch merges the two.
This patch additionally ensures that setting "businesscard" whilst building
an ISO image will install the d-i netboot images; this was causing d-i
failures when it couldn't find its (non-existent) package pool.
2011-03-09 19:03:24 +01:00
Chris Lamb
07c3a04027
lh_binary_debian-installer: Remove "local"-oriented bashisms
2011-03-09 19:03:23 +01:00
Chris Lamb
6e9f8956ee
lh_chroot_linux-image: Install dependencies differently when using aptitude
...
We must use "aptitude install <pkgname>" to install dependencies of a
dpkg-installed <pkgname>, or aptitude's resolver will remove it. apt-get
does not have this "feature".
This was causing a problem when using a custom versions of live-initramfs
as they would be removed, causing a boot failure.
2011-03-09 19:03:21 +01:00
Chris Lamb
02a9e29e09
lh_binary_debian-installer: Don't use --no-clobber for downloading files
...
Using --no-clobber at the same time as -O<file> results in <file> being
created with no contents, which was resulting in (broken) zero-byte d-i
kernels and initrds.
The patch is simple -- simply remove --no-clobber: wget -O<file> <url> will always download <url> to <file>, regardless of how
many times it is run.
2011-03-09 19:03:20 +01:00
Chris Lamb
25ac96ed14
lh_binary_debian-installer: Only create package pools when necessary
...
There is no need to create a package pool when creating a netboot Debian
Live image or when the LH_DEBIAN_INSTALLER is set to "businesscard".
2011-03-09 19:03:19 +01:00
Chris Lamb
dd77597ac8
lh_binary_debian-installer: Re-enable d-i on netboot images
...
This patch also modifies the configuration logic to ensure that setting
LH_DEBIAN_INSTALLER="enabled" whilst creating a netboot image will install
the netboot variety of d-i.
2011-03-09 19:01:54 +01:00
Daniel Baumann
7c99543227
Correcting wrong logic on handling secure apt.
2011-03-09 19:01:50 +01:00
Daniel Baumann
bacd270f71
Fixing wrong debian-installer auto target configuration.
2011-03-09 19:01:47 +01:00
Daniel Baumann
ed5d8c3b69
Re-adding quiet on all d-i install targets in post-etch, except expert (and keeping Chris fixed quiet handling).
2011-03-09 19:01:46 +01:00
Chris Lamb
df8e958021
Don't append 'quiet' kernel parameter in rescue modes
2011-03-09 19:01:44 +01:00
Chris Lamb
f1cb2b0432
Ensure syslinux entry names match templates and standard d-i names
...
This patch alters the syslinux labels to follow the "expert" and
"expertgui" style in favour of "TextExpert" and "GUIExpert".
This makes the names match Live Helper's syslinux templates, as well as the
more typical d-i installations and numerious sources that claim that one
should "just type 'expert' at the syslinux prompt", etc.
2011-03-09 19:01:42 +01:00
Daniel Baumann
c5a91189a0
Updating copyright years to 2008.
2011-03-09 19:01:41 +01:00
Daniel Baumann
0904d6b37d
Also handling ext3 in lh_binary_rootfs, thanks to Bas Wijnen <wijnen@debian.org> ( Closes : #468902 ).
2011-03-09 19:01:33 +01:00
Bas Wijnen
1268b8b957
Making usb-hdd images large enough ( Closes : #468855 ).
...
When building a very minimal live system on a usb-hdd target, the generated
image is too small. A very minimal system is smaller than 50MB, and so this is
the same as DU_DIM for such a system. This is too small. Unconditionally adding
one solves the problem.
2011-03-09 19:01:31 +01:00
Chris Lamb
20da312cd1
Use ${*} instead of ${@} for checking for no arguments in lh_clean.
...
${@} expands to "<arg1>" "<arg2>" ... etc., which causes the -z test to
encounter too many arguments and thus fail with an error.
2011-03-09 19:01:30 +01:00
Daniel Baumann
f23072923e
Adding temporary hack to remove fstab when using live-installer.
2011-03-09 18:36:19 +01:00
Daniel Baumann
9ffb223d70
Adding --jffs2-eraseblock parameter.
...
Marco sais, that flash devices often need a different erase size than mkfs.jffs2
defaults to. Hence, this parameter passes the blocksize to the mkfs.jffs2 call
through --eraseblock option.
2011-03-09 18:36:19 +01:00
Daniel Baumann
5330b557ac
It's actually enough to just truncate kernel-img.conf and also less invasive than including a default configuration.
2011-03-09 18:36:19 +01:00
Daniel Baumann
979c71fd6e
Including default kernel-img.conf in live-systems.
2011-03-09 18:36:18 +01:00
Daniel Baumann
2b086405f9
Using wildcards to support more than one preseeding file.
2011-03-09 18:36:17 +01:00
Daniel Baumann
d78a97a521
Honor local preseeding file for debian-installer.
2011-03-09 18:36:17 +01:00
Daniel Baumann
a74fb24d5e
Fixing typo in sed call to set isolinux splash file.
2011-03-09 18:36:16 +01:00
Daniel Baumann
2b6c057b1c
Added forgotten getopts arguments for chroot mirror.
2011-03-09 18:36:15 +01:00
Daniel Baumann
3c0d008c79
When a wrong argument is passed, that argument should be listed ( Closes : #468201 ).
2011-03-09 18:36:14 +01:00
Daniel Baumann
0c9fc8846d
Adding option to set binary-net compression (or disable it).
2011-03-09 18:36:13 +01:00
Daniel Baumann
5ce2688675
Re-adding additional indices updated, otherwise we wouldn't honor thirdparty repositories (anymore).
2011-03-09 18:36:09 +01:00
Daniel Baumann
b0c38d67e2
Renaming LH_MIRROR_BOOTSTRAP* to LH_MIRROR_CHROOT and introducing dedicated LH_MIRROR_BOOTSTRAP for debootstrap/cdebootstrap only.
2011-03-09 18:36:07 +01:00
Daniel Baumann
953a3d1af6
Renaming extra bootstrap indices to chroot.
2011-03-09 18:36:06 +01:00
Daniel Baumann
09f88a6e38
Adding apt/aptitude options.
...
By using APT_OPTIONS and APTITUDE_OPTIONS in config/common,
one can manipulate the default options wich is made to each
and every apt and aptitude call.
2011-03-09 18:36:05 +01:00
Otavio Salvador
1ffce292fb
lh_binary_rootfs: add support to generate jffs2 filesystem
2011-03-09 18:36:05 +01:00
Otavio Salvador
5d3c850ccb
lh_binary_encryption: add jffs2 as not supported filesystem
2011-03-09 18:36:04 +01:00
Otavio Salvador
f3f391ddc0
lh_config: add jffs2 in supported filesystems
2011-03-09 18:36:03 +01:00
Otavio Salvador
fa1d552b66
lh_source_debian: add mtd-tools since it provides mkfs.jffs2 application
2011-03-09 18:36:03 +01:00
Otavio Salvador
9f6f1f3f84
chroot: don't fail if /dev/pts is already mounted
2011-03-09 18:36:02 +01:00
Otavio Salvador
cd087b9abf
binary: do not fail if parameters.txt isn't available
2011-03-09 18:36:01 +01:00
Daniel Baumann
a6da98c2b8
Fixing typo.
2011-03-09 18:36:00 +01:00
Otavio Salvador
15cb7bb5c1
bootstrap: use minbase flavour when LH_PACKAGES_LISTS is set to minimal
...
Since debootstrap 1.0.8 there's a variant called minbase that installs
just essentials packages so base's size is greatly reduced. Use this
variant when producing reduced images.
2011-03-09 18:35:59 +01:00
Otavio Salvador
ffa2568b55
bootstrap: adds support to debootstrap 1.0.7
...
New debootstrap has change the scripts to /usr/share since they're
architecture independent code. The support for it has been added
however it fallback to /usr/lib to keep backward compatibility.
2011-03-09 18:35:58 +01:00
Daniel Baumann
bc23f61130
Removing unintendet set -x.
2011-03-09 18:35:57 +01:00
Daniel Baumann
f224359bb1
Working arround aptitude behaviour of removing packages rather than to installing missing depends when using initramfs generator from local-packages.
2011-03-09 18:35:57 +01:00
Daniel Baumann
68be48c28e
Correcting wrong installation attempt of initramfs generator from local-packages.
2011-03-09 18:35:56 +01:00
Daniel Baumann
c87301732b
Installing initramfs generator from local-packages, if available.
2011-03-09 18:35:54 +01:00
Daniel Baumann
74b2c5778d
Renaming mini flavour to stripped to avoid confusion, thanks to Fathi Boudra <fabo@debian.org> and Ben Armstrong <synrg@debian.org>.
2011-03-09 18:35:54 +01:00
Daniel Baumann
58e7e813be
Fixing typo, thanks to Fathi Boudra <fabo@debian.org>.
2011-03-09 18:35:51 +01:00
Daniel Baumann
324621f3f4
Checking for /sys/class rather than /sys/kernel, avoids problem when running under OpenVZ which doesn't have sys/kernel, thanks to Takeshi Yaegashi <yaegashi@debian.org>.
2011-03-09 18:35:48 +01:00
Chris Lamb
577d29afa8
Re-order hooks such that local hooks are executed first. ( Closes : #453360 )
...
Some non-local hooks clean the chroot too much, resulting in the
local hooks having to perform identical clean-up tasks (for example,
downloading a package).
2011-03-09 18:35:44 +01:00
Chris Lamb
e0ad886393
Re-add guards against bogus 'for' shell expansion.
2011-03-09 18:35:43 +01:00
Chris Lamb
2ebe770e41
Refactor d-i udeb handling with better failure mode ( Closes : #444565 )
2011-03-09 18:35:42 +01:00
Chris Lamb
cf3d97cd1f
Use Install_file for udebs.
2011-03-09 18:35:41 +01:00
Daniel Baumann
342d2870eb
Consistently using the pipe as seperator in sed commands now.
2011-03-09 18:35:39 +01:00
Chris Lamb
042dfa1ee0
Move installing binary.deb/archives/*.deb.
2011-03-09 18:35:37 +01:00
Chris Lamb
28d856f6f1
Remove conditionals, as an expansion never 'fails': it just
...
won't copy any files.
2011-03-09 18:35:36 +01:00
Chris Lamb
295542614d
Refactor installing file to binary/pool/main/./.* functionality.
2011-03-09 18:35:35 +01:00
Chris Lamb
716d31d587
Don't put more than one glob on a 'for' line, unless they are guaranteed
...
to succeed, otherwise the second one is not expanded and "*.deb" (for
example) is used literally.
This patch expands (haha) each "for" loop into it's own.
2011-03-09 18:35:34 +01:00
Chris Lamb
6a9d30b2ae
Implement -v/--version and -h/--help in lh_clean.
2011-03-09 18:35:31 +01:00
Chris Lamb
94e44ce69a
Implement -u/--usage function in lh_clean ( Closes : #454553 )
2011-03-09 18:35:28 +01:00
Daniel Baumann
d725d86274
Don't fail if resolv.conf is a symlink, thanks to David Madore <david.madore@ens.fr> ( Closes : #457595 ).
2011-03-09 18:22:29 +01:00
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
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
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
cfc20dc12b
Adding lh_binary_local-packageslists.
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
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
57444bb38b
Adding check to fail if a cross build is started ( Closes : #444669 , #444670 ).
2011-03-09 18:22:27 +01:00
Daniel Baumann
1d8e777783
Fixing consistency error.
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
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
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
Daniel Baumann
a81c2201bd
Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>.
2011-03-09 18:22:27 +01:00
Otavio Salvador
0375c35762
syslinux: fix module detection otherwise it won't be copied
2011-03-09 18:22:27 +01:00
Otavio Salvador
3d7ef5654b
syslinux: fix memcheck path since it was using the wrong path
2011-03-09 18:22:27 +01:00
Daniel Baumann
7647762eff
Fixing typing error, thanks to Jesse W. Hathaway <jesse@mbuki-mvuki.org>.
2011-03-09 18:22:27 +01:00
Daniel Baumann
4ed38f17c7
Fixing typing error, thanks to Maarten ter Huurne <maarten.ter.huurne@philips.com>.
2011-03-09 18:22:27 +01:00
Ben Armstrong
3fdc7779ec
genext2fs: new switch name: --reserved-percentage; thanks, Zagiox
2011-03-09 18:22:27 +01:00
Otavio Salvador
748c19a321
syslinux: split syslinux configuration in multiple files
...
Normal and menu templates share a lot of common stuff and then
a splited syslinux.cfg is much better to handle that.
2011-03-09 18:22:27 +01:00
Otavio Salvador
6944ddd54d
syslinux: always output MENU LABEL since they're ignored if menu.c32 isn't 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-09 18:22:27 +01:00
Otavio Salvador
7f9d996f19
templates: move syslinux-menu to syslinux/menu
...
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-09 18:22:27 +01:00
Otavio Salvador
fb925a4214
syslinux: fix menu label usage for normal live boot
2011-03-09 18:22:27 +01:00
Otavio Salvador
b9effa31a0
syslinux: defaults to english text if we lack the specified language
2011-03-09 18:22:27 +01:00
Otavio Salvador
ea8476d41a
refactoring: simplified if/else case since the list of supported arch were too long
2011-03-09 18:22:27 +01:00
Daniel Baumann
f2734daf0a
Replacing backticks with POSIX expression.
2011-03-09 18:22:27 +01:00
Otavio Salvador
81a76d4adc
implements syslinux vesa menu support
2011-03-09 18:22:27 +01:00
Otavio Salvador
8514767b36
add new options to allow support for syslinux with vesa menu
...
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-09 18:22:27 +01:00
Daniel Baumann
54c6faef3b
Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>.
2011-03-09 18:22:27 +01:00
Daniel Baumann
791c256094
Respecting LH_QUIET for wget calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>.
2011-03-09 18:22:27 +01:00
Daniel Baumann
783527b51a
Handling case when memtest is disabled.
2011-03-09 18:22:27 +01:00
Daniel Baumann
2092d8026e
Adding check for 'none', not just 'disabled'.
2011-03-09 18:22:27 +01:00
Daniel Baumann
d8fa31c4b7
Restoring file permissions.
2011-03-09 18:22:27 +01:00
Daniel Baumann
e1ed7f2202
Adding local udeb_exclude file functionality.
2011-03-09 18:22:27 +01:00
Daniel Baumann
b88433933b
Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq <jp.lejacq@quoininc.com> ( Closes : #443099 ).
2011-03-09 18:22:27 +01:00
Daniel Baumann
a3a132a315
Passing live bootappends to debian-installer.
2011-03-09 18:22:26 +01:00
Daniel Baumann
74f768bd13
Making binary hooks executable in case the are not.
2011-03-09 18:22:26 +01:00
Daniel Baumann
0f34ae3eb8
Do not remove pkgsel anymore.
2011-03-09 18:22:26 +01:00
Daniel Baumann
b6a1dd22a8
Fixed wrong sed call.
2011-03-09 18:22:26 +01:00
Daniel Baumann
9a03b16688
Do not create symlinks on usb-hdd images.
2011-03-09 18:22:26 +01:00
Daniel Baumann
8a99616e89
Adding LH_BOOTAPPEND_INSTALL.
2011-03-09 18:22:26 +01:00
Daniel Baumann
54ff9fc7b2
Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE.
2011-03-09 18:22:26 +01:00
Daniel Baumann
d68b95dfb3
Making local udebs/local debs architecture aware.
2011-03-09 18:22:26 +01:00
Daniel Baumann
319180ac6c
Removing both required local and d-i udebs when using live-installer.
2011-03-09 18:22:26 +01:00
Daniel Baumann
1f7eb9e7d4
Added forgotten path to bootstrap-base removal.
2011-03-09 18:22:26 +01:00
Daniel Baumann
54fe10c035
Simplifying debian-installer download.
2011-03-09 18:22:26 +01:00
Daniel Baumann
4bc50b69ce
Adding support for live-installer.
2011-03-09 18:22:26 +01:00
Daniel Baumann
63d4329269
Supporting localized syslinux templates based on LH_LANGUAGE.
2011-03-09 18:22:26 +01:00
Daniel Baumann
b5d00b55d2
Adding forgotten cp call.
2011-03-09 18:22:26 +01:00
Daniel Baumann
608ddd4138
Simplyfing LH_BASE calls.
2011-03-09 18:22:26 +01:00
Daniel Baumann
5dd9063b48
Using udeb_include files from debian-cd.
2011-03-09 18:22:26 +01:00
Daniel Baumann
10f7ee3fbe
Using Debian terminology for images of unreleased suites.
2011-03-09 18:22:26 +01:00
Daniel Baumann
9ca38ca4ef
Setting debian-installer default flavour to netinst.
2011-03-09 18:22:26 +01:00
Daniel Baumann
d4a0e1ca83
Adding forgotten handling of default case.
2011-03-09 18:22:26 +01:00
Daniel Baumann
63631975b7
Adding live-helper 1.0~a27-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
ba2322bb2b
Adding live-helper 1.0~a26-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
8c3178682b
Adding live-helper 1.0~a25-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
9eac19deb8
Adding live-helper 1.0~a24-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
28dac4f438
Adding live-helper 1.0~a23-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
0d0de885e3
Adding live-helper 1.0~a22-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
c68c0a2708
Adding live-helper 1.0~a21-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
f314791fa2
Adding live-helper 1.0~a20-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
c79ab34a7c
Adding live-helper 1.0~a19-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
0d5ff4ca75
Adding live-helper 1.0~a18-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
cd5110f6b8
Adding live-helper 1.0~a17-1.
2011-03-09 18:22:25 +01:00
Daniel Baumann
fdef63e60c
Adding live-helper 1.0~a16-1.
2011-03-09 18:22:25 +01:00
Daniel Baumann
504c05c3a6
Adding live-helper 1.0~a15-1.
2011-03-09 18:19:41 +01:00
Daniel Baumann
37a5c53ddd
Adding live-helper 1.0~a14-1.
2011-03-09 18:18:30 +01:00
Daniel Baumann
85c342c299
Adding live-helper 1.0~a13-1.
2011-03-09 18:18:30 +01:00
Daniel Baumann
d1ee66e44c
Adding live-helper 1.0~a12-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
86726af9f5
Adding live-helper 1.0~a11-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
97c3a13dcc
Adding live-helper 1.0~a10-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
7c68e6ebca
Adding live-helper 1.0~a9-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
bd1a5ddc82
Adding live-helper 1.0~a8-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
8a4a50fdb6
Adding live-helper 1.0~a7-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
4739146fc6
Adding live-helper 1.0~a6-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
1863ed8874
Adding live-helper 1.0~a5-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
da353a5231
Adding live-helper 1.0~a4-1.
2011-03-09 18:18:29 +01:00
Daniel Baumann
799d4bfb31
Adding live-helper 1.0~a3-1.
2011-03-09 18:18:28 +01:00
Daniel Baumann
677415f6d7
Adding live-helper 1.0~a2-1.
2011-03-09 18:18:28 +01:00
Daniel Baumann
811ff0532f
Adding live-helper 1.0~a1-3.
2011-03-09 18:18:28 +01:00
Daniel Baumann
49524055a1
Adding live-helper 1.0~a1-2.
2011-03-09 18:18:27 +01:00
Daniel Baumann
fe6eb1c593
Adding live-helper 1.0~a1-1.
2011-03-09 18:14:51 +01:00
Daniel Baumann
470cf1764b
Adding live-package 0.99.26-1.
2007-09-23 10:04:42 +02:00
Daniel Baumann
fdfcd0ff29
Adding live-package 0.99.25-1.
2007-09-23 10:04:41 +02:00
Daniel Baumann
9be72d4e69
Adding live-package 0.99.24-1.
2007-09-23 10:04:41 +02:00
Daniel Baumann
cee1de85c8
Adding live-package 0.99.23-1.
2007-09-23 10:04:41 +02:00
Daniel Baumann
6f5e2da03e
Adding live-package 0.99.22-1.
2007-09-23 10:04:40 +02:00