aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
Commit message (Collapse)AuthorAgeFilesLines
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove SDK exception from package install targetsJo-Philipp Wich2014-07-021-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37388 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add required exports for dependency trackingFelix Fietkau2013-07-181-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: reduce the size of package metadata a bit to keep package list files ↵Felix Fietkau2012-12-221-10/+9
| | | | | | smaller git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 . git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* licensing: Add licensing metadata to many packagesHamish Guthrie2012-10-191-0/+4
| | | | | | | | | | | | | | Two new variables are 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! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/package-ipkg.mk: fix copying provides list introduced in r32332Felix Fietkau2012-06-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] package-ipkg.sh: copy the package provides list for all virtual ↵Jo-Philipp Wich2012-06-131-0/+1
| | | | | | PROVIDES git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add checks for missing package dependenciesFelix Fietkau2012-06-111-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/package-ipkg.mk: fix typo in r29449Nicolas Thill2011-12-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/package-ipkg.mk: don't add vi backup files to packagesGabor Juhos2011-12-051-3/+3
| | | | | | Also remove trailing whitespaces. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] deploy .ipk archives with --force-maintainer to ensure that ↵Jo-Philipp Wich2011-03-061-0/+1
| | | | | | configs are kept up-to-date in case they exist already for various reasons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] set Installed-Size to 0 when preparing control, its substituted by ↵Jo-Philipp Wich2011-01-161-2/+1
| | | | | | ipkg-build later on git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] package-ipkg.mk: add support for "essential" package flag, fix typoJo-Philipp Wich2010-11-111-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized ↵Michael Büsch2010-10-291-1/+1
| | | | | | build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] package-ipkg.mk: build sysupgrade keepfile hints out of conffiles ↵Jo-Philipp Wich2010-10-051-0/+15
| | | | | | | | | | not yet 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] 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" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] prime .ipk control files with Status: field to introduce hold for ↵Jo-Philipp Wich2010-10-021-0/+1
| | | | | | post flash installed packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] add support for flagging packagesJo-Philipp Wich2010-10-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is ↵Gabor Juhos2010-10-011-1/+1
| | | | | | not defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg:Jo-Philipp Wich2010-09-121-10/+5
| | | | | | | | | | - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] pass opkg offline root as command line arg, solves caching issues ↵Jo-Philipp Wich2010-09-091-2/+2
| | | | | | when switching between multiple subtargets, thanks Ralph Hempel for reporting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] opkg: add --force-run-hooks option to run postinstall scripts in ↵Jo-Philipp Wich2010-09-061-1/+2
| | | | | | offline root mode, utilize it for host package install git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] use opkg/host for package installationJo-Philipp Wich2010-09-061-7/+13
| | | | | | | | | - speeds up rebuild operations - aligns generated package list format with the one created by opkg on the target - fixes broken dependency handling in imagebuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the ipkg build process some more by reordering commandsFelix Fietkau2010-08-191-14/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-2/+2
| | | | | | only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] revert r22372 and r22405, dependency on host libtool causes ↵Jo-Philipp Wich2010-07-281-14/+8
| | | | | | problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] use host opkg for installing packages in buildroot and ↵Jo-Philipp Wich2010-07-231-8/+14
| | | | | | ImageBuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Some dependencies that are depending on target are not added intoHauke Mehrtens2010-03-281-2/+9
| | | | | | | | | | | the Depends line in the control file of the package. For example +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb does not result in kmod-ssb for the x86 target or any other target. This fixes #6874 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build variants: only build opkg packages for the requested build variant (or ↵Felix Fietkau2009-11-221-0/+2
| | | | | | any if no variant was specified for the package) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not fail on empty packagesFelix Fietkau2009-09-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of old data before staging unstripped package binariesFelix Fietkau2009-09-031-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: when staging unstripped package files, install them to a temporary ↵Felix Fietkau2009-09-021-3/+5
| | | | | | directory first to work around file overwrite issues in packages like asterisk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* merge the control file and the .ipk file targets into one to prevent them ↵Felix Fietkau2009-08-201-10/+8
| | | | | | from going out of sync git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix multiple ipkg builds of the same arch but with different targets in the ↵Felix Fietkau2009-08-201-1/+1
| | | | | | same checkout git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17325 3c298f89-4303-0410-b956-a3cf2f4a3e73