On Tue, Apr 04, 2006, Dennis McRitchie wrote:

> I need to add a couple of files (e.g., environment-setting scripts that
> are similar to the long version of the "opa" script) to
> openpkg-*-*.src.sh so that they get copied to the openpkg tree once the
> binary shell script is built (from the source script) and "installed". I
> also need to modify etc/rc.func for reasons I'll explain in another
> email.
>
> I would prefer not to create another RPM just for this purpose, since
>
> eval `$prefix/etc/rc --eval all env`
>
> is part of the base package, and I would like the opa-like wrapper
> script to be similarly available.
>
> What is the recommended way to re-package openpkg-*-*.src.sh ?

Well, install packages "openpkg-tools" and "cvs", run "openpkg dev
setup", hack in your stuff into the "openpkg" package by editing
under $HOME/openpkg/src/openpkg/ and then roll your own custom
openpkg-*-*.src.{sh,rpm} with the command "opd bs" (build-source).

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to