Browse Source

* changed Idunn to also exculde usr/share/info

* enhanced Idunn to inject overlay/ into the template
legacy/try1
amery 20 years ago
parent
commit
2593a7946c
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      build.sh

+ 6
- 1
build.sh

@ -12,11 +12,16 @@ INITRD_MODULES="$INITRD_MODULES ext2 ext3 reiserfs"
idunn_initrd_customize() {
local root="$1" x=
echo_status "Cleaning up..."
for x in usr/share/doc usr/share/man var/adm
for x in usr/share/{doc,man,info} var/adm
do
echo_status " /$x"
rm -rf "$root/$x"
done
echo_status "Applying overlay..."
tar -C $base/target/$target/overlay -c -O . |
tar -C "$root" --same-owner --preserve -xf -
}
. $base/target/$SDECFG_TRG_MNEMOSYNE/build.sh

Loading…
Cancel
Save