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

Re: Which how to for apt-get repository on CentOS?



Boyd Stephen Smith Jr. wrote:
On Tuesday 04 May 2010 23:18:13 Ignacio Valdes wrote:
  
Hi all, Building an apt-get repository on CentOS. There seems to be
many documents on apt-get repository building but they point to many
different commands like apparently deprecated dpkg-scanfiles, reprepro
and others. Which one is the correct one? -- IV
    
We've been using this small script, that manages both our CentOS and Debian repo:

http://git.gplhost.com/gitweb/?p=mgmt-scripts.git;a=blob;f=scripts/scan_archive;h=db7647732b989b35ae7d8a48c80a48ecf67e4612;hb=ecc8972e2e2537387d3707cd73aa84625393836d

Just run the script each time you add a new file in
/home/ftp/debian/pool/$release

It's very basic, but we don't feel we need more. It has been inspired by
various tutorials. Note that of course, you need to have a pgp key
generated for the user using the script, so you can sign your release file.

I hope that helps,

Thomas


Reply to: