Browse Source

Improved initramfs output format to exclude by default aclocal/, opt/*/{doc,info,man} and gtk-doc/ and to not remove empty dirs from /dev

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
95ab330f91
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      target/share/initramfs/build.sh

+ 5
- 3
target/share/initramfs/build.sh

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/share/initramfs/build.sh
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2007 - 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -27,9 +27,11 @@ INITRAMFS_POSTOVERLAY_HOOK=
# Lists
#
INITRAMFS_INSTALL_PACKAGES=
INITRAMFS_INSTALL_PATTERN="-e '/ var\/adm/ d;' -e '/\.\(h\|o\|a\|a\..*\|la\|pc\)$/d;' -e '/ usr\/share\/\(doc\|info\|man\)\//d;'"
INITRAMFS_INSTALL_PATTERN="-e '/ var\/adm/ d;' \
-e '/\.\(h\|o\|a\|a\..*\|la\|pc\)$/d;' -e '/\/aclocal\//d;' \
-e '/ usr\/share\/\(doc\|info\|man\)\//d;' -e'/ opt\/[^\/]*\/\(doc\|info\|man\)\//d;' -e '/\/gtk-doc\//d;'"
INITRAMFS_EMPTY_PATTERN="-e '/\.\/lib\/udev\/devices\//d;'"
INITRAMFS_EMPTY_PATTERN="-e '/\.\/lib\/udev\/devices\//d;' -e '/\.\/dev\//d;'"
# source library, and the target specific overlay
#

Loading…
Cancel
Save