summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
Commit message (Collapse)AuthorAgeFilesLines
* include: remove unused FeedPackageDir macro argumentsJo-Philipp Wich2016-04-221-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: choose package output directory based on repository infoJo-Philipp Wich2016-04-061-1/+1
| | | | | | | | | | | Use the new repository metadata field to choose the output directory of the final package archives. Non-sharable packages will be placed in the per-target package directory while the rest will be placed in a per-repository sub directory within the $OUTPUT_DIR/packages/$CPU_TYPE/ prefix. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package-ipkg.mk: fix typo (patch from #19540)Felix Fietkau2015-04-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45568
* package-ipkg.mk: fix typoFelix Fietkau2015-03-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45194
* package-ipkg.mk: add missing semicolon (#19381)Felix Fietkau2015-03-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45193
* build: ensure that preinst and postrm are executable (fixes #19372)Felix Fietkau2015-03-311-5/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45187
* tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/Felix Fietkau2015-03-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45129
* build: make postinst/prerm scripts executableFelix Fietkau2015-03-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45128
* Fix possible fail to check for dependenciesJohn Crispin2015-02-031-1/+1
| | | | | | | | | | | | Few characters in filenames (a plus sign, a dot) can be interpreted specially by grep. This can lead to the omission of missing package dependency. For example if we would have "some.file.so" then it matches also "some2file.so". -F switch off special meaning of any character and -x match against whole line. Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com> SVN-Revision: 44247
* include: don't use extended regex for deps checkingNicolas Thill2015-01-311-1/+1
| | | | | | | | Closes: #18851 Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44224
* include: use anchored patterns for dependency checkingJo-Philipp Wich2015-01-291-1/+1
| | | | | | | | | | Anchor search pattern when testing dependencies, otherwise the check may succeed in cases where it shouldn't, e.g. when matching "udp_tunnel.ko" against "ip6_udp_tunnel.ko". Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44207
* include: unbreak conffiles, postinst & prerm exportsJo-Philipp Wich2014-10-241-1/+5
| | | | | | | | | | | | Changeset r43017 reworked the ipkg control metadata generation but broke the export of conffiles, postinst and prerm defines. Change the code back to rely on shvar and shexport, this is required to properly output multiline contents. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43041
* build: only print skipped packages that were selectedFelix Fietkau2014-10-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43023
* kernel: use /bin/sh instead of bash to speed up processing of many kmod-* ↵Felix Fietkau2014-10-221-2/+2
| | | | | | | | packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43022
* build: clean up and optimize ipkg control generator codeFelix Fietkau2014-10-221-42/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43017
* build: optimize printing of disabled packagesFelix Fietkau2014-10-221-3/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43015
* build: propagate package conflicts to opkg metadataFelix Fietkau2014-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42771
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
* ipkg: add a default postinst/prerm scriptJohn Crispin2014-09-111-3/+14
| | | | | | | | | | | the postinst script enables/starts the init.d scripts upon package installation and installs the users required by the package. the prerm script stops and disables the init.d scripts. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42470
* include: add a meta data field for required system user:groupJohn Crispin2014-09-111-0/+1
| | | | | | | | | this is in preparation of having services run as !root with ACL'ed access to ubus. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42469
* build: fix removal of old .ipk files with CONFIG_PER_FEED_REPOJo-Philipp Wich2014-08-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42090
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-3/+7
| | | | | | | | | This changeset implements a new menuconfig option to generate separate repositories for each enabled package feed instead of one monolithic one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42002
* include: remove SDK exception from package install targetsJo-Philipp Wich2014-07-021-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41459
* build: allow packages to declare ABI versions to detect necessary package ↵Felix Fietkau2014-02-231-0/+7
| | | | | | | | | | | | | | | rebuilds If a package directly depends on another package that recently changed its ABI version, it will be cleaned up and rebuilt (assuming quilt is not used). This helps with packages that have no stable ABI, e.g. libubox, ubus, etc. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39720
* build: remove SourceFile and SourceURL from opkg metadata - they are useless ↵Felix Fietkau2013-12-131-2/+0
| | | | | | | | without the corresponding openwrt package directory Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39038
* build: print missing dependency error to stderrJonas Gorski2013-07-181-2/+2
| | | | | | | | Allow to see the actual error even when compiling with V=w/V=1 only. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37388
* build: add required exports for dependency trackingFelix Fietkau2013-07-181-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37387
* build: add kernel modules to package provides info (along with shared libs)Felix Fietkau2013-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37385
* include/package-ipkg.mk: print warnings/errors to stderrJonas Gorski2013-02-211-1/+1
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35715
* build: reduce the size of package metadata a bit to keep package list files ↵Felix Fietkau2012-12-221-10/+9
| | | | | | smaller SVN-Revision: 34871
* buildroot: isolate the .install stamp files for build variants (#12279)Jo-Philipp Wich2012-11-071-8/+8
| | | | | | | | This fixes missing embedded packages if multiple build variants are selected in the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and CONFIG_PACKAGE_ppp-multilink=m . SVN-Revision: 34106
* licensing: Add licensing metadata to many packages Two new variables are ↵Hamish Guthrie2012-10-191-0/+4
| | | | | | | | | introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated. The licensing metadata is put into the bin/<platform>/packages/Packages file for later parsing. A script for that is on it's way! SVN-Revision: 33861
* build: rework the package/install step - collect package install lists ↵Felix Fietkau2012-10-061-23/+9
| | | | | | during package/compile, then install all packages at once SVN-Revision: 33631
* package-ipkg.mk: flag packages as "ok" after installJo-Philipp Wich2012-07-151-1/+1
| | | | | | | By flagging compile-time-installed packages as "ok", they can be differentiated from runtime-installed packages on the target later on. SVN-Revision: 32739
* include/package-ipkg.mk: fix copying provides list introduced in r32332Felix Fietkau2012-06-141-1/+1
| | | | SVN-Revision: 32358
* package-ipkg.sh: copy the package provides list for all virtual PROVIDESJo-Philipp Wich2012-06-131-0/+1
| | | | SVN-Revision: 32332
* build: add checks for missing package dependenciesFelix Fietkau2012-06-111-0/+22
| | | | SVN-Revision: 32185
* build: generate a list of provided libraries for each ipkg file (includes ↵Felix Fietkau2012-06-101-3/+35
| | | | | | provided libraries from packages that the exporting package depends on) SVN-Revision: 32172
* include/package-ipkg.mk: fix typo in r29449Nicolas Thill2011-12-101-1/+1
| | | | SVN-Revision: 29497
* include/package-ipkg.mk: don't add vi backup files to packagesGabor Juhos2011-12-051-3/+3
| | | | | | Also remove trailing whitespaces. SVN-Revision: 29449
* include/package-ipkg.mk: fix typoNicolas Thill2011-10-261-1/+1
| | | | | | | Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d directory when the package supplied conffiles SVN-Revision: 28595
* build: move the SH_FUNC eval to the beginning of the opkg control file build ↵Felix Fietkau2011-04-031-2/+2
| | | | | | command chain, not in front of every single command SVN-Revision: 26432
* build: do not use shell calls to export empty opkg control files, speeds up ↵Felix Fietkau2011-04-031-0/+2
| | | | | | package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450 SVN-Revision: 26431
* deploy .ipk archives with --force-maintainer to ensure that configs are kept ↵Jo-Philipp Wich2011-03-061-0/+1
| | | | | | up-to-date in case they exist already for various reasons SVN-Revision: 25915
* set Installed-Size to 0 when preparing control, its substituted by ↵Jo-Philipp Wich2011-01-161-2/+1
| | | | | | ipkg-build later on SVN-Revision: 25022
* package-ipkg.mk: add support for "essential" package flag, fix typoJo-Philipp Wich2010-11-111-1/+2
| | | | SVN-Revision: 23959
* Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized ↵Michael Büsch2010-10-291-1/+1
| | | | | | build. SVN-Revision: 23709
* package-ipkg.mk: build sysupgrade keepfile hints out of conffiles not yet ↵Jo-Philipp Wich2010-10-051-0/+15
| | | | | | present in the package. This applies to config directories or files that do not exist but may be created by the user after package installation. SVN-Revision: 23257
* correct default package status info (install -> unknown) - fixes ↵Jo-Philipp Wich2010-10-041-1/+1
| | | | | | "opkg_conf_write_status_files: Internal error: package ... has a NULL dest" SVN-Revision: 23222
* prime .ipk control files with Status: field to introduce hold for post flash ↵Jo-Philipp Wich2010-10-021-0/+1
| | | | | | installed packages SVN-Revision: 23175