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

Bug#626446: marked as done (initramfs-tools: [Patch] Option to enable xz compression for initrd)



Your message dated Fri, 13 May 2011 12:32:35 +0000
with message-id <E1QKrXn-0000Uu-Nr@franck.debian.org>
and subject line Bug#626446: fixed in initramfs-tools 0.99
has caused the Debian Bug report #626446,
regarding initramfs-tools: [Patch] Option to enable xz compression for initrd
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
immediately.)


-- 
626446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626446
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.98.8
Severity: wishlist
Tags: patch

Since the linux kernel (e.g. linux-image-2.6.38-2-686) on Debian Sid has enabled XZ initrd option, i.e. CONFIG_RD_XZ=y, it would be great to have an option to use XZ initrd. This is specially useful to Debian live, the size could be smaller.
Attached please find the patch to enable it.
My 2 cents.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 11M May 12 11:58 /boot/initrd.img-2.6.39-rc6-686-pae
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.39-rc6-686-pae root=UUID=de8a2656-f7f2-4401-a4c7-3ca819181c9b ro

-- resume
RESUME=/dev/sda5
-- /proc/filesystems
	btrfs
	ext3
	fuseblk
	ext2
	ext4
	reiserfs
	xfs
	jfs
	msdos
	vfat
	ntfs
	minix
	hfs
	hfsplus
	qnx4
	ufs

-- lsmod
Module                  Size  Used by
ufs                    60850  0 
qnx4                   12992  0 
hfsplus                70149  0 
hfs                    44669  0 
minix                  26769  0 
ntfs                  165605  0 
vfat                   16989  0 
msdos                  12822  0 
fat                    44149  2 vfat,msdos
jfs                   138429  0 
xfs                   528900  0 
reiserfs              178367  0 
ext4                  275132  0 
jbd2                   55701  1 ext4
crc16                  12327  1 ext4
ext2                   53488  0 
ipt_MASQUERADE         12530  2 
iptable_nat            12800  1 
nf_nat                 17733  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      13649  3 iptable_nat,nf_nat
nf_conntrack           42383  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4         12443  1 nf_conntrack_ipv4
iptable_filter         12488  0 
ip_tables              16998  2 iptable_nat,iptable_filter
x_tables               17969  4 ipt_MASQUERADE,iptable_nat,iptable_filter,ip_tables
fuse                   55666  1 
loop                   17777  0 
ext3                  102125  1 
jbd                    40818  1 ext3
mbcache                12810  3 ext4,ext2,ext3
raid10                 25831  0 
raid456                51462  0 
async_raid6_recov      12459  1 raid456
async_pq               12503  2 raid456,async_raid6_recov
raid6_pq               86733  2 async_raid6_recov,async_pq
async_xor              12390  3 raid456,async_raid6_recov,async_pq
xor                    21454  1 async_xor
async_memcpy           12363  2 raid456,async_raid6_recov
async_tx               12510  5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1                  25752  0 
raid0                  16828  0 
multipath              12832  0 
linear                 12665  0 
md_mod                 80556  6 raid10,raid456,raid1,raid0,multipath,linear
dm_mirror              17249  0 
dm_region_hash         13072  1 dm_mirror
dm_log                 13269  2 dm_mirror,dm_region_hash
dm_mod                 56401  2 dm_mirror,dm_log
btrfs                 459447  0 
zlib_deflate           21186  1 btrfs
crc32c                 12576  1 
libcrc32c              12394  1 btrfs
sg                     21385  0 
sd_mod                 35060  3 
crc_t10dif             12332  1 sd_mod
sr_mod                 17418  0 
cdrom                  34631  1 sr_mod
ata_generic            12439  0 
ata_piix               21079  2 
uhci_hcd               21850  0 
mptspi                 17666  0 
mptscsih               22263  1 mptspi
floppy                 47893  0 
libata                132100  2 ata_generic,ata_piix
ehci_hcd               34885  0 
mptbase                51867  2 mptspi,mptscsih
scsi_transport_spi     19032  1 mptspi
usbcore               103321  3 uhci_hcd,ehci_hcd
scsi_mod              134414  7 sg,sd_mod,sr_mod,mptspi,mptscsih,libata,scsi_transport_spi
pcnet32                31012  0 
mii                    12595  1 pcnet32

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
dmraid
dmsetup
keymap
klibc
lvm2
mdadm
thermal
udev


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-rc6-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar
ii  findutils                     4.4.2-1+b1 utilities for finding files--find,
ii  klibc-utils                   1.5.21-1   small utilities built with klibc f
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo
ii  udev                          168-2      /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.18.4-2 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii  bash-completion               1:1.3-1    programmable completion for the ba

-- no debconf information
diff -uNr initramfs-tools-0.98.8/conf/initramfs.conf initramfs-tools-0.98.8.new/conf/initramfs.conf
--- initramfs-tools-0.98.8/conf/initramfs.conf	2010-08-26 03:32:27.000000000 +0800
+++ initramfs-tools-0.98.8.new/conf/initramfs.conf	2011-05-12 09:49:57.000000000 +0800
@@ -36,7 +36,7 @@
 KEYMAP=n
 
 #
-# COMPRESS: [ gzip | bzip2 | lzma | lzop ]
+# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
 #
 
 COMPRESS=gzip
diff -uNr initramfs-tools-0.98.8/mkinitramfs initramfs-tools-0.98.8.new/mkinitramfs
--- initramfs-tools-0.98.8/mkinitramfs	2011-01-28 22:09:09.000000000 +0800
+++ initramfs-tools-0.98.8.new/mkinitramfs	2011-05-12 09:49:27.000000000 +0800
@@ -149,6 +149,8 @@
 
 [ "${compress}" = lzop ] && compress="lzop -9"
 
+[ "${compress}" = xz ] && compress="xz -9 --check=crc32"
+
 if [ -d "${outfile}" ]; then
 	echo "${outfile} is a directory" >&2
 	exit 1

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.99

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

initramfs-tools_0.99.dsc
  to main/i/initramfs-tools/initramfs-tools_0.99.dsc
initramfs-tools_0.99.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.99.tar.gz
initramfs-tools_0.99_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.99_all.deb



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

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

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 11 May 2011 23:38:18 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.99
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 338405 454934 501969 502792 506540 594189 596742 603858 603903 606806 609964 611046 612633 619670 620924 621803 625224 626446
Changes: 
 initramfs-tools (0.99) unstable; urgency=low
 .
   Release "scarpe rotte e pur bisogna andar"
 .
   [ maximilian attems ]
   * [ce45cd0] update-initramfs: Show the mkinitramfs on error message.
   * [5b84e5b] maintainer-notes.html: Fix email to send patches to.
   * [ec6a77f] doc: s/ressources/resources/
   * [3c717fa] initramfs-tools: preinst use blkid for uuid generation if around.
     (Closes: #609964)
   * [8e2ffcd] postinst cleanup very old dpkg trigger comparison.
   * [78cdb26] mkinitramfs: Add support for xz compression. (closes: #626446)
   * [f5b8347] hook-functions: Cleanup ref to ide-disk.
   * [6cab0ec] initramfs-tools: cleanup any usplash traces. (closes: #620924)
   * [08d4895] initramfs-tools: Remove mkinitramfs-kpkg.
     (Closes: #454934, #502792)
   * [0ed6376] initramfs-tools: add hid_sunplus to listed keyboard drivers.
   * [5f53d3b] init: load netconsole after loading network drivers.
     Thanks Ferenc Wagner <wferi@niif.hu> (Closes: #596742)
   * [7ff2998] debian/copyright: Update authorlist and year attribution.
   * [e789cdd] maintainer-notes: Use git dch --multimaint-merge on examples.
   * [17296ff] dep_add_modules: Use hidden_dep_add_modules for ubifs.
   * [3d44bfb] hidden_dep_add: Use mika's variadic function from $2 on.
   * [8f8299d] mkinitramfs: copy over on build instead of using symlink tree.
     (Closes: #338405, #506540)
   * [f5afa6a] mkinitramfs: Add lib search path + run full ldconfig in
     initramfs. (Closes: #612633, #619670)
   * [259ad09] mkinitramfs: creat /run initramfs directory.
   * [5add333] initramfs-tools: init mount /run tmpfs.
   * [74109b9] init: No need to touch /dev/.initramfs.
   * [8e7620a] hook-functions: xhci-hcd got renamed. (Closes: #625224)
     Thanks to Matthew Wilcox <willy@linux.intel.com>
 .
   [ Tim Small ]
   * [1fe9f78] Add Documentation for modules=list in initramfs.conf(5).
     (Closes: #603903)
 .
   [ Ben Hutchings ]
   * [c018886] kernel hooks: Treat missing version argument as an error.
   * [58ee42c] kernel hooks: Enable error-exit (sh -e).
   * [7866542] update-initramfs: Depend on kernel hook scripts rather than
     $ramdisk invocation.
   * [43fe8e6] update-initramfs: Remove support for 'do_bootloader' and
     specific boot loaders. (closes: #594189)
 .
   [ Gianluigi Tiesi ]
   * [9c25269] mkinitramfs: misleading message in verbose mode.
     (Closes: #611046)
 .
   [ Timo Juhani Lindfors ]
   * [871ffe7] initramfs-tools: Make panic message visible even if panic=
     is used.
   * [2525b00] initramfs-tools: Inform the user about reboot on panic=.
 .
   [ Michael Prokop ]
   * [465a5f1] hidden_dep_add_modules(): make it dynamically to support more
     than 3 arguments as well.
   * [3323930] Use --check=crc32 option for xz compression.
     Thanks to Ulrich Dangel <mru@grml.org>
   * [bedf1e3] Use -8 for compression with xz.
   * [adce374] docs: fix wording ("allows *one* to") to make lintian happy.
   * [ecbc54a] Bump Standards-Version to 3.9.2.
 .
   [ Evan Broder ]
   * [ad1a594] initramfs-tools: Fix handling of numeric root= arguments to be
      udev-friendly. (Closes: #501969, #606806)
 .
   [ Christian Hofstaedtler ]
   * [e34eca4] init: move /proc after moving other filesystems.
 .
   [ Roger Leigh ]
   * [10990ab] init: Preserve state on old boxes without /run on rootfs.
   * [4d08c2e] init: sync mount options with the defaults in initscripts.
     (Closes: #621803)
   * [20c43ce] init: Don't use "none" as a mount fsname (Closes: #603858)
 .
   [ Michael Tokarev ]
   * [ec83abd] mkinitramfs: No need to warn about md-root busybox dep.
Checksums-Sha1: 
 bfe072cb51cc028aba1e7fefbd067690dba4ce22 965 initramfs-tools_0.99.dsc
 3efd8d3f5ddeed373af53f029a60e5a169cf7fe8 83627 initramfs-tools_0.99.tar.gz
 c18db8de2b3413bf49fc42dc0c05188f4c7e45b6 89558 initramfs-tools_0.99_all.deb
Checksums-Sha256: 
 e86ca92ea5febebc0eae4d2ced831c3bca787de30e01614973f0d81d4112d659 965 initramfs-tools_0.99.dsc
 8db379fcbbc4dd81c2f22c955b1c1ff4883a9f7b9187d037f7b19752b0c56226 83627 initramfs-tools_0.99.tar.gz
 83e6ebc00d318f5d2a1c7da01b70d3196c0067dc9aa74142bfddd7959931871e 89558 initramfs-tools_0.99_all.deb
Files: 
 524ea435f52c3ed4d5769e6a567983bb 965 utils optional initramfs-tools_0.99.dsc
 d8b2711f25f287724d954f8c495de5f2 83627 utils optional initramfs-tools_0.99.tar.gz
 06201e844ab0d57325274df01c306b62 89558 utils optional initramfs-tools_0.99_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk3NIWUACgkQeW7Lc5tEHqj8+gCfcJQgxk9b6fK5aPfqfA4t7Ws1
zzYAn08PN8VceR+cAalWwL50zvuqQER3
=z9JG
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: