[maemo-developers] External Repository and HAM

From: Marius Vollmer marius.vollmer at nokia.com
Date: Mon Mar 8 15:42:10 EET 2010
ext Benoît HERVIER <khertan at khertan.net> writes:

> (or even automatically configures your
>  new repository and package domain, but you didn't hear that from me, and
>  if you do that, please don't do it silently).
>
> Anyway it ll not past QA Testing :)

Why wouldn't it?  Do we have a policy against this?  Ahh, you probably
mean there is a chicken-and-egg here: you can't upload to Extras anymore
in any case.  Maybe you need to cripple your last release to get it to
build and past QA, but maybe that is worth it...

>>create a new "package domain" for it.
>
> Have you some explanations on how to do that ? or maybe link ?

I think I'll write something up in the immediate future.  Lucas Maneos
has done it for Diablo updates, please try to Google that.

Very roughly:

 - create a repository
 - create a GnuPG keypair and sign the repo with it
 - create a package that
   - installs the public key with apt-key add
   - drops a file into /usr/share/hildon-application-manager/domains/
     that looks like this:

     <config>
      <domain>
       <name>unique-name</name>
       <key>fingerprint-of-keypair</key>
       <trust-level>250</trust-level>
      </domain>
     </config>
 

  - create a .install file for the package above
  - tell people to install that .install file.

After this, you can upload packages to the repository and HAM will allow
them to update packages from Extras.
More information about the maemo-developers mailing list