Bug#532908: initramfs-tools: initrd image not created on custom kernels
On Monday 15 Jun 2009 14:42:11 maximilian attems wrote: > explained in debian/changelog, by disabling the check > you have busted now the ability to install linux-2.6 officialy build > linux images. > > so status stays the same people that care about kernel-package, > should come forward with a good patch. I don't have the background on what exactly the bug is caused by. and your very brief explanation doesn't enlighten much. I did run a native package and yes, it doesn't generate an initrd image there. But we can do better in the current way we are handling. Instead of just silently exiting, you could atleast warn the user. Attached is the patch. Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." --- /etc/kernel/postinst.d/initramfs-tools 2009-06-16 13:58:47.838409200 +0530 +++ /tmp/initramfs-tools.mod 2009-06-16 13:58:06.152409180 +0530 @@ -6,7 +6,7 @@ [ -z "$1" ] && exit 0 # kernel-package passes an extra arg; hack to not run under kernel-package -[ -z "$2" ] || exit 0 +[ -z "$2" ] || (echo -en "WARNING: kernel-package generated deb.\nWill not generate an initrd image\n"; exit 0) # we're good - create initramfs. update runs do_bootloader update-initramfs -c -t -k "$1" signature.asc Description: This is a digitally signed message part.
Bug#532908: initramfs-tools: initrd image not created on custom kernels
On Mon, Jun 15, 2009 at 11:17:26AM +0530, Ritesh Raj Sarraf wrote: > > The /etc/kernel/postinst.d/ folder contains one hook, initramfs-tools. I > suppose, you are shipping it. initramfs-tools is shipping it indeed. > I don't know why you have enabled the second check: > > # kernel-package passes an extra arg; hack to not run under kernel-package > #[ -z "$2" ] || exit 0 > > Disabling it and doing the installation creates the initrd image properly. explained in debian/changelog, by disabling the check you have busted now the ability to install linux-2.6 officialy build linux images. so status stays the same people that care about kernel-package, should come forward with a good patch. over and out -- maks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#532908: initramfs-tools: initrd image not created on custom kernels
On Saturday 13 Jun 2009 19:02:13 maximilian attems wrote: > this is due to changes of kernel-package and nobody stepped up yet > to provide the correct hook script /etc/kernel/, see kernel-package > docs and initramfs-tools bug report. > > could close away but will merge with aboves report on time.. Max, The /etc/kernel/postinst.d/ folder contains one hook, initramfs-tools. I suppose, you are shipping it. I don't know why you have enabled the second check: # kernel-package passes an extra arg; hack to not run under kernel-package #[ -z "$2" ] || exit 0 Disabling it and doing the installation creates the initrd image properly. Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." signature.asc Description: This is a digitally signed message part.
Bug#532908: initramfs-tools: initrd image not created on custom kernels
On Fri, 12 Jun 2009, Ritesh Raj Sarraf wrote: > Package: initramfs-tools > Version: 0.93.2 > Severity: important > > I haven't verified on Debian shipped kernels, but when installing my > custom kernel, initramfs-tools didn't create an initrd image for the > same. > > I had to boot through the previous kernel and manually create the initrd > image. > > Ritesh this is due to changes of kernel-package and nobody stepped up yet to provide the correct hook script /etc/kernel/, see kernel-package docs and initramfs-tools bug report. could close away but will merge with aboves report on time.. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#532908: initramfs-tools: initrd image not created on custom kernels
Package: initramfs-tools Version: 0.93.2 Severity: important I haven't verified on Debian shipped kernels, but when installing my custom kernel, initramfs-tools didn't create an initrd image for the same. I had to boot through the previous kernel and manually create the initrd image. Ritesh -- Package-specific info: -- /proc/cmdline root=/dev/mapper/VgSd2-ROOT ro vga=788 selinux=1 quiet -- /proc/filesystems ext3 fuseblk -- lsmod Module Size Used by snd_intel8x0 25668 2 snd_intel8x0m 12036 0 snd_ac97_codec 91064 2 snd_intel8x0,snd_intel8x0m ac97_bus1380 1 snd_ac97_codec snd_pcm_oss31988 0 snd_mixer_oss 12140 1 snd_pcm_oss snd_pcm62208 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss snd_seq_dummy 2296 0 snd_seq_oss24312 0 snd_seq_midi5508 0 snd_rawmidi18556 1 snd_seq_midi snd_seq_midi_event 6012 2 snd_seq_oss,snd_seq_midi snd_seq41464 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 17420 2 snd_pcm,snd_seq snd_seq_device 6064 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd48156 15 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6368 1 snd snd_page_alloc 7796 3 snd_intel8x0,snd_intel8x0m,snd_pcm tcp_diag1156 0 inet_diag 7852 1 tcp_diag tun 9680 1 aes_i5867360 3 aes_generic27340 1 aes_i586 lib80211_crypt_ccmp 4472 3 radeon113892 2 drm 131740 3 radeon xt_limit1700 3 xt_state1684 11 iptable_filter 2868 1 ip_tables 9904 1 iptable_filter nf_conntrack_ipv4 11584 11 nf_defrag_ipv4 1576 1 nf_conntrack_ipv4 nf_conntrack_ipv6 11028 0 ipv6 241320 23 nf_conntrack_ipv6 nf_conntrack_tftp 3840 0 nf_conntrack_h323 42956 0 nf_conntrack_sip 15892 0 nf_conntrack_irc4736 0 nf_conntrack_sane 3992 0 nf_conntrack_ftp6444 0 ts_kmp 1772 5 nf_conntrack_amanda 3472 0 nf_conntrack_proto_udplite 3408 0 nf_conntrack_netbios_ns 2100 0 nf_conntrack_netlink15080 0 nfnetlink 3992 1 nf_conntrack_netlink nf_conntrack_proto_dccp 5916 0 nf_conntrack_proto_sctp 6620 0 nf_conntrack_pptp 5544 0 nf_conntrack_proto_gre 5028 1 nf_conntrack_pptp binfmt_misc 7016 1 xt_conntrack3072 0 nf_conntrack 59628 18 xt_state,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack_tftp,nf_conntrack_h323,nf_conntrack_sip,nf_conntrack_irc,nf_conntrack_sane,nf_conntrack_ftp,nf_conntrack_amanda,nf_conntrack_proto_udplite,nf_conntrack_netbios_ns,nf_conntrack_netlink,nf_conntrack_proto_dccp,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,xt_conntrack x_tables 13940 4 xt_limit,xt_state,ip_tables,xt_conntrack acpi_cpufreq7256 0 cpufreq_conservative 5364 0 cpufreq_ondemand6180 1 cpufreq_stats 3496 0 freq_table 3948 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats cpufreq_powersave 1192 0 cpufreq_userspace 2572 0 hdaps 9192 0 configfs 21296 1 tp_smapi 18944 0 thinkpad_ec 6248 2 hdaps,tp_smapi fuse 46784 1 loop 12736 0 dm_crypt 10880 0 pcmcia 30580 0 joydev 8508 0 thinkpad_acpi 51924 0 rfkill 9564 1 thinkpad_acpi yenta_socket 21056 1 rsrc_nonstatic 9380 1 yenta_socket i2c_i8018056 0 led_class 3600 1 thinkpad_acpi ipw2200 121140 0 libipw 24264 1 ipw2200 nsc_ircc 13892 0 psmouse36304 0 pcmcia_core31080 3 pcmcia,yenta_socket,rsrc_nonstatic rng_core3584 0 pcspkr 2032 0 i2c_core 20916 2 drm,i2c_i801 nvram 6304 1 thinkpad_acpi video 16496 0 output 2444 1 video lib802115836 3 lib80211_crypt_ccmp,ipw2200,libipw irda 94760 1 nsc_ircc parport_pc 22012 0 parport30556 1 parport_pc serio_raw 4480 0 button 5684 0 battery 9876 0 ac 3820 0 evdev 8140 14 crc_ccitt 1736 1 irda ext3 106864 2 jbd43792 1 ext3 mbcache 6972 1 ext3 dm_mirror