Skip to content

Instantly share code, notes, and snippets.

@armanddp
Created July 22, 2010 12:29
Show Gist options
  • Save armanddp/485903 to your computer and use it in GitHub Desktop.
Save armanddp/485903 to your computer and use it in GitHub Desktop.
e.g.
pkgtrans git-1.7.1-sol10-x86-local .
cd SMCgit
joe pkginfo
# Update Basedir
BASEDIR=/opt/csw
pkgadd -d .
The following packages are available:
1 SMCgit git
(x86) 1.7.1
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
# Note correct new size
pkgadd: ERROR: packaging file </tmp/SMCgit/pkginfo> is corrupt
file size <168> expected <166> actual
file cksum <13820> expected <13623> actual
# Amend pkgmap
1 i pkginfo 166 13820 1277360022
# Install package
pkgadd -d .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment