Browse Source

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

user/chris/old/ruby
Alejandro Mery 15 years ago
committed by Alejandro Mery
parent
commit
027e76be49
3 changed files with 2 additions and 7 deletions
  1. +1
    -7
      base/module-init-tools/module-init-tools.conf
  2. +1
    -0
      base/module-init-tools/overlay.d/D%sbindir_lsmod.ln
  3. +0
    -0
      base/module-init-tools/overlay.d/etc_modprobe.d_modprobe.conf.txt

+ 1
- 7
base/module-init-tools/module-init-tools.conf

@ -20,13 +20,7 @@ set_confopt
# apply the patches defined in the module-init-tools.desc # apply the patches defined in the module-init-tools.desc
var_append patchfiles ' ' "`match_source_file -p patch`" 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 #pkginstalled docbook-tools || \ # needs stage filter and proper priorization
var_append makeopt ' ' DOCBOOKTOMAN=true var_append makeopt ' ' DOCBOOKTOMAN=true

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

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

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


Loading…
Cancel
Save