|
|
@ -1,7 +1,7 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: target/Idunn/build-initramfs.in |
|
|
|
# Filename: target/idunn/build-initramfs.in |
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
@ -30,3 +30,22 @@ initramfs_install() |
|
|
|
return 1 |
|
|
|
} |
|
|
|
|
|
|
|
initramfs_install_pattern() { |
|
|
|
local pkg="$1"; shift |
|
|
|
|
|
|
|
case "$pkg" in |
|
|
|
linux26) |
|
|
|
echo "-e '/\/\(source\|build\)$/d;' -e '/ boot\//d;' $@" |
|
|
|
;; |
|
|
|
fhs) |
|
|
|
# no local level |
|
|
|
echo "-e '/\/local\(\|\/.*\)$/d;' $@" |
|
|
|
;; |
|
|
|
gcc) |
|
|
|
echo "-n -e '/\.so/p'" # only the libraries |
|
|
|
;; |
|
|
|
*) |
|
|
|
echo "$@" |
|
|
|
;; |
|
|
|
esac |
|
|
|
} |