FW: [BusyBox] using dpkg with busybox

Simon Block sblock at computer.org
Tue Jul 19 16:41:08 UTC 2005


Hi Kim,

Regarding this post:

I'm having problems getting dpkg on BB to run a postinst or preinst script.
I added the patch to our src tree and that solved the looping problem. Dpkg
will install the files ok but it does not run the <pkgname>.preinst or
<pkgname>.postinst scripts that I include in the DEBIAN directory in the
archive with the control file. It may be that I am not packing the archive
correctly. Does the control file have to reference the scripts or is there
existence and filename enough? There is very little info on what the
structure of the archive should be apart from the control file format. 

Does BB dpkg support the prerm and postrm scripts too?

Any ideas? It would be handy if I had a small, dependency free package
file I could examine that includes a script. :)

Cheers and thanks for any help!





More information about the busybox mailing list