Browse Source

module-init-tools: moved etc_modprobe.conf within modprobe.d/ - cleaned by using overlay_apply

karasz/new-early
Alejandro Mery 16 years ago committed by Alejandro Mery
parent
commit
027e76be49
  1. 8
      base/module-init-tools/module-init-tools.conf
  2. 1
      base/module-init-tools/overlay.d/D%sbindir_lsmod.ln
  3. 0
      base/module-init-tools/overlay.d/etc_modprobe.d_modprobe.conf.txt

8
base/module-init-tools/module-init-tools.conf

@ -20,13 +20,7 @@ set_confopt
# apply the patches defined in the module-init-tools.desc
var_append patchfiles ' ' "`match_source_file -p patch`"
mit_pm() {
ln -fvs $bindir/lsmod $root$sbindir/lsmod
cp -vf "$confdir/etc_modprobe.conf.txt" "$root/etc/modprobe.conf"
}
hook_add postmake 5 "mit_pm"
hook_add postmake 5 "overlay_apply -q '$confdir/overlay.d'"
#pkginstalled docbook-tools || \ # needs stage filter and proper priorization
var_append makeopt ' ' DOCBOOKTOMAN=true

1
base/module-init-tools/overlay.d/D%sbindir_lsmod.ln

@ -0,0 +1 @@
D_bindir/lsmod

0
base/module-init-tools/etc_modprobe.conf.txt → base/module-init-tools/overlay.d/etc_modprobe.d_modprobe.conf.txt

Loading…
Cancel
Save