Bug#545728: initramfs-tools(8) missing import instruction in boot script example
Package: initramfs-tools
Version: 0.93.4
Severity: normal
Tags: patch
We need to import /scripts/functions in a boot script for use critic,
log_begin_msg and log_end_msg functions but it's not show in the
manpage.
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.30-1-amd64
root=UUID=6782d1b5-0fe1-4bf3-b5ea-bad4d75667e7 ro quiet
-- /proc/filesystems
ext4
ext4dev
fuseblk
-- lsmod
Module Size Used by
vboxnetflt 89340 1
vboxdrv 1693436 2 vboxnetflt
radeon 141984 4
drm 172688 5 radeon
ppdev 7784 0
lp 10612 0
parport 38224 2 ppdev,lp
powernow_k8 14084 1
cpufreq_userspace 3652 0
cpufreq_stats 4660 0
cpufreq_conservative 7928 0
cpufreq_powersave 1792 0
binfmt_misc 9292 1
fuse 54784 3
loop 15980 0
firewire_sbp2 15424 0
dm_crypt 12984 0
dm_mod 59384 1 dm_crypt
snd_hda_codec_realtek 250260 1
sn9c102 140980 0
videodev 36768 1 sn9c102
v4l1_compat 12932 1 videodev
v4l2_compat_ioctl32 9312 1 videodev
snd_hda_intel 26680 6
snd_hda_codec 75248 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 8152 1 snd_hda_codec
snd_pcm_oss 37200 0
snd_mixer_oss 15072 1 snd_pcm_oss
snd_pcm 78504 5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
pcspkr 2800 0
evdev 10448 14
snd_timer 21824 1 snd_pcm
psmouse 42172 0
serio_raw 5844 0
snd 63912 18
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 7984 1 snd
snd_page_alloc 10000 2 snd_hda_intel,snd_pcm
k8temp 5152 0
i2c_piix4 11040 0
i2c_core 25456 2 drm,i2c_piix4
asus_atk0110 7744 0
button 6512 0
shpchp 32588 0
processor 40160 1 powernow_k8
pci_hotplug 29040 1 shpchp
ext4 216256 2
mbcache 8804 1 ext4
jbd2 58816 1 ext4
crc16 2272 1 ext4
usbhid 37328 0
hid 41376 1 usbhid
ide_cd_mod 29048 0
sd_mod 33720 4
crc_t10dif 2096 1 sd_mod
cdrom 34344 1 ide_cd_mod
ide_pci_generic 4964 0
ata_generic 5924 0
ahci 36480 3
firewire_ohci 22356 0
firewire_core 44996 2 firewire_sbp2,firewire_ohci
crc_itu_t 2720 1 firewire_core
ohci_hcd 22812 0
r8169 32548 0
mii 5600 1 r8169
atiixp 4292 0
libata 175500 2 ata_generic,ahci
scsi_mod 158784 3 firewire_sbp2,sd_mod,libata
ehci_hcd 33820 0
ide_core 105120 3 ide_cd_mod,ide_pci_generic,atiixp
thermal 15936 0
fan 5240 0
thermal_sys 16448 3 processor,thermal,fan
uvesafb 26680 0
cn 9020 1 uvesafb
-- /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
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.10-1 GNU cpio -- a program to
manage ar
ii findutils 4.4.2-1 utilities for finding
files--find,
ii klibc-utils 1.5.15-1 small utilities built with
klibc f
ii module-init-tools 3.10-3 tools for managing Linux
kernel mo
ii udev 146-1 /dev/ and hotplug
management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.14.2-2 Tiny utilities for small
and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: