Community Repository

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Add repositories by installing repository packages)
m (Add repository manually)
Line 52: Line 52:
 
  > sudo ifconfig usb0 192.168.0.200
 
  > sudo ifconfig usb0 192.168.0.200
 
  > scp community-repos.conf root@192.168.0.202:/etc/opkg/
 
  > scp community-repos.conf root@192.168.0.202:/etc/opkg/
 +
* Let your Neo connect to the Internet
 +
** For USB users:
 +
> ssh root@192.168.0.202
 +
> echo 1 | sudo tee  /proc/sys/net/ipv4/ip_forward
 +
> sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
 +
> scp /etc/resolv.conf root@192.168.0.202:/etc/
 +
** For geek users:
 +
> ssh root@192.168.0.202
 +
> iwlist eth0 scan
 +
Find a usable AP lets say OpenMind (Support it's an open AP)
 +
> iwconfig eth0 essid OpenMind
 +
> udhcpc eth0
 +
Then pray, if successfull, remove default gw *twice*.
 +
> route -n  # to see your gateway of eth0 say 192.168.1.1
 +
> route del default
 +
> route del default
 +
> route add default gw 192.168.1.1 eth0
 +
Then you can ping wiki.openmoko.org for testing :)
 +
** For GUI user:
 +
Click Setting
 +
Click WiFi
 +
Find an AP
 +
Click that AP
 +
Input password if needed
 +
pray
 +
 
* refresh the opkg metadata database
 
* refresh the opkg metadata database
> ssh root@192.168.0.202
 
 
  after connecting to Neo
 
  after connecting to Neo
 
  > opkg update
 
  > opkg update

Revision as of 16:49, 5 August 2008

--Tick 03:46, 23 June 2008 (UTC)This page may change rapidly recently. Alpha 0.1.0

Contents

Community Repository

There is a community repository that every one can release your projects on Neo.

Sites

The Repository: http://downloads.openmoko.org/repository/Multiverse

The mailing list: http://lists.openmoko.org/mailman/listinfo/community-repository

How to release packages

You can release your package with ipk file.

Package Tags

If you want your package to be shown on Assassin, please add tag message on your package.

Category Tag
Communication group::communication
Development group::programming
Games group::games
Maps group::maps
Miscellaneous group::unknown
Network group::network
Repos group::repos
  • For OE user, please adding the Tag by adding one line in your bb file

For example:

PKG_TAGS_${PN} = "group::games"

Add Repository on Neo

Add repositories by installing repository packages

  • The community-repository is installed by default in OM2008.8.

Add repository manually

  • create a file, here we call it community-repos.conf
> echo "arch community-repos 50" > community-repos.conf
> echo "src community-repos http://downloads.openmoko.org/repository/Multiverse/" >> community-repos.conf
  • connect to your Neo with USB
> sudo ifconfig usb0 192.168.0.200
> scp community-repos.conf root@192.168.0.202:/etc/opkg/
  • Let your Neo connect to the Internet
    • For USB users:
> ssh root@192.168.0.202
> echo 1 | sudo tee  /proc/sys/net/ipv4/ip_forward
> sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
> scp /etc/resolv.conf root@192.168.0.202:/etc/
    • For geek users:
> ssh root@192.168.0.202
> iwlist eth0 scan
Find a usable AP lets say OpenMind (Support it's an open AP)
> iwconfig eth0 essid OpenMind
> udhcpc eth0
Then pray, if successfull, remove default gw *twice*.
> route -n  # to see your gateway of eth0 say 192.168.1.1
> route del default
> route del default
> route add default gw 192.168.1.1 eth0
Then you can ping wiki.openmoko.org for testing :)
    • For GUI user:
Click Setting
Click WiFi
Find an AP
Click that AP
Input password if needed
pray
  • refresh the opkg metadata database
after connecting to Neo
> opkg update

We need your help

We need reviewers who can review new packages. If you want to help, please send e-mail to the mailing list community-repository@lists.openmoko.org .


Reviewers must have the following:

  • an account on projects.openmoko.org
  • ssh public key on projects.openmoko.org
  • basic svn skills
  • basic opkg skills

Openmoko really appreciates your help!

 Current Reviewers
 Tick

Review Packages

The reviewer will check if there have new packages on the mailing list. If you are reviewer and want to review that package

  • reply that mail, and say you want to review that
  • check if the package follows the policy
  • download the package on projects.openmoko.org
  • install that package to see if
    • installable?
    • executable able?
    • functions the claimed works actually works?
    • If it do something bad?
    • uninstall it and see if everything still ok?
  • if the package is okay, put the package in this file and the package will shown next day.

Review Policy

  • Packages in this repository shall not in OM repository
  • Program shall not collect user information and send to others unless it has very clear notification
  • Program shall not destroy the system
  • All packages shall be run-able on Neo
  • The package file name should refer which version of the project is compiled.
Personal tools

--Tick 03:46, 23 June 2008 (UTC)This page may change rapidly recently. Alpha 0.1.0

Community Repository

There is a community repository that every one can release your projects on Neo.

Sites

The Repository: http://downloads.openmoko.org/repository/Multiverse

The mailing list: http://lists.openmoko.org/mailman/listinfo/community-repository

How to release packages

You can release your package with ipk file.

Package Tags

If you want your package to be shown on Assassin, please add tag message on your package.

Category Tag
Communication group::communication
Development group::programming
Games group::games
Maps group::maps
Miscellaneous group::unknown
Network group::network
Repos group::repos
  • For OE user, please adding the Tag by adding one line in your bb file

For example:

PKG_TAGS_${PN} = "group::games"

Add Repository on Neo

Add repositories by installing repository packages

  • The community-repository is installed by default in OM2008.8.

Add repository manually

  • create a file, here we call it community-repos.conf
> echo "arch community-repos 50" > community-repos.conf
> echo "src community-repos http://downloads.openmoko.org/repository/Multiverse/" >> community-repos.conf
  • connect to your Neo with USB
> sudo ifconfig usb0 192.168.0.200
> scp community-repos.conf root@192.168.0.202:/etc/opkg/
  • refresh the opkg metadata database
> ssh root@192.168.0.202 
after connecting to Neo
> opkg update

We need your help

We need reviewers who can review new packages. If you want to help, please send e-mail to the mailing list community-repository@lists.openmoko.org .


Reviewers must have the following:

  • an account on projects.openmoko.org
  • ssh public key on projects.openmoko.org
  • basic svn skills
  • basic opkg skills

Openmoko really appreciates your help!

 Current Reviewers
 Tick

Review Packages

The reviewer will check if there have new packages on the mailing list. If you are reviewer and want to review that package

  • reply that mail, and say you want to review that
  • check if the package follows the policy
  • download the package on projects.openmoko.org
  • install that package to see if
    • installable?
    • executable able?
    • functions the claimed works actually works?
    • If it do something bad?
    • uninstall it and see if everything still ok?
  • if the package is okay, put the package in this file and the package will shown next day.

Review Policy

  • Packages in this repository shall not in OM repository
  • Program shall not collect user information and send to others unless it has very clear notification
  • Program shall not destroy the system
  • All packages shall be run-able on Neo
  • The package file name should refer which version of the project is compiled.