Pass an installLabel to conary when updating the kernel changeset diff -r 82c2508bc763 -r d76a7ea499c2 scripts/mk-images --- a/scripts/mk-images Thu Feb 01 13:50:22 2007 -0500 +++ b/scripts/mk-images Wed Feb 07 00:24:22 2007 -0600 @@ -26,6 +26,13 @@ if [ "$1" == "--noconary" ] ; then CONARY="" shift fi + + +if [ "$1" == "--install-label" ]; then + CONARYCFG="installLabelPath $2" + shift; shift +fi + if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" -o -z "$5" -o -z "$6" -o -z "$7" -o -z "$8" -o -z "$9" ]; then usage; fi @@ -806,7 +813,7 @@ conaryExtractKernels() { return fi KERNELROOT=$KERNELBASE/$arch - conary --quiet --root $KERNELROOT update $kpackage --no-deps + conary --config "$CONARYCFG" --quiet --root $KERNELROOT update $kpackage --no-deps version=`basename $KERNELROOT/lib/modules/*` rm -rf $KERNELBASE/$arch/var/lib/conary prepareKernelDir