-
- tar cjf SOURCES/config.tar.bz2 config
- rm -rf config
-
- # do we need any special rpm build options
- local rpmbuildopt="-bb"
- if $DO_SRC; then
- rpmbuildopt="-ba"
- fi
-
- # XXX - ignore the kabi changes. need to figure out what this is really
- # all about.
- touch SOURCES/IGNORE-KABI-BADNESS
-
-
-# XXX temp speedup hack
-#if false; then
- # now build it
- if ! $RPMBUILD $rpmbuildopt $targets \
- --define "_topdir $TOPDIR" \
- $TOPDIR/SPECS/kernel-$RPMSMPTYPE.spec >&2; then
- fatal 1 "Failed to build kernel RPM"
- fi
-#fi
-
- # for SLES10, we also need to build the kernel-source rpm
- if ! $RPMBUILD $rpmbuildopt $targets \
- --define "_topdir $TOPDIR" \
- $TOPDIR/SPECS/kernel-source.spec >&2; then
- fatal 1 "Failed to build kernel source RPM"
- fi
-