From 69dc32c10ce39d3e9bfe50f2bb732cf0f0c6966b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 21 Sep 2008 14:30:32 -0400 Subject: [PATCH] rocknet: moved creation of runit symlink to overlay.d/ --- overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln | 1 + overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln | 1 + parse-config | 12 ------------ 3 files changed, 2 insertions(+), 12 deletions(-) create mode 100644 overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln create mode 100644 overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln diff --git a/overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln b/overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln new file mode 100644 index 0000000..68d1d1e --- /dev/null +++ b/overlay.d/pkgs/etcnet/etc_runit_1.d_15-network.ln @@ -0,0 +1 @@ +/sbin/init.d/network diff --git a/overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln b/overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln new file mode 100644 index 0000000..68d1d1e --- /dev/null +++ b/overlay.d/pkgs/rocknet/etc_runit_1.d_15-network.ln @@ -0,0 +1 @@ +/sbin/init.d/network diff --git a/parse-config b/parse-config index 3b39203..e66467a 100644 --- a/parse-config +++ b/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 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 . target/$SDECFG_TRG_MNEMOSYNE/overlay.in