X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.common;h=c88d8279b5e71e3e5dcd99a67caba09f2a6c6542;hb=5d0f2ee2524724a97c0b8505fe784a8da9b12c6d;hp=2e98872e1fba02dd447609ad306cff8366b8ddb9;hpb=117b77276b8fad37a1b2e12586cc841c2ba3684b;p=build.git diff --git a/build.common b/build.common index 2e98872e..c88d8279 100644 --- a/build.common +++ b/build.common @@ -433,21 +433,21 @@ fi # Clean yum cache echo "* Cleaning up" - # NOTE: this hack is for Fedora >= 12. - # if kernel-debug is installed, clean it up - # we link to our version of kernel/initrd and clean up - # kernel-debug manually - if rpm --root $vroot --quiet -q kernel-debug ; then - echo "* Cleaning up kernel-debug - (workaround for f12)" - pushd $vroot/boot/ - rm -rf kernel-boot kernel-bootsmp initrd-boot initrd-bootsmp - ln -s vmlinuz-*${pldistro}* kernel-boot - ln -s vmlinuz-*${pldistro}* kernel-bootsmp - ln -s initrd-*${pldistro}* initrd-boot - ln -s initrd-*${pldistro}* initrd-bootsmp - rpm --root $vroot --nodeps -e kernel-debug || : - popd - fi +# # NOTE: this hack is for Fedora >= 12. +# # if kernel-debug is installed, clean it up +# # kernel-debug manually +# # we link to our version of kernel/initrd and clean up +# if rpm --root $vroot --quiet -q kernel-debug ; then +# echo "* Cleaning up kernel-debug - (workaround for f12)" +# pushd $vroot/boot/ +# rm -rf kernel-boot kernel-bootsmp initrd-boot initrd-bootsmp +# ln -s vmlinuz-*${pldistro}* kernel-boot +# ln -s vmlinuz-*${pldistro}* kernel-bootsmp +# ln -s initrd-*${pldistro}* initrd-boot +# ln -s initrd-*${pldistro}* initrd-bootsmp +# rpm --root $vroot --nodeps -e kernel-debug || : +# popd +# fi # ignore yum's return code that is basically undefined yum $yum_options clean all || :