Create an Opkg Repository

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

This topic describes how to create an Opkg repository. This is required before deploying and resolving Opkg packages. There are three primary types of repositories:

  • Local repositories: Store and share first- and second-party packages with your organization

  • Remote repositories: Download packages from Opkg feeds and other remote locations or Artifactory instances

  • Virtual repositories: Aggregate remote and local repositories, enabling your organization to scale by providing a single URL that provides access to multiple repositories and types

For more information on JFrog repositories, see Repository Management Overview.

Prerequisite: You need Admin or Project Admin permissions in Artifactory to create a repository. If you don't have Admin permissions, the option will not be available.

To create an Opkg repository:

  1. In the Administration tab, click Repositories | Create a Repository.

    CreateAnsibleLocal1.png
  2. Select the type of repository you want to create: local, remote, or virtual.

  3. Select the opkg package type.

  4. Configure the required fields for the repository:

    • For local repositories, in the Repository Key field, type a meaningful name for the repository. For example, opkg-local. For more information on local repositories and their settings, see Local Repositories.

    • For remote repositories, verify the Repository URL and update as needed. For more information on remote repositories and their settings, see Remote Repositories.

      You can set the repository URL to point to a specific Opkg feed, like http://downloads.openwrt.org/chaos_calmer/15.05/adm5120/rb1xx/packages/luci, or point to a base level like http://downloads.openwrt.org/chaos_calmer/15.05/ and specify feeds in the client's opkg.conf file.

    • For virtual repositories, select one or more local or remote repository types to include in the virtual repository. For more information on virtual repositories and their settings, see Virtual Repositories.

  5. Click Create Repository. The repository is created and the Repositories window is displayed.