From 8364a75a59c4f2fe8785bacc9099227aa327cddb Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 22 Jul 2010 16:15:52 +0200 Subject: [PATCH] cosmetic --- build.common | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/build.common b/build.common index 597d0a07..450163b4 100644 --- a/build.common +++ b/build.common @@ -414,23 +414,21 @@ fi # Clean yum cache echo "* Cleaning up" - # NOTE: this hack is for Fedora >= 12. we'll let kernel-debug - # package satisfy dependencies to install a base system. Then - # we'll link to our version of kernel/initrd and clean 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 -# set -x - pushd $vroot/boot/ - # we let kernel-debug to be installed to satisfy dependencies. it's time to 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 - popd # ignore yum's return code that is basically undefined yum $yum_options clean all || : -- 2.47.0