Bug#582776: pointless generation of an initrd for initrd-free custom kernels
Package: initramfs-tools
Severity: normal
Note that if you build your kernel with kernel-package it has an option to build an initrd which defautls to off.
As you mention kernel-package you must have turned that option on for the initrd to be generated.
Actually not only when this option is off the initrd is not generated but there is no initrd generated in a chroot, regardless of this option.
So all in all initramfs-tools don't generate intrds when they should, not the other way around, at least in my experience.
Thanks
Michal
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 7.9M Mar 5 16:42 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 8.6M Mar 5 19:02 /boot/initrd.img-2.6.36-amd64
-rw-r--r-- 1 root root 9.1M Mar 5 19:02 /boot/initrd.img-2.6.37-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=da23cf4b-e6c2-4de8-94b3-e96077e63998 ro quiet
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
snd_hda_codec_realtek 235602 1
radeon 573996 1
ttm 39986 1 radeon
drm_kms_helper 20065 1 radeon
snd_hda_intel 20019 0
snd_hda_codec 54244 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5380 1 snd_hda_codec
joydev 8459 0
drm 142359 3 radeon,ttm,drm_kms_helper
i2c_i801 7830 0
i2c_algo_bit 4225 1 radeon
usbhid 33292 0
i2c_core 15712 5 radeon,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
rng_core 3006 0
snd_pcm 60503 2 snd_hda_intel,snd_hda_codec
snd_timer 15582 1 snd_pcm
hid 63225 1 usbhid
psmouse 49777 0
parport_pc 18855 0
usb_storage 39625 0
snd 46446 6 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 4598 1 snd
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm
pcspkr 1699 0
asus_atk0110 7686 0
evdev 7352 4
button 4650 0
processor 29935 0
parport 27954 1 parport_pc
serio_raw 3752 0
ext3 106518 1
jbd 37085 1 ext3
mbcache 5050 1 ext3
sd_mod 29889 3
crc_t10dif 1276 1 sd_mod
ata_generic 3047 0
uhci_hcd 18521 0
atl1 26034 0
mii 3210 1 atl1
thermal 11674 0
ata_piix 21124 2
thermal_sys 11942 2 processor,thermal
libata 133632 2 ata_generic,ata_piix
ehci_hcd 31151 0
firewire_ohci 19676 0
firewire_core 36848 1 firewire_ohci
crc_itu_t 1307 1 firewire_core
scsi_mod 122149 3 usb_storage,sd_mod,libata
usbcore 122034 5 usbhid,usb_storage,uhci_hcd,ehci_hcd
nls_base 6377 1 usbcore
-- /etc/initramfs-tools/modules
-- /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
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
thermal
udev
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
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+b1 utilities for finding files--find,
ii klibc-utils 1.5.20-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 164-3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
pn busybox | busybox-initramfs <none> (no description available)
Versions of packages initramfs-tools suggests:
pn bash-completion <none> (no description available)
-- debconf information excluded
Reply to: