Logo
Explore Help
Register Sign In
Nemcio/opkg-utils
1
0
Fork 0
You've already forked opkg-utils
mirror of https://git.yoctoproject.org/git/opkg-utils synced 2026-03-21 17:21:28 +01:00
Code Issues Packages Projects Releases Activity
Files
b9eec00a67f13ad9f9526caf591578b40d73a391
opkg-utils/makePackage

15 lines
374 B
Plaintext
Raw Normal View History

[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of o-hand.com I've attached a first attempt at this, its basically a small set of helper scripts which OE/Poky use when working with ipks. I've applied the various OE improvements and tweaks and removed a ton of cruft we don't need.
2008-07-18 11:29:53 +00:00
#!/usr/bin/python
# The general algorithm this program follows goes like this:
# Run tar to extract control from control.tar.gz from the package.
# Insert the filename, size, and md5 lines before the description.
# Call it like this:
opkg-util make .opk as the default file extension "opkg-build -i ..." means creating .ipk file for backward support
2008-07-28 10:29:45 +00:00
# find . -name \*.opk | xargs -n 1 makePackage > Packages
[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of o-hand.com I've attached a first attempt at this, its basically a small set of helper scripts which OE/Poky use when working with ipks. I've applied the various OE improvements and tweaks and removed a ton of cruft we don't need.
2008-07-18 11:29:53 +00:00
import sys
import opkg
fn = sys.argv[1]
pkg = opkg.Package(fn)
2to3: print fixes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-03-29 14:45:24 +02:00
print(pkg)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 54ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API