- run createrepo with the correct -g option
[bootcd.git] / build.sh
index 472cd13..194c747 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -111,7 +111,7 @@ EOF
    # system.
    if [ -n "$RPM_BUILD_DIR" ] ; then
        yum-arch $(dirname $RPM_BUILD_DIR)/RPMS
-       createrepo $(dirname $RPM_BUILD_DIR)/RPMS || :
+       createrepo -g yumgroups.xml $(dirname $RPM_BUILD_DIR)/RPMS || :
        # If run under sudo, allow user to delete the headers/ and
        # repodata/ directories.
        if [ -n "$SUDO_USER" ] ; then