Bug#626446: initramfs-tools: [Patch] Option to enable xz compression for initrd

2011-05-12 Thread maximilian attems
On Thu, May 12, 2011 at 12:08:17PM +0800, Steven Shiau wrote:
 
 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.

this is already done and will be uploaded soonest.

http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary
next time care to check upstream repository, my 2 cents.

see docs for dev
http://git.debian.org/?p=kernel/initramfs-tools.git;a=blob_plain;f=docs/maintainer-notes.html;hb=HEAD

happy hacking
 
-- 
maks



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110512075058.gi4...@vostochny.stro.at



Bug#626446: initramfs-tools: [Patch] Option to enable xz compression for initrd

2011-05-12 Thread Steven Shiau



this is already done and will be uploaded soonest.

http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary
next time care to check upstream repository, my 2 cents.

Very cool. Almost on the same day...
Definitely! I will.


see docs for dev
http://git.debian.org/?p=kernel/initramfs-tools.git;a=blob_plain;f=docs/maintainer-notes.html;hb=HEAD

Sure, thanks!


happy hacking



--
Steven Shiau steven _at_ nchc org tw steven _at_ stevenshiau org
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dcb9dac.30...@nchc.org.tw



Bug#626446: initramfs-tools: [Patch] Option to enable xz compression for initrd

2011-05-11 Thread Steven Shiau
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
ufs60850  0 
qnx4   12992  0 
hfsplus70149  0 
hfs44669  0 
minix  26769  0 
ntfs  165605  0 
vfat   16989  0 
msdos  12822  0 
fat44149  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_nat12800  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   1  0 
ext3  102125  1 
jbd40818  1 ext3
mbcache12810  3 ext4,ext2,ext3
raid10 25831  0 
raid45651462  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
xor21454  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_generic12439  0 
ata_piix   21079  2 
uhci_hcd   21850  0 
mptspi 17666  0 
mptscsih   22263  1 mptspi
floppy 47893  0 
libata132100  2 ata_generic,ata_piix
ehci_hcd   34885  0 
mptbase51867  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
pcnet3231012  0 
mii12595  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