[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500677: marked as done (live-helper: update lh_binary_rootfs to better support wildcards in file exclusion)

Your message dated Tue, 11 Nov 2008 13:02:03 +0000
with message-id <E1Kzssd-0003xk-Sj@ries.debian.org>
and subject line Bug#500677: fixed in live-helper 1.0.1-2
has caused the Debian Bug report #500677,
regarding live-helper: update lh_binary_rootfs to better support wildcards in file exclusion
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

500677: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500677
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-helper
Version: 1.0.1-1
Severity: wishlist
Tags: patch

I'm interested in file exclusion mecanism when building Debian Live
filesystem from chroot. I've looked at 1.0.0-2 live-helper version about
using "-wildcards" to mksquashfs to achieve this, but it is used only
when LH_CHROOT_BUILD=disabled. I use the default value of this
parameter, "enabled" (I don't understand what it stands for), and I see
in config :

# ${LH_CHROOT_BUILD: control if we build binary images chrooted
# (Default: enabled)
# DO NEVER, *NEVER*, *N*E*V*E*R* SET THIS OPTION to disabled.

So I didn't change it.

Instead, I've modified a bit the other mecanism set to exclude file in
Debian Live filesystem generation to also support wildcards, so that it
works wichever LH_CHROOT_BUILD's value.

-- Package-specific info:

-- System Information:
Debian Release: 4.0
  APT prefers etch
  APT policy: (990, 'etch'), (990, 'stable'), (800, 'unstable'), (800, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-svi
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages live-helper depends on:
ii  cdebootstrap                0.3.15       Bootstrap a Debian system
ii  debootstrap        Bootstrap a basic Debian system
ii  gettext-base                0.16.1-1     GNU Internationalization utilities

live-helper recommends no packages.

-- no debconf information
--- /root/lh_binary_rootfs.normal	2008-09-26 10:50:37.000000000 +0200
+++ /usr/bin/lh_binary_rootfs	2008-09-26 15:09:53.000000000 +0200
@@ -94,7 +94,7 @@
 	if [ -f config/binary_rootfs/excludes ]
 		cp config/binary_rootfs/excludes chroot/chroot/excludes
-		chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes rm -rf
+		chroot chroot/chroot /usr/bin/env -i xargs --verbose --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
 		rm -f chroot/chroot/excludes

--- End Message ---
--- Begin Message ---
Source: live-helper
Source-Version: 1.0.1-2

We believe that the bug you reported is fixed in the latest version of
live-helper, which is due to be installed in the Debian FTP archive:

  to pool/main/l/live-helper/live-helper_1.0.1-2.diff.gz
  to pool/main/l/live-helper/live-helper_1.0.1-2.dsc
  to pool/main/l/live-helper/live-helper_1.0.1-2_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 500677@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel@debian.org> (supplier of updated live-helper package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Tue, 11 Nov 2008 13:00:00 +0100
Source: live-helper
Binary: live-helper
Architecture: source all
Version: 1.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Live <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
 live-helper - Debian Live build scripts
Closes: 498385 499625 499656 499793 500677 500740 501652 502877
 live-helper (1.0.1-2) unstable; urgency=medium
   [ An-Cheng Huang ]
   * ignore harmless warnings from parted.
   [ Chris Lamb ]
   * Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert
     <ant+bdo@hsg-kl.de>. (Closes: #498385)
   * Ensure local packages lists are sourced over global ones (Closes: #499656)
   * Fix timing issue in create of source tarballs. Patch by Sebastian H
     <shbugreport@online.de>. (Closes: #499793)
   * Additionally save the 'scripts/' subdirectory if it contains files when
     building source images.
   * Syncing options in lh_config(1) with lh_config, etc. Thanks to Luca Bruno.
   * Create a "missing-source.txt" file containing missing source packages
     instead of exiting.
   * Don't build up source package list inside chroot.
   * Install appropriate tasksel program.
   * Correcting sparc architecture detection to ensure correct source package
   * Include source for sparc-utils on that architecture.
   * Ensure all files installed via chroot_local-includes are owned by root:root.
     Thanks to Julien Cristau <jcristau@debian.org>.
   * For consistency, don't preserve uid/gid for files in binary_local-includes.
   * Add utility function to call 'Exit' when script exits.
   * Print message when Exit is called.
   * Setup cleanup hook in the high-level helpers.
   * Refactor utility to locate conffiles.
   * Add utility to dump specified file to stdout.
   * Add utility to dump all conffiles to stdout.
   * Add lh_dumpconfig helper to print suitable output for pastebins and other
     remote debugging.
   [ Daniel Baumann ]
   * Adding explicit --yes to apt-get call when installing keyring packages
     (previously, this was inherited through Apt(); wrapper) (Closes: #499625).
   * Correcting wrong spelling of sl-modem-daemon in rescue list.
   * Fixing bcm43xx-fwcutter entry in rescue list, only available in etch.
   * Automatically correct LH_SETUP value if the configured losetup cannot be
   * 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.
   * Also accept x86_64 as alias for amd64 when checking for cross architecture
   * Adding virtualbox-ose hook.
   * Adding lh_chroot_selinuxfs helper to support building live images on a
     selinux enabled host (Closes: #501652).
   * Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support
     wildcards in rootfs exclude lists (Closes: #500677).
   * Making removal stage of lh_chroot_selinuxfs dependent on the existence of
     /selinux, otherwise that directory would be always created in the chroot.
   * Manually setting owner of /etc/skel to root.
   * Making sure /etc/sudoers has right owner/permissions.
   * Using simplified Require_stagefile(); calls by passing multiple arguments.
   * Enforcing lh_config to be run before lh_build, see also
     http://lists.debian.org/debian-live/2008/10/msg00102.html (Closes: #500740).
   * Updating version number in common.sh.
   * Removing LIVE_* grep from Exit(); as we have switched to LH_* variables long
     time ago.
   * Adding unmount calls for pseudo-filesystems in Exit();.
   * Excluding ipppd from rescue list due to #502693.
   * Correcting intendation in conffile.sh.
   * Adjusting code style of lh_dumpconfig.
   * Merging lh_dumpconfig into lh_config as --dump parameter.
   * Updating Debian Forensics packages in rescue list.
   * Using dd rather than cat to write mbr.bin to usb-hdd images; dd is more
     robust in case mbr.bin is corrupted.
   * Improving version output of lh_config --dump.
   * Removing double cryptsetup entry in rescue list.
   * Adding lsof in rescue list.
   * Updating releases.sh to match internal namespace of included functions.
   * Marking grub and lilo in rescue list as amd64 and i386 only.
   * Grouping bootloaders in rescue list.
   * Adding hppa bootloader to rescue list.
   * Renaming internal Read_conffile(); to Read_conffiles(); for consistency
   * Generalizing internal Chroot(); by requiring its first argument to be the
     chroot directory.
   * Don't use set -e in sourced functions, this is the job of the actual
     executed script.
   * Check for availability of gettext at runtime, and only use it if existing.
   * Updating color functions.
   * Adding armel to architecture specific checks.
   * Slightly reordering genisoimage option assembling.
   * Slightely improving wording of the 'bootloader not yet supported' when
     creating images.
   * Updating signals in exit and lockfile traps.
   * Syncing internal lockfile functions.
   * Syncing internal l10n functions.
   * Generalizing internal LH_L10N variable.
   * Generalizing internal LH_FORCE variable.
   * Generalizing internal LH_DEBUG variable.
   * Generalizing internal LH_QUIET variable.
   * Generalizing internal LH_VERBOSE variable.
   * Generalizing internal LH_BREAKPOINTS variable.
   * Implementing colorful output (currently disabled by default, though).
   * Cleaning up code of 'lh' short helper.
   * Correcting manpage section reference in a comment in lh.
   * Removing double warning symbol.
   * Also checking for gettext catalogs to be installed before enabling l10n.
   * Using package variable to refere internally to live-helper.
   * Generalizing internal LH_CONFFILE variable.
   * Replacing obsolete dh_clean -k with dh_prep.
   [ Marco Amadori ]
   * lh_config --help and manpage 'copy' mention.
   * Ensure lh_binary_debian-installer includes local debs (Closes: #502877)
   [ Maximilian Gass ]
   * Only install memtest in lh_binary_syslinux if enabled.
   [ Kai Hendry ]
   * Removing etch-only madwifi-doc package from madwifi example hook.
 503539d95abd9732802ac3590bbb5e16f536cdc9 1239 live-helper_1.0.1-2.dsc
 007e7ba6226bf6e4c0c5272ed243b30e0317d4b9 37922 live-helper_1.0.1-2.diff.gz
 76307a55ffcf95be88f53eaba267f02619ac6e5b 1857734 live-helper_1.0.1-2_all.deb
 09b455210ec0b4c539ac2dc9c9a5446badc7dc0f2da7bfb1cd31303d1207ba7e 1239 live-helper_1.0.1-2.dsc
 bbcddc8f632e649016f48f239160b336dfe680d1d180039e52946b739334aadb 37922 live-helper_1.0.1-2.diff.gz
 4be79b70b49db0da0953271273619b046ed21524a5d981e8d87d1300ea7b23c9 1857734 live-helper_1.0.1-2_all.deb
 e39d82ca8ba3fa6037eb1b84d7e5a933 1239 misc optional live-helper_1.0.1-2.dsc
 124e698c02f4036b2bbcf31b97412a69 37922 misc optional live-helper_1.0.1-2.diff.gz
 01e07f1b7f0c201b3fd21764f125900c 1857734 misc optional live-helper_1.0.1-2_all.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: