[7993] in athena10

home help back first fref pref prev next nref lref last post

Creating tiny packages and apt repos for testing

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Jul 30 22:39:23 2011

Date: Sat, 30 Jul 2011 22:39:14 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: debathena@mit.edu
Message-ID: <alpine.DEB.2.00.1107302224120.11128@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

I got annoyed at equivs not supporting Breaks: lines 
<http://bugs.debian.org/571638> so I wrote a small shell script to spit 
out the minimal debhelper-7-rules-file-using package. You can then edit 
debian/control the way you'd edit an equivs control file and run debuild, 
or you can do more real things with the package, since it is a real 
package and not an equivs package.

I also got annoyed at apt not really being able to install packages files 
on local disk, so I wrote an even tinier shell script to add all packages 
(recursively) in the current directory to an apt repo and add it via the 
file protocol to sources.list. It turns out dpkg-scanpackages does this, 
it's just easier to have the two-line shell script to remember for you 
what the command is and what the sources.list line should be.

Both are in the geofft locker, the former as /mit/geofft/bin/newpackage, 
the latter as /mit/geofft/bin/fakerepo. For those of you without /mit, see 
http://web.mit.edu/geofft/arch/common/bin/.

-- 
Geoffrey Thomas
geofft@mit.edu

home help back first fref pref prev next nref lref last post