Bug#592519: initramfs-tools: COMPRESS option should be more flexible
Package: initramfs-tools
Version: 0.98
Severity: wishlist
Option COMPRESS shouldn't specify predefined compression method, but should set
program to use. This allows to use arguments (--best or --fast for example),
and other versions and implementation of compressors.
If initramfs-tools wants to know type of compression, one more option
(COMPRESS_TYPE for example) should be added.
If initramfs-tools uses libraries (and doesn't call external program for
compression) may be all this is superfluous, but in this case should be
possible to specify compression level.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 6.2M Aug 9 15:30 /boot/initrd.img-2.6.32-5-686
-rw-r--r-- 1 root root 6.2M Aug 9 15:32 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 6.5M Jul 11 20:08 /boot/initrd.img-2.6.34-1-686
-rw-r--r-- 1 root root 6.4M Aug 9 15:34 /boot/initrd.img-2.6.34-1-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.34-1-amd64 root=UUID=a2932eb6-f687-4334-9a86-f466c65232f8 ro acpi_enforce_resources=lax
-- /proc/filesystems
ext4
fuseblk
ext2
ext3
reiserfs
xfs
jfs
msdos
vfat
ntfs
minix
hfs
hfsplus
qnx4
ufs
btrfs
-- lsmod
Module Size Used by
pl2303 13744 0
usbserial 26927 1 pl2303
btrfs 381227 0
zlib_deflate 17762 1 btrfs
crc32c 2568 1
libcrc32c 1050 1 btrfs
ufs 58627 0
qnx4 6666 0
hfsplus 65214 0
hfs 37431 0
minix 21189 0
ntfs 163615 0
vfat 7892 0
msdos 5922 0
fat 40064 2 vfat,msdos
jfs 139859 0
xfs 736330 0
exportfs 3146 1 xfs
reiserfs 194955 0
ext3 106534 0
jbd 37413 1 ext3
ext2 53478 0
usbhid 33619 0
iptable_nat 3667 1
nf_nat 13588 1 iptable_nat
nf_conntrack_ipv4 9697 3 iptable_nat,nf_nat
nf_conntrack 47348 3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 1211 1 nf_conntrack_ipv4
ip_tables 13874 1 iptable_nat
x_tables 13185 2 iptable_nat,ip_tables
aes_x86_64 7348 3
aes_generic 25722 1 aes_x86_64
tun 12120 2
radeon 613330 2
ttm 39677 1 radeon
drm_kms_helper 19993 1 radeon
drm 144452 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 4265 1 radeon
hidp 11336 1
hid 63661 2 usbhid,hidp
sco 7492 2
bridge 53396 0
stp 1448 1 bridge
bnep 9634 2
rfcomm 29951 8
l2cap 25527 21 hidp,bnep,rfcomm
vboxnetadp 4193 0
vboxnetflt 12287 0
vboxdrv 1723566 2 vboxnetadp,vboxnetflt
kvm_amd 32438 0
kvm 223894 1 kvm_amd
fuse 50206 1
powernow_k8 11018 1
it87 22007 0
hwmon_vid 1836 1 it87
loop 11686 0
dm_crypt 10704 0
dm_mod 54982 1 dm_crypt
snd_hda_codec_atihdmi 2275 1
arc4 1282 2
snd_hda_codec_realtek 251256 1
ecb 1849 2
snd_hda_intel 19699 0
snd_hda_codec 64180 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5244 1 snd_hda_codec
snd_pcm 61303 2 snd_hda_intel,snd_hda_codec
snd_seq 41567 0
snd_timer 15645 2 snd_pcm,snd_seq
snd_seq_device 4501 1 snd_seq
ath5k 115940 0
i2c_piix4 8384 0
snd 46594 8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
mac80211 149675 1 ath5k
ath 8394 1 ath5k
shpchp 25503 0
edac_core 29141 0
pcspkr 1707 0
pci_hotplug 19931 1 shpchp
button 4706 0
i2c_core 15406 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
processor 28793 1 powernow_k8
edac_mce_amd 6513 0
soundcore 4742 1 snd
btusb 9793 4
cfg80211 116306 3 ath5k,mac80211,ath
led_class 2187 1 ath5k
tpm_tis 7344 0
tpm 9533 1 tpm_tis
snd_page_alloc 6273 2 snd_hda_intel,snd_pcm
k8temp 3147 0
tpm_bios 4497 1 tpm
evdev 7432 9
bluetooth 42435 10 hidp,sco,bnep,rfcomm,l2cap,btusb
rfkill 13420 3 cfg80211,bluetooth
ext4 274966 1
mbcache 5058 3 ext3,ext2,ext4
jbd2 62596 1 ext4
crc16 1327 2 l2cap,ext4
sd_mod 30557 2
crc_t10dif 1284 1 sd_mod
ata_generic 2911 0
usb_storage 39257 1
ahci 34272 0
ohci_hcd 19268 0
fan 3274 0
pata_atiixp 3601 0
libata 134273 3 ata_generic,ahci,pata_atiixp
r8169 29739 0
mii 3218 1 r8169
thermal 11945 0
thermal_sys 12006 3 processor,fan,thermal
ehci_hcd 31463 0
scsi_mod 123845 3 sd_mod,usb_storage,libata
usbcore 127124 8 pl2303,usbserial,usbhid,btusb,usb_storage,ohci_hcd,ehci_hcd
nls_base 6353 7 hfsplus,hfs,ntfs,vfat,fat,jfs,usbcore
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=lzma
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
keymap
klibc
thermal
udev
v86d
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.18-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 160-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-2 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
pn bash-completion <none> (no description available)
-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed [not included]
-- no debconf information
Reply to: