diff options
author | Chris Larson <clarson@kergoth.com> | 2003-12-02 19:17:25 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-12-02 19:17:25 +0000 |
commit | 4d2911a2ccaa450e9f541d87afe67e65b5c10d45 (patch) | |
tree | 0224ca83458c388d163a1cdd67a2532a3c0553e5 /sysvinit | |
parent | 5f3bc250dffc3cf371fcf9be3a26234613fadedb (diff) |
Install update-rc.d into staging in the sysvinit build, and add calls to it in prerm/postinst of netbase. Starting to get our rcX.d dirs populated.
BKrev: 3fcce545W6XMv3BuT32vqU9mTBMR5g
Diffstat (limited to 'sysvinit')
-rw-r--r-- | sysvinit/sysvinit_2.85.oe | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysvinit/sysvinit_2.85.oe b/sysvinit/sysvinit_2.85.oe index b5683fd70b..e2d5cf3997 100644 --- a/sysvinit/sysvinit_2.85.oe +++ b/sysvinit/sysvinit_2.85.oe @@ -48,13 +48,16 @@ do_install () { install -m 0755 ${WORKDIR}/update-rc.d/update-rc.d ${D}/${sbindir}/ } +do_stage () { + install -m 0755 ${WORKDIR}/update-rc.d/update-rc.d ${STAGING_BINDIR}/ +} + pkg_postinst () { set -e - if [ X"$1" != Xconfigure ]; then - exit 0 - fi - +# if [ X"$1" != Xconfigure ]; then +# exit 0 +# fi # FIXME: use update-alternatives.. but what if the user doesnt have it? # if [ -n "`which update-alternatives 2>/dev/null`" ]; then # update-alternatives blah |