ipk

package
v2.37.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package ipk implements nfpm.Packager providing .ipk bindings.

IPK is a package format used by the opkg package manager, which is very similar to the Debian package format. Generally, the package format is stripped down and simplified compared to the Debian package format. Yocto/OpenEmbedded/OpenWRT uses the IPK format for its package management.

Index

Constants

This section is empty.

Variables

View Source
var Default = &IPK{}

Default ipk packager. nolint: gochecknoglobals

Functions

This section is empty.

Types

type IPK

type IPK struct{}

IPK is a ipk packager implementation.

func (*IPK) ConventionalExtension

func (*IPK) ConventionalExtension() string

ConventionalExtension returns the file name conventionally used for IPK packages

func (*IPK) ConventionalFileName

func (*IPK) ConventionalFileName(info *nfpm.Info) string

ConventionalFileName returns a file name according to the conventions for ipk packages. Ipk packages generally follow the conventions set by debian. See: https://manpages.debian.org/buster/dpkg-dev/dpkg-name.1.en.html

func (*IPK) Package

func (d *IPK) Package(info *nfpm.Info, ipk io.Writer) error

Package writes a new ipk package to the given writer using the given info.

func (*IPK) SetPackagerDefaults

func (*IPK) SetPackagerDefaults(info *nfpm.Info)

SetPackagerDefaults sets the default values for the IPK packager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL