From abd717eb12628e79b8fb6eacc17104b5755a52bc Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 4 Dec 2008 18:02:48 +0200 Subject: [PATCH] mkinitramfs: moved 50-kernel.sh to early target --- .../install/D%libdir_50-kernel.sh.txt | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 base/mkinitramfs/install/D%libdir_50-kernel.sh.txt diff --git a/base/mkinitramfs/install/D%libdir_50-kernel.sh.txt b/base/mkinitramfs/install/D%libdir_50-kernel.sh.txt deleted file mode 100644 index 5c73049a6..000000000 --- a/base/mkinitramfs/install/D%libdir_50-kernel.sh.txt +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../mkinitramfs/install/D%libdir_50-kernel.sh.txt -# Copyright (C) 2007 - 2008 The OpenSDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -. "$libdir/kernel.in" - -set -e - -if [ -n "$moddir" ]; then - - if [ "$running" ]; then - echo "TODO: building on a running system, we can take the list of active modules." - fi - - echo -n "Installing modules:" - - if [ -n "$MKINITRD_MODULES" ]; then - for module in $MKINITRD_MODULES; do - module_install "$module" - done - fi - - # greedy^3 - find $moddir/kernel/drivers/{block,ata,ide,ieee1394,md,scsi,cdrom,usb,message} \ - $moddir/kernel/{lib,fs} \ - -type f | while read file; do - module_install "$file" - done - echo - - safe_depmod - - [ -z "$modules_missing" ] || echo "Failed to find:$modules_missing" -fi