rpms/kexec-tools/devel/kdump_build_helpers populate_udev_files, NONE, 1.1
Neil Horman
nhorman at fedoraproject.org
Wed May 20 15:13:01 UTC 2009
Author: nhorman
Update of /cvs/extras/rpms/kexec-tools/devel/kdump_build_helpers
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25229/kdump_build_helpers
Added Files:
populate_udev_files
Log Message:
Fixing an ldd error leak, adding some runtime scripts and udev
--- NEW FILE populate_udev_files ---
#!/bin/sh
. /etc/kdump-adv-conf/mkdumprd2_functions
BASE_DIR=$1
STAGE_DIR=$BASE_DIR/stage
# This just grabs all the essential bits from udev into the initramfs
for i in `rpm -qli udev | grep ^/ | grep -v man | grep -v doc`
do
if [ ! -e $i ]
then
continue
fi
if [ -d $i ]
then
mkdir -p $STAGE_DIR/$i
else
MODE=`stat $i | grep "Access: (" | sed -e 's/\(Access: (\)\([0-7]\{4\}\)\(.*\)/\2/'`
install_with_deps $i $MODE
fi
done
exit 0
More information about the scm-commits
mailing list