- # 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