Commit Graph

883 Commits

Author SHA1 Message Date
Daniel Baumann 2e9433d58d Removing shell specific extensions and call of scripts/config and scripts/clean, thanks to Tzafrir Cohen <tzafrir.cohen@xorcom.com>. 2011-03-09 19:09:41 +01:00
Daniel Baumann 0c9e2bf57c Adding dummy live-helper command to make any confused user aware that live-helper is a set of commands starting with the lh_ prefix. 2011-03-09 19:09:40 +01:00
Daniel Baumann 730b248507 Replacing previous attempt of using config.cfg, now using scripts/config.sh and scripts/clean.sh instead. 2011-03-09 19:09:40 +01:00
Daniel Baumann 992a145afd Automatically displaying manpage when calling a helper with -h or --help. 2011-03-09 19:09:40 +01:00
Daniel Baumann e72f1790d4 Also covering compressed manpages in uninstall target of Makefile. 2011-03-09 19:09:40 +01:00
Daniel Baumann baf8a25fab Adding simple manpages for every other live-helper command. 2011-03-09 19:09:40 +01:00
Daniel Baumann 32e1c44c34 Running po4a for manpages. 2011-03-09 19:09:40 +01:00
Daniel Baumann 98acdbe072 Rewriting all existent manpages. 2011-03-09 19:09:40 +01:00
Daniel Baumann dd74cb6b47 Correcting lh_configs config.cfg handling, so that it's at least working when not using config.cfg. Will have to be fixed properly later. 2011-03-09 19:09:40 +01:00
Daniel Baumann c3dad3f18f Removing vim-tiny from minimal packages list, it's not a requirement for live-initramfs :) 2011-03-09 19:09:40 +01:00
Daniel Baumann b9231af690 Updating forensic packages in rescue list. 2011-03-09 19:09:40 +01:00
Daniel Baumann 03fe4c53de Marking aufs and unionfs in devel-live packages list as lenny and sid, resp. etch-only. 2011-03-09 19:09:40 +01:00
Daniel Baumann 93a73a9749 Including functions.sh, forgot to add it before. 2011-03-09 19:09:40 +01:00
Daniel Baumann 989f26d87b Updating year in copyright notices for 2009. 2011-03-09 19:09:40 +01:00
Daniel Baumann 9ce762a502 Using common function file to source shell includes. 2011-03-09 19:09:40 +01:00
Daniel Baumann 58d6b235f9 Fixing and unifying handling of hooks. 2011-03-09 19:09:40 +01:00
Daniel Baumann 67a0daf671 Removing enforced installation of mawk in the chroot in lh_binary_debian-installer, mawk is priority required and therefore always there anyway. Additionally, this would unnecessarily blow up images that have gawk (or any other awk implementation) installed. 2011-03-09 19:09:40 +01:00
Daniel Baumann 951c24dc08 Adding temporary workaround to 'failed to install grub' error when using live-installer. 2011-03-09 19:09:40 +01:00
Daniel Baumann a0d12dbf00 Actually doing apt-ftparchive operations in chroot as it was originally intended to be, otherwise apt-utils would be need to be a depends of live-helper. 2011-03-09 19:09:40 +01:00
Daniel Baumann 1a4ff3e443 Making sure that /tmp has the right permissions after installing sun-java*-doc through sun-java example hooks. Apparently, sun-java*-doc packages are tampering with it. 2011-03-09 19:09:40 +01:00
Cyril Brulebois 6193ef2285 Actually fix initrd-related breakage in chroot hacks.
To actually handle the case where there are no initrds, one has to tell
xargs not to run the chmod command if there are no parameters.
2011-03-09 19:09:40 +01:00
Cyril Brulebois 4652d65411 Make hacks not break if there are no initrds.
Even if it's likely that initrds will be present at this stage, it might
be that they went away because of local hooks, and hacks shouldn't break
just because of missing initrds.
2011-03-09 19:09:40 +01:00
Cyril Brulebois f5cb9b046b Fix --apt-pdiffs disabled being ignored. 2011-03-09 19:09:40 +01:00
Cyril Brulebois b12e0fd6ce Document LH_BOOTSTRAP_FLAVOUR as empty by default. 2011-03-09 19:09:40 +01:00
Daniel Baumann 5d9525a3b0 Adding missing --dump to help output of lh_config. 2011-03-09 19:09:40 +01:00
Daniel Baumann cb2397a601 Updating mode help message in lh_config. 2011-03-09 19:09:40 +01:00
Cyril Brulebois 8b42acc6f9 Get rid of MIRROR_BOOTSTRAP_SECURITY in documentation.
Both --mirror-bootstrap-security and MIRROR_BOOTSTRAP_SECURITY are long
gone, see: c6fa0ca042.
2011-03-09 19:09:40 +01:00
Daniel Baumann 8273a3f812 Correcting typo in previous aptitude->tasksel commit. 2011-03-09 19:09:40 +01:00
Daniel Baumann 84e4a199da Setting default taskel program from aptitude to tasksel. 2011-03-09 19:09:40 +01:00
Daniel Baumann 451d36016c Adding support for using cdebootstra-static as bootstrap program. 2011-03-09 19:09:40 +01:00
Daniel Baumann e51e734b00 If config.cfg is executable, we execute it and accept its output as extra arguments. This makes dynamic configuration possible. 2011-03-09 19:09:40 +01:00
Antonio Terceiro 304e0fce7f Fixing message for i18n compatibiliy 2011-03-09 19:09:40 +01:00
Daniel Baumann 67518ecdab Parsing lh_config flags from config.cfg, if available. 2011-03-09 19:09:40 +01:00
Daniel Baumann 03cfa3a064 Unsupported bootloader/image type combinations are errors, not warning. 2011-03-09 19:09:40 +01:00
Antonio Terceiro 473f5623b6 Must be printf instead of echo! 2011-03-09 19:09:39 +01:00
Antonio Terceiro 8a477ac3a9 Translating the description of the helpers 2011-03-09 19:09:39 +01:00
Antonio Terceiro 6f5445b5d2 Removing incorrect extra argument 2011-03-09 19:09:39 +01:00
Antonio Terceiro d974407ee5 Don't ask for translators to translate a bunch of asterisks 2011-03-09 19:09:39 +01:00
Antonio Terceiro 119ee2b0bc Adding Echo function as translatable 2011-03-09 19:09:39 +01:00
Antonio Terceiro dfb048b1ba Not considering some strings as translatable.
It does not make sense to translate those strings.
2011-03-09 19:09:39 +01:00
Antonio Terceiro 6891cbe098 Adding missing newlines in Echo_error 2011-03-09 19:09:39 +01:00
Antonio Terceiro 2a3056e8a9 Don't break messages into parts; this make it impossible for translators 2011-03-09 19:09:39 +01:00
Daniel Baumann b9f5121f53 Adding check for currently not supported bootloader/image-type combinations. 2011-03-09 19:09:39 +01:00
Daniel Baumann bebfa492f7 Adding short comments to the different cases in Check_defaults();. 2011-03-09 19:09:39 +01:00
Daniel Baumann 254eb5cc07 Releasing version 1.0.2-4. 2011-03-09 19:09:39 +01:00
Daniel Baumann 4185bfed45 Moving removal of apt packages lists from minimal and stripped hook to lh_chroot_sources, thanks to Ben Armstrong <synrg@debian.org>. 2011-03-09 19:09:39 +01:00
Daniel Baumann 425d51e38b Prefering local hosts over truncated one. 2011-03-09 19:09:39 +01:00
Daniel Baumann a7334c6c16 Prefering local resolv.conf over truncated one. 2011-03-09 19:09:39 +01:00
Daniel Baumann b4d2797d26 Releasing version 1.0.2-3. 2011-03-09 19:09:39 +01:00
Daniel Baumann 4f00cd3e82 Truncating resolv.conf created during bootstrap stage, otherwise we'll end up with a local resolv.conf in the final image. Thanks to Ben Armstrong <synrg@debian.org>. 2011-03-09 19:09:39 +01:00