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

Re: personal debian package repository



On Wed, Sep 02, 2009 at 10:19:15AM -0700, Don Raikes wrote:
> This may seem like an odd question, but I am working on some
> debian packages, and would like to put them onto a personal
> package repository so that I can include them in a liveCD I
> maintain.
[...]

I do this (assumed apt-ftparchive is installed and the debs and
source packages are in your cwd, and local gpg has access to your
signing key):

rm -f Contents.bz2 Contents.gz Packages.bz2 Packages.gz Release Release.gpg Sources.bz2 Sources.gz
apt-ftparchive contents . > Contents
bzip2 -k Contents
gzip -9 Contents
apt-ftparchive packages . > Packages
bzip2 -k Packages
gzip -9c Packages > Packages.gz
apt-ftparchive sources . > Sources
bzip2 -k Sources
gzip -9c Sources > Sources.gz
apt-ftparchive release . > Release
rm Packages Sources
gpg --armor --default-key ="Jeremy Stanley <fungi@yuggoth.org>" --detach-sign --output Release.gpg Release

Stick the results on any old webserver and use this path in the
sources.list:

deb http://fungi.yuggoth.org/path/to/debs ./

Hope that helps!
-- 
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org);
MUD(fungi@katarsis.mudpy.org:6669); WWW(http://fungi.yuggoth.org/); }


Reply to: