Commit Graph

958 Commits

Author SHA1 Message Date
Daniel Baumann ef8a1b4ca9 Improving version output of lh_config --dump. 2011-03-09 19:03:43 +01:00
Daniel Baumann d33dce984d Using dd rather than cat to write mbr.bin to usb-hdd images; dd is more robust in case mbr.bin is corrupted. 2011-03-09 19:03:43 +01:00
Daniel Baumann a0dc719487 Updating Debian Forensics packages in rescue list. 2011-03-09 19:03:43 +01:00
Daniel Baumann 6f9a33bf9f Merging lh_dumpconfig into lh_config as --dump parameter. 2011-03-09 19:03:43 +01:00
Daniel Baumann 9af11084af Adjusting code style of lh_dumpconfig. 2011-03-09 19:03:43 +01:00
Daniel Baumann d0ba615d07 Correcting intendation in conffile.sh. 2011-03-09 19:03:43 +01:00
Chris Lamb 660bd98473 Add lh_dumpconfig helper to print suitable output for pastebins and other remote debugging. 2011-03-09 19:03:43 +01:00
Chris Lamb 95b6b96d2c Add utility to dump all conffiles to stdout. 2011-03-09 19:03:43 +01:00
Chris Lamb 568f905c51 Add utility to dump specified file to stdout. 2011-03-09 19:03:43 +01:00
Chris Lamb f1d230a6b5 Refactor utility to locate conffiles. 2011-03-09 19:03:43 +01:00
Marco Amadori 4dc5ffe7f3 Ensure lh_binary_debian-installer includes local debs (Closes: #502877)
* fixed some path references to the "config" directory.
2011-03-09 19:03:43 +01:00
Daniel Baumann 871190e2c7 Excluding ipppd from rescue list due to #502693. 2011-03-09 19:03:43 +01:00
Chris Lamb cf53392616 Setup cleanup hook in the high-level helpers. 2011-03-09 19:03:43 +01:00
Chris Lamb f2d0d81ad0 Print message when Exit is called. 2011-03-09 19:03:43 +01:00
Chris Lamb 4c485f1853 Add utility function to call 'Exit' when script exits. 2011-03-09 19:03:43 +01:00
Daniel Baumann 4f9797c893 Adding unmount calls for pseudo-filesystems in Exit();. 2011-03-09 19:03:43 +01:00
Daniel Baumann ce7c2e2fe1 Removing LIVE_* grep from Exit(); as we have switched to LH_* variables long time ago. 2011-03-09 19:03:43 +01:00
Daniel Baumann 601338b91d Updating version number in common.sh. 2011-03-09 19:03:43 +01:00
Daniel Baumann 6204dc0e6d Enforcing lh_config to be run before lh_build, see also http://lists.debian.org/debian-live/2008/10/msg00102.html (Closes: #500740). 2011-03-09 19:03:42 +01:00
Daniel Baumann 0cbbde2b96 Using simplified Require_stagefile(); calls by passing multiple arguments. 2011-03-09 19:03:42 +01:00
Chris Lamb d92d4e2201 For consistency, don't preserve uid/gid for files in binary_local-includes. 2011-03-09 19:03:42 +01:00
Chris Lamb d9810a3644 Ensure all files installed via chroot_local-includes are owned by root:root. Thanks to Julien Cristau <jcristau@debian.org>.
This may cause problems for users who are relying on the target uid and gid
of the files in the build system's config/chroot_local-includes being the
same on the live image.
2011-03-09 19:03:42 +01:00
Daniel Baumann 2722cbb709 Making sure /etc/sudoers has right owner/permissions. 2011-03-09 19:03:42 +01:00
Daniel Baumann 61ffd3e944 Manually setting owner of /etc/skel to root. 2011-03-09 19:03:42 +01:00
Daniel Baumann c977712868 Making removal stage of lh_chroot_selinuxfs dependent on the existence of /selinux, otherwise that directory would be always created in the chroot. 2011-03-09 19:03:42 +01:00
Daniel Baumann 7ce22c258d Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support wildcards in rootfs exclude lists (Closes: #500677). 2011-03-09 19:03:42 +01:00
Daniel Baumann 1476f3a1c3 Adding lh_chroot_selinuxfs helper to support building live images on a selinux enabled host (Closes: #501652). 2011-03-09 19:03:42 +01:00
Marco Amadori 63dc9da964 lh_config --help and manpage 'copy' mention. 2011-03-09 19:03:42 +01:00
Daniel Baumann 292330726f Adding virtualbox-ose hook. 2011-03-09 19:03:42 +01:00
Daniel Baumann 78ea286335 Also accept x86_64 as alias for amd64 when checking for cross architecture support. 2011-03-09 19:03:42 +01:00
Daniel Baumann 817f3f8cf6 Improving indices workaround by checking LH_BOOTSTRAP_FLAVOUR rather than LH_PACKAGES_LISTS in order to handle chicken-egg problem for installing apt-utils when having bootstrapped a minimal chroot. 2011-03-09 19:03:42 +01:00
Daniel Baumann 4718372f13 Automatically correct LH_SETUP value if the configured losetup cannot be found. 2011-03-09 19:03:42 +01:00
Chris Lamb 15a8c9ab3d Include source for sparc-utils on that architecture. 2011-03-09 19:03:42 +01:00
Chris Lamb 13804c6102 Correcting sparc architecture detection to ensure correct source package contents. 2011-03-09 19:03:42 +01:00
Chris Lamb bb97c59eb7 Install appropriate tasksel program. 2011-03-09 19:03:42 +01:00
Chris Lamb 7bc94cef99 Don't build up source package list inside chroot. 2011-03-09 19:03:42 +01:00
Chris Lamb ab1e4ce5a8 Create a "missing-source.txt" file containing missing source packages instead of exiting. 2011-03-09 19:03:42 +01:00
Daniel Baumann 2167cde620 Fixing bcm43xx-fwcutter entry in rescue list, only available in etch. 2011-03-09 19:03:42 +01:00
Daniel Baumann 5f3a708540 Correcting wrong spelling of sl-modem-daemon in rescue list. 2011-03-09 19:03:42 +01:00
Maximilian Gass 0c8232307d Only install memtest in lh_binary_syslinux if enabled. 2011-03-09 19:03:42 +01:00
Chris Lamb a5368e634d Syncing options in lh_config(1) with lh_config, etc. Thanks to Luca Bruno. 2011-03-09 19:03:42 +01:00
Chris Lamb 44fefdf1d3 Additionally save the 'scripts/' subdirectory if it contains files when building source images. 2011-03-09 19:03:42 +01:00
Chris Lamb 8d9860284d Fix timing issue in create of source tarballs. Patch by Sebastian H <shbugreport@online.de>. (Closes: #499793) 2011-03-09 19:03:42 +01:00
Chris Lamb 242155f0b7 Ensure local packages lists are sourced over global ones (Closes: #499656) 2011-03-09 19:03:42 +01:00
Daniel Baumann ed6d9e8c8c Adding explicit --yes to apt-get call when installing keyring packages (previously, this was inherited through Apt(); wrapper) (Closes: #499625). 2011-03-09 19:03:42 +01:00
Chris Lamb 4210fbf03c Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert <ant+bdo@hsg-kl.de>. (Closes: #498385) 2011-03-09 19:03:42 +01:00
Daniel Baumann 4f69f55921 Releasing debian version 1.0.1-1. 2011-03-09 19:03:42 +01:00
Marco Amadori dfc00ce30c Splitted "longoptions" in various lines. 2011-03-09 19:03:42 +01:00
Daniel Baumann 4b7ae17086 Removing sbm, not needed anymore. 2011-03-09 19:03:42 +01:00
Daniel Baumann f423bca5d8 Adding scripts directory to to include custom helper scripts. 2011-03-09 19:03:42 +01:00