Browse Source

mkinitramfs: changed to install using my beloved overlay_apply()

early
Alejandro Mery 16 years ago
parent
commit
58cc10351e
4 changed files with 8 additions and 14 deletions
  1. +1
    -1
      base/mkinitramfs/install/D%libdir_30-blocks.sh.txt
  2. +1
    -1
      base/mkinitramfs/install/D%libdir_50-kernel.sh.txt
  3. +5
    -5
      base/mkinitramfs/install/D%sbindir_mkinitramfs.sh
  4. +1
    -7
      base/mkinitramfs/mkinitramfs.conf

base/mkinitramfs/files/30-blocks.sh → base/mkinitramfs/install/D%libdir_30-blocks.sh.txt

@ -2,7 +2,7 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mkinitramfs/files/30-blocks.sh
# Filename: package/.../mkinitramfs/install/D%libdir_30-blocks.sh.txt
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.

base/mkinitramfs/files/50-kernel.sh → base/mkinitramfs/install/D%libdir_50-kernel.sh.txt

@ -2,7 +2,7 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mkinitramfs/files/50-kernel.sh
# 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.

base/mkinitramfs/mkinitramfs.sh → base/mkinitramfs/install/D%sbindir_mkinitramfs.sh

@ -1,12 +1,12 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mkinitrd/mkinitrd.sh
# Copyright (C) 2007 The OpenSDE Project
#
#
# Filename: package/.../mkinitramfs/install/D%sbindir_mkinitramfs.sh
# 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

+ 1
- 7
base/mkinitramfs/mkinitramfs.conf

@ -20,16 +20,10 @@ makeinstopt=
. $confdir/find_template.in
hook_add postmake 5 'mkinitrd_install'
if [ -s "$initrd_img" ]; then
hook_add postmake 7 "cp -vf '$initrd_img' '$root/boot/initrd.img'"
else
echo_warning "No initrd.img found."
fi
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
}
hook_add postmake 5 "overlay_apply '$confdir/install'"

Loading…
Cancel
Save