On Mon, Aug 11, 2003 at 04:16:31PM -0700, Eric Winger wrote:
> thx to all for the responses. I'm slowly making progress here. Could
> someone distinguish the configuration section and how that applies to
> debian packages for me (the eternal newbie).
There are several "configuration sections" you need to take into account.
They are typically split into "package creation", "package
"runtime" configuration. Package creation config is what's in the
directory of your package "source". Installation time config are
"maintainer scripts" - they consist of the preinst, postinst, prerm, and
postrm scripts run at the appropriate time during configuration, and also
the debconf scripts (which I'm presuming you won't need at this stage).
> I was under the impression that the configuration rules were what the
> package would run after it was loaded. However, when I did a fakeroot
> against my simplistic package, it actually ran the config rules which
> surprised me.
"Did a fakeroot" as 'in ran "fakeroot debian/rules" in your package
directory'? Then the config files you're talking about are probably
debian/rules and friends.
> Can someone clarify. I'm looking to create the simple .deb package,
> put in a 'post load' method which runs the binary i'm putting in the
At installation time? You'll want to add an appropriate command to the
postinst script. That file gets run after the package's files are
into their respective locations in the filesystem.
> Also (really really stupid question).. where do i get these sources for
> the packages you guys mentioned?
The easiest way for packages in the actual archive is to run 'apt-get
<package>'. That'll download the sources and unpack them into the
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact