Browse Source

rocknet: moved creation of runit symlink to overlay.d/

legacy/next/gcc
Alejandro Mery 16 years ago
parent
commit
69dc32c10c
3 changed files with 2 additions and 12 deletions
  1. +1
    -0
      overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln
  2. +1
    -0
      overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln
  3. +0
    -12
      parse-config

+ 1
- 0
overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln

@ -0,0 +1 @@
/sbin/init.d/network

+ 1
- 0
overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln

@ -0,0 +1 @@
/sbin/init.d/network

+ 0
- 12
parse-config

@ -20,18 +20,6 @@ mnemosynedir=$base/target/$SDECFG_TRG_MNEMOSYNE
[ ! -f $mnemosynedir/pkg_patch/$pkg.patch ] || var_append patchfiles ' ' $mnemosynedir/pkg_patch/$pkg.patch [ ! -f $mnemosynedir/pkg_patch/$pkg.patch ] || var_append patchfiles ' ' $mnemosynedir/pkg_patch/$pkg.patch
unset mnemosynedir unset mnemosynedir
# postinstall extra hackery
hook_add postinstall 5 'mnemosyne_postinstall'
mnemosyne_postinstall() {
local x=
case "$pkg" in
rocknet|etcnet)
# network
ln -svnf /sbin/init.d/network "$root/etc/runit/1.d/15network"
;;
esac
}
# check overlays # check overlays
. target/$SDECFG_TRG_MNEMOSYNE/overlay.in . target/$SDECFG_TRG_MNEMOSYNE/overlay.in

Loading…
Cancel
Save