|
|
@ -3,7 +3,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../mkinitramfs/install/D%sbindir_mkinitramfs.sh |
|
|
|
# Copyright (C) 2007 - 2009 The OpenSDE Project |
|
|
|
# Copyright (C) 2007 - 2012 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
@ -78,6 +78,8 @@ fi |
|
|
|
moddir="${root}/lib/modules/$kernelver" |
|
|
|
sysmap="${root}/boot/System.map_$kernelver" |
|
|
|
libdir="${root}D_libdir" |
|
|
|
firmwaredir="${root}/lib/firmware" |
|
|
|
|
|
|
|
if [ -d "$moddir" ]; then |
|
|
|
echo "kernel: $kernelver, module dir: ${moddir#$root/}" |
|
|
|
if [ ! -r "$sysmap" ]; then |
|
|
@ -114,7 +116,7 @@ if [ $? -eq 0 ]; then |
|
|
|
errno=0 |
|
|
|
|
|
|
|
# prepare the environment for the plugins |
|
|
|
export root tmpdir kernelver moddir libdir sysmap running |
|
|
|
export root tmpdir kernelver moddir libdir firmwaredir sysmap running |
|
|
|
|
|
|
|
# call the plugins |
|
|
|
plugindir="etc/mkinitramfs.d" |
|
|
|