Browse Source

Improved mkinitamfs to install the tool and the modules, if there is any

git-svn-id: svn://svn.opensde.net/opensde/package/branches/udev@21269 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
c871ef12a5
  1. 12
      base/mkinitramfs/mkinitramfs.conf

12
base/mkinitramfs/mkinitramfs.conf

@ -1,8 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mkinitrd/mkinitrd.conf
# Copyright (C) 2007 The OpenSDE Project
# Filename: package/.../mkinitramfs/mkinitramfs.conf
# Copyright (C) 2007 - 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -18,3 +18,11 @@ libdir=$libdir/mkinitrd
makeopt=
makeinstopt=
hook_add postmake 5 'mkinitrd_install'
mkinitrd_install() {
install -v -m 755 "$confdir/mkinitramfs.sh" "$root$sbindir/mkinitramfs"
for x in $( ls -1d "$confdir/files"/* 2> /dev/null ); do
cp -vf "$x" "$root$libdir/"
done
}

Loading…
Cancel
Save