#!/bin/sh

PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# These paths are inside the target filesystem
. /usr/share/initramfs-tools/hook-functions
# These source files are put into the target's /etc/initramfs-tools/ by
# InstallImage.py

# If we have a generated config file, copy it
CFG_FILE=/etc/initramfs-tools/moblin-initramfs.cfg
if [ -f ${CFG_FILE} ]
then
    cp -f ${CFG_FILE} ${DESTDIR}/etc/
fi

cp -f /etc/initramfs-tools/usplash.conf ${DESTDIR}/etc/usplash.conf
copy_exec /etc/initramfs-tools/usb /scripts/usb
copy_exec /etc/initramfs-tools/disk /scripts/disk
copy_exec /etc/initramfs-tools/cd /scripts/cd
