diff options
Diffstat (limited to 'source/a/mkinitrd/mkinitrd_kernelcheck.diff')
-rw-r--r-- | source/a/mkinitrd/mkinitrd_kernelcheck.diff | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/a/mkinitrd/mkinitrd_kernelcheck.diff b/source/a/mkinitrd/mkinitrd_kernelcheck.diff deleted file mode 100644 index e1302f54e..000000000 --- a/source/a/mkinitrd/mkinitrd_kernelcheck.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- mkinitrd.orig 2008-11-30 15:35:58.000000000 +0100 -+++ mkinitrd 2008-12-11 11:16:37.000000000 +0100 -@@ -277,6 +277,12 @@ - esac - done - -+# If kernel modules are needed but the kernel version is absent, exit now: -+if [ ! -d /lib/modules/$KERNEL_VERSION ]; then -+ echo "No modules tree found for kernel \"$KERNEL_VERSION\"" -+ exit 1 -+fi -+ - # If clearing source tree was requested, do that first - if [ "$CLEAR_TREE" = "1" ]; then - clear_source_tree |