initramfs-tools: remove obsolete/unexistend modules from hooks.

This commit is contained in:
Juan RP 2012-01-23 15:33:34 +01:00
parent 6e7cb998ac
commit a8af5a5c69
3 changed files with 5 additions and 13 deletions

View file

@ -352,7 +352,6 @@ dep_add_modules()
if [ -d "${DESTDIR}/lib/modules/${version}/kernel/drivers/ide" ]; then
sys_walk_modalias ${root_dev_path}
manual_add_modules ide-gd_mod
manual_add_modules ide-cd
fi
if [ -d "${DESTDIR}/lib/modules/${version}/kernel/drivers/scsi" ]; then
@ -379,10 +378,10 @@ auto_add_modules()
{
case "${1:-}" in
base)
for x in ehci-hcd ohci-hcd uhci-hcd usbhid xhci xhci-hcd \
for x in ehci-hcd ohci-hcd uhci-hcd usbhid xhci-hcd \
hid-apple hid-cherry hid-logitech hid-microsoft hid-sunplus \
btrfs ext2 ext3 ext4 ext4dev isofs jfs reiserfs udf xfs \
af_packet atkbd i8042 virtio_pci; do
btrfs ext2 ext3 ext4 isofs jfs reiserfs udf xfs \
i8042 virtio_pci; do
manual_add_modules "${x}"
done
;;
@ -394,7 +393,7 @@ auto_add_modules()
;;
scsi)
copy_modules_dir kernel/drivers/scsi
for x in mptfc mptsas mptscsih mptspi zfcp; do
for x in mptfc mptsas mptscsih mptspi; do
manual_add_modules "${x}"
done
;;
@ -419,11 +418,6 @@ auto_add_modules()
manual_add_modules "${x}"
done
;;
dasd)
for x in dasd_diag_mod dasd_eckd_mod dasd_fba_mod; do
manual_add_modules "${x}"
done
;;
usb_storage)
copy_modules_dir kernel/drivers/usb/storage
;;
@ -434,7 +428,6 @@ auto_add_modules()
auto_add_modules block
auto_add_modules ata
auto_add_modules i2o
auto_add_modules dasd
auto_add_modules ieee1394
auto_add_modules firewire
auto_add_modules mmc

View file

@ -20,7 +20,6 @@ esac
manual_add_modules fbcon
manual_add_modules intel-agp
manual_add_modules ati-agp
manual_add_modules i915
manual_add_modules radeon

View file

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools'
pkgname=initramfs-tools
_localver=112 # This is the XBPS version
_localver=113 # This is the XBPS version
_distver=0.99 # This should match debian version
version=${_distver}.${_localver}
short_desc="Tools for generating an initramfs"