dev replaced with udev for mkfedora package checking
[bootmanager.git] / support-files / BootstrapRPM / custom.sh
1 #!/bin/sh
2
3 # make sure the yum rpm is in extra-rpms/stage3rpms
4 if [ ! -e extra-rpms/stage3rpms/yum-*planetlab.noarch.rpm ]; then
5     echo "yum RPM doesn't exist in extra-rpms/stage3rpms/"
6     echo "see extra-rpms/stage3rpms/README_EXTERNAL_RPMS."
7     exit 1
8 fi
9
10 # make sure the pycurl rpm is in extra-rpms/stage3rpms
11 if [ ! -e extra-rpms/stage3rpms/pycurl-*.i386.rpm ]; then
12     echo "pycurl RPM doesn't exist in extra-rpms/stage3rpms/"
13     echo "see extra-rpms/stage3rpms/README_EXTERNAL_RPMS."
14     exit 1
15 fi
16
17 echo "Adding all extra rpms to extract directory..."
18 cp -vr extra-rpms/* rpm-extract/
19
20 for i in `ls extra-rpms/`; do
21     echo $i >> keep-files
22 done
23
24 exit 0
25