[maemo-developers] where might this old version be coming from

From: Guillem Jover guillem.jover at nokia.com
Date: Thu Oct 2 15:00:45 EEST 2008
On Thu, 2008-10-02 at 12:52:44 +0300, Eero Tamminen wrote:
> Guillem Jover wrote:
> > You mean something like dpkg-scanpackages or apt-ftparchive?
>
> According to man pages they would seem to do at least part of the work,
> but it wasn't on quick reading clear how I would actually use them
> (I have no experience with maintaining or creating repositories).
>
> For example if:
> - I've built in Scratchbox ARMEL packages "a.deb" & "b.deb"
> - I'am outside of Sbox in the directory where these packages are
> - the device memory card is mounted to /media/n810/ on my Debian
>   Desktop
>
> What I need to do to get a "repository" created under
> /media/n810/repository/?

Something like:

  $ mkdir -p /media/n810/repository
  $ cp $sboxdir/*.deb /media/n810/repository/
  $ cd /media/n810/repository/
  $ $packages_generator . | gzip -9 > Packages.gz

where packages_generator is either “dpkg-scanpackages” or
“apt-ftparchive packages”.

regards,
guillem

More information about the maemo-developers mailing list