summaryrefslogtreecommitdiffstats
path: root/opkg-build
AgeCommit message (Collapse)Author
2016-10-05opkg-build: Add support for alternative compression schemes.Andrew Shadura
Add -Z with the same semantics as dpkg-deb -Z: Specify which compression type to use for data.tar member when building the package. Allowed values are gzip, bzip2 and xz. The default value is gzip. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-10-05opkg-build: Unify tabulation in the option parser.Andrew Shadura
Align case/esac options assuming tabulation size 8. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-05-10opkg-build: return error if Version is missingAlejandro del Castillo
If Version is missing in a control file, opkg-build reports an error to stdout, but returns 0. Fix condition on pkg_appears_sane to properly return an error if Version is missing. Suggested-by: Thomas de Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-04-26opkg-build: re-do find/ls code to not fail on filenames with spacesDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-11opkg-build: Exit when fail to list files.Aníbal Limón
We have an issue when ls segfaults in some cases [1] so it's better to detect the failure at this level instead of continue the build process. [YOCTO #8926] [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8926#c0 Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2014-06-05opkg-build: Fix spelling mistakePaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-06-05opkg-build: Fix logical error in commentPaul Barker
I knew what I meant, but hit commit too fast! Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-06-05opkg-build: Detect if tar supports '--format' optionThomas Ingleby
* Some options of GNU tar do not exist on other implementations Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-03-01opkg-build: create dpkg-deb compatible ipks/opks againThilo Cestonaro
With a change from last august in dpkg-deb, the packages generated by opkg-build will not be accepted by dpkg-deb anymore. The change disallows that the data.tar.gz is packed into the ipk/opk before the control.tar.gz. For details have a look here: http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=commitdiff;h=547dca4c3ff23df5dfa554f1943b371cd7056ee4 For details which order is correct, see "man 5 deb", but in short it is: debian-binary, control.tar.gz and data.tar.gz Signed-off-by: Thilo Cestonaro <thilo@cestona.ro> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-03-26opkg-build: Remove bashism in sh scriptRichard Purdie
Otherwise this fills logs with output on systems with dash as /bin/sh, we might as well execute cleanly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-24opkg.py/opkg-build: fix creation of tar archivesSteffen Sledz
Since openSUSE 12.2 the installed tar uses posix instead of gnu encoding by default. This format is not fully supported by opkg and results in ipk packages not installable at the target. Collected errors: * get_header_tar: Unknown typeflag: 0x78: Success. * get_header_tar: Unknown typeflag: 0x78: Success. * get_header_tar: Unknown typeflag: 0x78: Success. * extract_archive: Don't know how to handle /var/lib/opkg/tmp/opkg-mg997m/chicken-bin-fGRvr4/PaxHeaders.17512/.: No such file or directory. * get_header_tar: Unknown typeflag: 0x78: No such file or directory. * get_header_tar: Unknown typeflag: 0x78: No such file or directory. ... Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-19Option "C" ist shown in usage() and implemented, but was missing in getopts. ↵Ondics Githubler
Added "C". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2008-08-02[opkg-build] Add -O to the getopt list to make it a valid optionHolger 'Zecke' Freyther
- -O is now a honored option.
2008-07-28make ipk as default opk as an optionTick Chen
2008-07-28opkg-util make .opk as the default file extension Tick Chen
"opkg-build -i ..." means creating .ipk file for backward support
2008-07-18[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of ↵Holger 'Zecke' Freyther
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.