summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-09-09 14:16:55 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-09-09 14:16:55 -0700
commit7a6f9e972def00f7f0435d9f2616bcb79dc619b7 (patch)
treed6646fe2066cce6f57715f1b2e63abb78fc8585c /hooks
parentd000689490bbc3508f18b878757b3d2bb04d8a69 (diff)
downloadinitramfs-tools-7a6f9e972def00f7f0435d9f2616bcb79dc619b7.tar.gz
initramfs-tools-7a6f9e972def00f7f0435d9f2616bcb79dc619b7.zip
remove files that no longer existupstream
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/kernelextras44
-rwxr-xr-xhooks/legacylvm28
-rwxr-xr-xhooks/udevhelper36
3 files changed, 0 insertions, 108 deletions
diff --git a/hooks/kernelextras b/hooks/kernelextras
deleted file mode 100755
index 714e9a9..0000000
--- a/hooks/kernelextras
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# Hooks for loading extra kernel bits into the initramfs
-
-. /usr/share/initramfs-tools/hook-functions
-
-fbcon=n
-
-for x in ${MODULESDIR}/initrd/*; do
- x=${x##*/}
- x=${x%.*}
- case ${x} in
- '*')
- break
- ;;
- *fb)
- fbcon=y
- ;;
- esac
-
- force_load ${x}
-done
-
-# And add vga16fb for usplash to use as well
-manual_add_modules vga16fb
-
-if [ ${fbcon} = "y" ]; then
- force_load fbcon
-fi
diff --git a/hooks/legacylvm b/hooks/legacylvm
deleted file mode 100755
index 9121f90..0000000
--- a/hooks/legacylvm
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# FIXME: Remove this hook after Lenny releases
-. /usr/share/initramfs-tools/hook-functions
-
-if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \
- && [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then
- copy_exec /lib/lvm-200/vgchange /sbin
- for x in dm_mod dm_snapshot dm_mirror; do
- manual_add_modules ${x}
- done
-fi
-exit 0
diff --git a/hooks/udevhelper b/hooks/udevhelper
deleted file mode 100755
index f86e4af..0000000
--- a/hooks/udevhelper
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# FIXME: kill after lenny release
-# needed for UUID root and partial etch upgrades
-#
-PREREQ="udev"
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-. /usr/share/initramfs-tools/hook-functions
-
-# should never happen
-if [ ! -e $DESTDIR/lib/udev/ ]; then
- exit 0
-fi
-
-# fixed udev hook
-if [ -e $DESTDIR/lib/udev/ ] && [ -e $DESTDIR/lib/udev/hotplug.functions ]; then
- exit 0
-fi
-
-cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/
-for program in /lib/udev/*_id; do
- copy_exec $program /lib/udev/
-done
-exit 0