bbpak

package module
v0.0.0-...-89515dc Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: MIT Imports: 9 Imported by: 0

README

bbpack-info

Description

Reviewing packages within all recipes in Yocto is not the easiest task. The bbpak tool helps you to extract all the information from the packages within a Yocto build, and query all the information about packages of the currently compiled image, including patches tracking.

Usage

This is straightforward: install it somewhere in your /usr/local/bin or $HOME/bin and simply invoke it.

NAME:
   bbpak - Query installed packages in Yocto's BitBake

USAGE:
   bbpak [global options] command [command options] [arguments...]

VERSION:
   0.1 Alpha

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --path value, -p value      Path to the build
   --manifest value, -m value  Name of the manifest to reference package index
   --format value, -f value    Output in: csv, md, json, txt (default: "txt")
   --list, -l                  List available manifests (default: false)
   --help, -h                  show help (default: false)
   --version, -v               print the version (default: false)

Todo:

  • View single package thorough details
  • Patches review

Installation

You should compile it on your own or package it for your distribution of the day. 😉

  1. apt-get install golang-go
  2. git clone https://github.com/isbm/bbpack-info.git
  3. cd bbpack-info/cmd
  4. make

Enjoy.

Contribution

Ther fastest way to fix a bug or implement a $FEATURE of the day -- all is possible through your PRs: those are always welcome. Happy hacking.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBPakMatcher

type BBPakMatcher struct {
	// contains filtered or unexported fields
}

BBPakMatcher class

func NewBBPakMatcher

func NewBBPakMatcher(path string) *BBPakMatcher

Costructor

func (*BBPakMatcher) FindManifests

func (bb *BBPakMatcher) FindManifests() ([]string, error)

func (*BBPakMatcher) FindPhysicalPackages

func (bb *BBPakMatcher) FindPhysicalPackages()

func (*BBPakMatcher) FindRequestedPackage

func (bb *BBPakMatcher) FindRequestedPackage(pkgname string)

FindRequestedPackage finds the requested package

func (*BBPakMatcher) Format

func (bb *BBPakMatcher) Format(fmtype string)

func (*BBPakMatcher) ParseManifestPackages

func (bb *BBPakMatcher) ParseManifestPackages()

func (*BBPakMatcher) SetTargetManifest

func (bb *BBPakMatcher) SetTargetManifest(target string)

SetTargetManifest sets a manifest search criteria that will eventually turn it into a full path, if found.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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