Bug#499793: live-helper: fails to build source archive; bug in lh_source_debian-live
Package: live-helper
Version: 1.0.1+20080919.141605
Severity: normal
There's a bug in lh_source_debian-live. Currently it is not
possible to build a source archive in tar format (see [1]).
tar and gzip have to deal with the same directory (lines 65/66). But
$(date +%Y%m%d.%s) produces a different output on both lines (because
the time (esp. milliseconds) proceeds during both commands.
patch proposal:
....
# Create tarball
cd source
if gzip --help | grep -qs '\-\-rsyncable'
then
LH_DEBLIVE_SOURCE_ARCHIVE=debian-live-config_$(date +%Y%m%d.%s).tar
tar cf ${LH_DEBLIVE_SOURCE_ARCHIVE} debian-live
gzip --rsyncable --best ${LH_DEBLIVE_SOURCE_ARCHIVE}
else
tar cfz debian-live-config_$(date +%Y%m%d.%s).tar.gz debian-live
fi
....
Maybe someone can fix this in git.
Regards,
Sebastian H.
[1]: http://lists.debian.org/debian-live/2008/09/msg00179.html
-- Package-specific info:
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages live-helper depends on:
ii debootstrap 1.0.10 Bootstrap a basic Debian system
ii gettext-base 0.17-3 GNU Internationalization utilities
live-helper recommends no packages.
Versions of packages live-helper suggests:
pn dosfstools <none> (no description available)
ii fakeroot 1.9.5 Gives a fake root environment
ii genisoimage 9:1.1.8-1+b1 Creates ISO-9660 CD-ROM filesystem
ii grub 0.97-47 GRand Unified Bootloader (Legacy v
pn memtest86+ | memtest86 <none> (no description available)
ii mtools 3.9.11-1 Tools for manipulating MSDOS files
pn parted <none> (no description available)
pn squashfs-tools | genext2fs <none> (no description available)
ii sudo 1.6.9p17-1 Provide limited super user privile
ii syslinux 2:3.71+dfsg-1 Kernel loader which uses a FAT, ex
ii uuid-runtime 1.41.0-3 universally unique id library
pn win32-loader <none> (no description available)
-- no debconf information
Reply to: