Package: initramfs-tools Version: 0.92o Severity: wishlist There are different things that could be required to do after initramfs image was created or updated, depending on system setup.
That may include copying initramfs to xen dom0 (or external bootserver), updating non-standard bootloader (think all sorts of embedded systems), or whatever. Currently run_bootloader() routine tries to guess what it should do. But it does not (and it can not) cover all posible cases. It would be better to just add a hooks, configured in /etc/kernel-img.conf or whereever else, that will run before and after image create, update or remove. Hooks should get information about action, kernel version, and initramfs filename. Hooks may coexist with current run_bootloader(), or eventually replace it. -- Package-specific info: -- /proc/cmdline root=/dev/mapper/vg-root ro -- /proc/filesystems reiserfs iso9660 ext3 -- lsmod Module Size Used by nls_utf8 6272 1 ext3 125072 0 jbd 51240 1 ext3 mbcache 12804 1 ext3 isofs 35880 1 nls_base 12932 2 nls_utf8,isofs tun 14084 1 kvm_amd 29580 1 kvm 127464 1 kvm_amd ppdev 11656 0 lp 14724 0 autofs4 24200 1 ppp_deflate 9216 0 zlib_deflate 23960 1 ppp_deflate zlib_inflate 18944 2 isofs,ppp_deflate bsd_comp 9600 0 nfsd 248360 17 auth_rpcgss 47520 1 nfsd exportfs 8704 1 nfsd nfs 251696 1 lockd 68560 2 nfsd,nfs nfs_acl 7552 2 nfsd,nfs sunrpc 197480 17 nfsd,auth_rpcgss,nfs,lockd,nfs_acl ipt_ULOG 13736 2 xt_state 6656 1 ipt_MASQUERADE 7296 1 xt_TCPMSS 8448 1 xt_tcpmss 6656 1 ipt_REJECT 7552 3 xt_tcpudp 7680 144 iptable_nat 9872 1 nf_nat 23192 2 ipt_MASQUERADE,iptable_nat nf_conntrack_ipv4 19352 4 iptable_nat,nf_nat nf_conntrack 71440 5 xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4 iptable_filter 7424 1 ip_tables 21520 2 iptable_nat,iptable_filter x_tables 25224 9 ipt_ULOG,xt_state,ipt_MASQUERADE,xt_TCPMSS,xt_tcpmss,ipt_REJECT,xt_tcpudp,iptable_nat,ip_tables bridge 53544 0 ppp_async 13056 1 crc_ccitt 6528 1 ppp_async ppp_generic 27816 7 ppp_deflate,bsd_comp,ppp_async slhc 10112 1 ppp_generic ipv6 288328 70 loop 19468 2 psmouse 42268 0 parport_pc 31016 1 parport 41776 3 ppdev,lp,parport_pc pcspkr 7040 0 k8temp 9216 0 button 11680 0 i2c_nforce2 10752 0 i2c_core 27936 1 i2c_nforce2 evdev 14208 3 reiserfs 211072 5 dm_mirror 20608 0 dm_log 13956 1 dm_mirror dm_snapshot 19400 2 dm_mod 58864 31 dm_mirror,dm_log,dm_snapshot raid456 125984 1 async_xor 8448 1 raid456 async_memcpy 6912 1 raid456 async_tx 11764 3 raid456,async_xor,async_memcpy xor 9744 2 raid456,async_xor raid1 24192 1 md_mod 80164 4 raid456,raid1 ide_cd_mod 36360 0 cdrom 37928 1 ide_cd_mod sd_mod 29376 12 amd74xx 13448 0 [permanent] ide_pci_generic 9220 0 [permanent] ide_core 128284 3 ide_cd_mod,amd74xx,ide_pci_generic sata_nv 27528 8 8139cp 23808 0 ata_generic 10116 0 libata 165472 2 sata_nv,ata_generic scsi_mod 160760 2 sd_mod,libata forcedeth 54032 0 ohci1394 32564 0 dock 14112 1 libata 8139too 28288 0 ieee1394 93816 1 ohci1394 ehci_hcd 36108 0 mii 9856 2 8139cp,8139too ohci_hcd 25092 0 thermal 22688 0 processor 42304 1 thermal fan 9352 0 thermal_sys 17728 3 thermal,processor,fan -- /etc/kernel-img.conf Do_Symlinks = no do_initrd = Yes postinst_hook = update-grub postrm_hook = update-grub do_bootloader = no -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n BOOT=local DEVICE=eth0 NFSROOT=auto -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (620, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages initramfs-tools depends on: ii cpio 2.9-13 GNU cpio -- a program to manage ar ii findutils 4.4.0-2 utilities for finding files--find, ii klibc-utils 1.5.12-2 small utilities built with klibc f ii module-init-tools 3.4-1 tools for managing Linux kernel mo ii udev 0.125-7 /dev/ and hotplug management daemo Versions of packages initramfs-tools recommends: ii busybox 1:1.10.2-2 Tiny utilities for small and embed initramfs-tools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org