Daniel Baumann
f319841cc8
Replacing remaining echo calls with proper echo functions.
2011-03-09 19:03:39 +01:00
Daniel Baumann
7e5d71ed64
Don't expand version in default configuration, but rather use it dynamically.
2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz
f34c8d45f5
Supporting remote preseeding files.
2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz
aa6204c8ae
Also allowing multiple preseeding files for netboot.
2011-03-09 19:03:39 +01:00
Daniel Baumann
384a050c79
Adding guessing of the preseeding filename, and way to manually overwrite it (or select it in case of multiple available preseeding files).
2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz
6205a24620
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
2011-03-09 19:03:38 +01:00
Tiago Bortoletto Vaz
9be35287b8
Adding the basic infrastructure to provide l10n support for live-helper.
2011-03-09 19:03:38 +01:00
Daniel Baumann
ba25e433b5
Merging debian-installer-daily option into debian-installer-distribution.
2011-03-09 19:03:38 +01:00
Tiago Bortoletto Vaz
2acf049825
Suporting debian-installer distribution choice, which makes possible to build a image using a system-independent debian-installer suite. The config option for this is --debian-installer-distribution CODENAME.
2011-03-09 19:03:38 +01:00
Daniel Baumann
b973d05362
Bumping version number to 1.0.0.
2011-03-09 19:03:38 +01:00
Antonio Terceiro
195110261b
Sorting functions alphabetically.
2011-03-09 19:03:37 +01:00
Antonio Terceiro
7f1a4e4fc5
Replacing file checking with ls by function calls
...
Instead of repeatedly doing "ls ... > /dev/null 2>&1", just use a
function that does exactly that.
2011-03-09 19:03:37 +01:00
Chris Lamb
b07f1ccc01
Print a warning when package caching is disabled but d-i integration is enabled.
2011-03-09 19:03:37 +01:00
Daniel Baumann
24ec05d2e6
Updating debian release information.
2011-03-09 19:03:37 +01:00
Daniel Baumann
d5f142a24a
Releasing debian version 1.0~a48-1.
2011-03-09 19:03:37 +01:00
Chris Lamb
c184c0a74f
Perform in LH_BOOTAPPEND_INSTALL conditional expansion manually to avoid expansion bug/feature on repetitive calls to lh_config ( Closes : #488672 )
2011-03-09 19:03:36 +01:00
Chris Lamb
cfc182e161
Print a friendlier message if debootstrap or cdebootstrap cannot be found.
2011-03-09 19:03:36 +01:00
Chris Lamb
39310a3121
Migrate a In_list candidate to grep -E.
...
Perhaps we could .-include the In_list function?
2011-03-09 19:03:36 +01:00
Chris Lamb
b7ccfa63ca
Add In_list function to extract various bits of code that did (or should have done) the same job.
2011-03-09 19:03:35 +01:00
Chris Lamb
cc8092771e
Add support for usb-hdd on sparc (requires parted 1.8 from experimental).
2011-03-09 19:03:35 +01:00
Chris Lamb
d4f70af91b
Add support for the sparc architecture.
2011-03-09 19:03:35 +01:00
Chris Lamb
54a05a4691
Fix truncated Echo_breakage messages.
2011-03-09 19:03:35 +01:00
Chris Lamb
600d183d29
Add Echo_breakage for messages preceeding often-breaking stages and use before {c,}debootstrap calls
2011-03-09 19:03:35 +01:00
Daniel Baumann
18fbc3dca7
Releasing live-helper 1.0~a47-1.
2011-03-09 19:03:34 +01:00
Chris Lamb
a5134fe728
Allow needle and haystack parts of packagelist #if constructs to be lists
...
This allows us to write:
#if SECTIONS contrib non-free
contrib-package
non-free-package
#endif
and
#if DISTRIBUTION lenny sid
new-package
#endif
2011-03-09 19:03:34 +01:00
Daniel Baumann
8b5bab3922
Releasing live-helper 1.0~a46-1.
2011-03-09 19:03:33 +01:00
Tiago Bortoletto Vaz
cd97e1bbb1
Support list of items for conditionals in package lists
...
This patch allows giving a list of items for the conditionals in package
lists. For example, it's possible to specify some packages for more than one
architecture in the same conditional block:
package01
#if ARCHITECTURE i386 amd64
package02
package03
#endif
package04
where package01 and package04 are available for all architectures, but
package02 and package03 are available only for i386 and amd64 architectures.
2011-03-09 19:03:33 +01:00
Chris Lamb
9ae7a00544
Support simple conditionals in package lists
...
This patch adds support for simple conditionals in package lists. For
example, to limit a package to i386 only:
foo
#if ARCHITECTURE i386
package-only-in-i386
#endif
bar
Any variable that beings in LH_ can be expanded:
#if MODE ubuntu
package-only-in-ubuntu
#endif
Nesting of conditionals is not supported. If the variable to be expanded
does not exist, the conditional is false.
2011-03-09 19:03:33 +01:00
Chris Lamb
c742448209
Use APT::Install-Recommends to disable installation of recommends for Etch
2011-03-09 19:03:33 +01:00
Daniel Baumann
9ad7466cf1
Adding powerpc64 to default kernel flavours (in addition to the normal 32 bit one).
2011-03-09 19:03:33 +01:00
Daniel Baumann
a6a95bd632
Releasing live-helper 1.0~a45-1.
2011-03-09 19:03:33 +01:00
Daniel Baumann
7be45011f7
Adjusting Save_cache(); to skip already cached .deb files and only copying new packages to it.
2011-03-09 19:03:32 +01:00
Chris Lamb
3cd834e69c
Rewrite Expand_packagelist to not be recursive
2011-03-09 19:03:32 +01:00
Daniel Baumann
f4724f60b5
Releasing live-helper 1.0~a44-1.
2011-03-09 19:03:32 +01:00
Chris Lamb
08a0bc7155
Don't install "Recommends:" when installing local tools
...
This patch disables the installation of "Recommends:" packages whilst
obtaining build utilities such as 'syslinux'.
It has three benefits:
* Doesn't waste time installing useless packages whilst building.
* Keeps the "binary chroot" clean - packages leak into the the live system
on a rebuild.
* Makes the behaviour of Install_Package more predictable and independent
of the chroot's APT configuration.
2011-03-09 19:03:32 +01:00
Daniel Baumann
999fa9df27
Consistenly using short options rather than long options in function files.
2011-03-09 19:03:32 +01:00
Daniel Baumann
7e5c3585b8
Improving .deb caching by using hardlinks (if possible).
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
d795c6c854
Releasing live-helper 1.0~a43-1.
2011-03-09 19:03:32 +01:00
Daniel Baumann
1d1e48b394
Fixing forgotten variable in conffile loop.
2011-03-09 19:03:32 +01:00
Daniel Baumann
0466a3bda4
Allowing multiple arguments for Read_conffile();.
2011-03-09 19:03:31 +01:00
Daniel Baumann
705a4178e7
Centraly evaluate LH_CONFIG for custom configuration file.
2011-03-09 19:03:31 +01:00
Daniel Baumann
716c2c8ab7
Removing temporary workaround of adding lzma-modules2.6 to linux packages, all fixed squashfs are now in sid and lenny.
2011-03-09 19:03:31 +01:00
Daniel Baumann
dbe6283b1b
Releasing live-helper 1.0~a42-1.
2011-03-09 19:03:31 +01:00
Daniel Baumann
98b7e55ecb
Also including lzma modules on lenny temporarily.
2011-03-09 19:03:31 +01:00
Daniel Baumann
d54990695f
Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile ( Closes : #472774 ).
2011-03-09 19:03:31 +01:00
Daniel Baumann
53433eca7d
Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures ( Closes : #472775 ).
2011-03-09 19:03:31 +01:00
Daniel Baumann
3f6c3cba86
Releasing live-helper 1.0~a41-1.
2011-03-09 19:03:31 +01:00
Chris Lamb
55472e6557
Allow LH_ENCRYPTION="disabled" to disable encryption
2011-03-09 19:03:29 +01:00
Daniel Baumann
fcbe998101
Switching default of LH_APT from aptitude to apt for >= lenny.
...
Apt in lenny also supports tracking of 'orphaned' packages. If aptitude is
installed, apt can't be removed, so by switching to apt making the default
images a tiny bit smaller. And, aptitude got mainly default because of the
sarge->etch update recommendation.
2011-03-09 19:01:53 +01:00
Daniel Baumann
b222519217
Including 686 kernel flavour on i386 too, but defaulting (still) to 486 for compatibility reasons.
2011-03-09 19:01:50 +01:00
Otavio Salvador
48a2346ab0
functions/losetup.sh: use SECTORS as variable name to reflect the real usage
2011-03-09 19:01:48 +01:00
Daniel Baumann
acf66f3c52
Bumping live-helper version.
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
9c9dfb24b8
Fixed accidental overwriting of LH_NET_TARBALL value in defaults.
2011-03-09 18:36:19 +01:00
Daniel Baumann
851dc3ca93
Adding lzma modules on sid.
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
3421a5b614
Fixing quoting with chroot wrapper calls.
2011-03-09 18:36:08 +01:00
Daniel Baumann
004d019239
Fixing aptitude typo.
2011-03-09 18:36:08 +01:00
Daniel Baumann
63a5d0c7a4
Improving etch compat warnings.
2011-03-09 18:36:07 +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
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
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
86da6b8fa1
Using ftp.us.debian.org rather than ftp.debian.org, see http://lists.debian.org/debian-devel-announce/2007/12/msg00002.html .
2011-03-09 18:35:50 +01:00
Chris Lamb
33e33cec7d
Use C-style 'include' in lists (backwards compatible).
2011-03-09 18:35:47 +01:00
Daniel Baumann
342d2870eb
Consistently using the pipe as seperator in sed commands now.
2011-03-09 18:35:39 +01:00
Daniel Baumann
969ac8f07f
Switching to GPL3+.
2011-03-09 18:22:29 +01:00
Daniel Baumann
f343828646
Checking LH_APT when using mini and minimal package lists.
2011-03-09 18:22:29 +01:00
Daniel Baumann
e6517de50a
Don't fail silently when extern executables are configured but not present.
2011-03-09 18:22:29 +01:00
Daniel Baumann
bef3eea04e
Preparing live-helper 1.0~a38-1.
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
d27d316160
Fixing typing error.
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
a2c2b6841f
Extending conffiles to allow config/., config/., as well as config/, config/. and config/..
2011-03-09 18:22:29 +01:00
Daniel Baumann
8d46a4770d
Preparing live-helper 1.0~a37-1.
2011-03-09 18:22:29 +01:00
Daniel Baumann
9ce7afd0b3
Removing the unmounting of pseudo filesystems from the trap call, needs some other changes before it can safely be done.
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
7bbb741e1c
Extending --force to also cover lockfiles to avoid recursive loop within trap.
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
7059380cd8
Fixing trap call, thanks to An-Cheng Huang <ancheng@vyatta.com>.
2011-03-09 18:22:29 +01:00
Daniel Baumann
041a054462
Improving trap call to unmount pseudo filesystem when failing as suggested by Justin Pryzby <jpryzby@quoininc.com>.
2011-03-09 18:22:29 +01:00
Daniel Baumann
f2e96d49eb
Fixing spelling mistake, thanks to Kel Modderman <kel@otaku42.de>.
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
65fc4e1645
Fixing wrong kernel flavour warning message on m68k.
2011-03-09 18:22:28 +01:00
Daniel Baumann
7c8551a397
Correcting some language shortcommings.
2011-03-09 18:22:28 +01:00
Daniel Baumann
74a5575d5a
Fixing trap call as suggested by Justin Pryzby <jpryzby@quoininc.com> ( Closes : #431160 , #449087 ).
2011-03-09 18:22:28 +01:00
Daniel Baumann
a3b536bebd
Preparing live-helper 1.0~a36-1.
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
3f92839a53
Preparing live-helper 1.0~a35-1.
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
a6d5edd05b
Preparing live-helper 1.0~a34-1.
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
dfac8e00f4
Preparing live-helper 1.0~a33-1.
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
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
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
8905bb8949
Preparing live-helper 1.0~a32-1.
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
Daniel Baumann
41b9bdebb5
Preparing live-helper 1.0~a31-1.
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
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
c97af171dd
Preparing live-helper 1.0~a30-1.
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
a63876a8d7
Preparing live-helper 1.0~a29-1.
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
d225892ace
Setting default distribution to lenny.
2011-03-09 18:22:26 +01:00
Daniel Baumann
5883fe6864
Setting default language to 'en'.
2011-03-09 18:22:26 +01:00
Daniel Baumann
72b9b99b8a
Downgrading Ubuntu minimal requirements from gutsy to feisty.
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
5efc74eac5
Preparing live-helper 1.0~a28-1.
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
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