[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bundling .debs (in a .deb?)



On Mon, Jan 13, 2003 at 04:24:31PM +0100, Martin Schulze wrote:
> Steve Traugott wrote:
> > Silly question -- if I'm bundling multiple .debs up inside another
> > ..deb, which is the better place to put them:
> > 
> > - in /tmp inside data.tar.gz, where they'll land in /tmp on the target
> >   and be removed by the postinstall
> 
> NEVER use files in /tmp with predictable names unless you want to
> be vulnerable to a simple symlink attack.

Oops.  Thanks.

> If you are creating a deb of debs, I'd opt for a multideb that
> contains all files, scripts integrated into one single large
> .deb instead of one large .deb file that contains more .deb
> packages inside.  However, maybe I haven't yet understood what
> you want to achieve.

That originally seemed like it would be complicated enough that
automation of the build might be a problem...  But you aren't the
first person to suggest it.  Thinking.

Steve
-- 
Stephen G. Traugott 
UNIX/Linux Infrastructure Architect, TerraLuna LLC
stevegt@TerraLuna.Org   
http://www.stevegt.com



Reply to: