Browse Source

* implemented idunn_initrd_customize() to filter out documentation, man pages and t2-metadata

* set INITRD_MODULES with the modules needed by speakerboxxx, plus a few standard modules
legacy/try1
amery 20 years ago
parent
commit
3db6c42028
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      build.sh

+ 8
- 6
build.sh

@ -1,13 +1,15 @@
INITRD_PACKAGES="busybox hotplug++ udev dropbear reiserfsprogs pciutils"
INITRD_CUSTOMIZE=idunn_initrd_customize
INITRD_CUSTOMIZE_KERNEL=idunn_initrd_customize_kernel
INITRD_MODULES="sata_sis ide_disk ide_generic r8169 ext2 ext3 ext3 reiserfs"
idunn_initrd_customize() {
local location="$1"
}
idunn_initrd_customize_kernel() {
local kv="$1" location="$2"
local location="$1" x=
echo_status "Cleaning up..."
for x in usr/share/doc usr/share/man var/adm
do
echo_status " /$x"
rm -rf "$location/$x"
done
}
. $base/target/$SDECFG_TRG_MNEMOSYNE/build.sh

Loading…
Cancel
Save