#!/usr/bin/sh

SYSTEM=$1

if [ -z ${SYSTEM} ]; then
    echo "install-rpm system"
    exit 1
fi

cd /mnt/source/Fedora/RPMS
#rpm -ivh --root /mnt/sysimage `cat /etc/rpm/fc5-minimum.txt`
rpm -ivh --root /mnt/sysimage `cat /etc/rpm/${SYSTEM}.txt`
RETVAL=$?

exit $RETVAL
