aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ipkg-make-index.sh
Commit message (Collapse)AuthorAgeFilesLines
* scripts: ipkg-make-index.sh: dereference symbolic linksJo-Philipp Wich2019-07-221-1/+1
| | | | | | | | | | | | | | | | Use `stat -L` instead of `ls -l` to follow symbolic links when obtaining the file size of .ipk archives. Without this change, the size of the symlink, not the size of the target file is encoded in the package index file. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit ece5cab743f9df6c9655d6117e92fda110292173) Fixes: e6af9c017b0c ("opkg: bump to version 2019-06-14") [ rmilecki: this has to be backported due to the recent opkg update and cb6640381808 ("libopkg: check for file size mismatches") to fix false "opkg_install_pkg: Package size mismatch" errors ] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-051-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/Makefile & ipkg-make-index.sh: add full package data listAlberto Bursi2016-12-261-1/+1
| | | | | | | | | | | | | | | | | | | The external script used to generate the package lists for the LEDE wiki's table of packages [1] and package indexes [2] requires a "Source:" field in the package lists to find package makefiles. The package makefiles are used to read the package's Category and Submenu. The "Source:" field was removed in commit b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e to reduce package list sizes and lessen opkg issues in low ram devices. Add a separate package list file with full data to be used by the wiki's script. It's called Packages.manifest and isn't compressed as it's not necessary. 1. https://lede-project.org/packages/start 2. https://lede-project.org/packages/index/start Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* ipkg-make-index.sh: drop a few non-essential fieldsFelix Fietkau2016-12-141-1/+1
| | | | | | Saves some more space on the package index Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipkg-make-index.sh: drop md5sum from package indexFelix Fietkau2016-12-141-3/+0
| | | | | | | We have switched opkg to sha256 a long time ago, and shrinking package lists is useful for systems that are running low on RAM Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts: ensure that ipkg-make-index.sh exits successfullyJo-Philipp Wich2015-05-271-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45771
* build: allow creating empty package feedsFelix Fietkau2015-05-261-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45757
* ipkg-make-index: use more backwards-compatible openssl call for SHA256Steven Barth2013-10-171-1/+1
| | | | SVN-Revision: 38440
* opkg: add support for SHA256 verificationSteven Barth2013-10-041-0/+2
| | | | | | | based on a patch by Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 38302
* package/index: filter out the libc package from the indexFelix Fietkau2012-06-111-0/+1
| | | | SVN-Revision: 32187
* scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]Felix Fietkau2012-05-131-1/+1
| | | | SVN-Revision: 31708
* build: prevent the virtual "kernel" package from leaking into the package ↵Felix Fietkau2012-05-131-0/+3
| | | | | | index to make dependency checks fail on kernel config mismatch SVN-Revision: 31704
* Never write errors to stdout from ipkg-make-index.shJo-Philipp Wich2011-02-231-2/+2
| | | | | | | | | | | | | | Since the output of ipkg-make-index.sh is unconditionally used to create the Packages file, sending the errors into this file is unacceptable (both because they are not shown to users and because they make an invalid Packages file). For incorrect invocation, write to stderr. For errors from which, send to /dev/null with stdout. Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com> SVN-Revision: 25677
* ipkg-make-index: remove leading './' from the Filename fieldGabor Juhos2009-03-291-1/+1
| | | | SVN-Revision: 15069
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+24