Jo-Philipp Wich
f1a3abbd19
[include] package-ipkg.mk: flag packages as "ok" after install
...
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
2012-07-15 19:29:43 +00:00
Felix Fietkau
88364f16c2
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 18:09:54 +00:00
Jo-Philipp Wich
2a372d147f
[include] package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 11:42:17 +00:00
Felix Fietkau
bee3dd6a1b
build: add checks for missing package dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:57:36 +00:00
Felix Fietkau
9db9b0ede7
build: generate a list of provided libraries for each ipkg file (includes 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
2012-06-10 20:27:41 +00:00
Nicolas Thill
145b0ef954
include/package-ipkg.mk: fix typo in r29449
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-10 22:02:50 +00:00
Gabor Juhos
68b5c56aed
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 17:27:00 +00:00
Nicolas Thill
a133a1a62b
include/package-ipkg.mk: fix typo
...
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
2011-10-26 00:49:07 +00:00
Felix Fietkau
6f8262a64a
build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 02:10:32 +00:00
Felix Fietkau
8249039087
build: do not use shell calls to export empty opkg control files, speeds up 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
2011-04-03 02:07:59 +00:00
Jo-Philipp Wich
2af73d5a20
[include] deploy .ipk archives with --force-maintainer to ensure that 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
2011-03-06 23:52:13 +00:00
Jo-Philipp Wich
54e97dad67
[include] set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 22:18:35 +00:00
Jo-Philipp Wich
2a5914606c
[include] package-ipkg.mk: add support for "essential" package flag, fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 16:18:01 +00:00
Michael Büsch
d4b77f3145
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 15:07:23 +00:00
Jo-Philipp Wich
0aedfbfd70
[include] package-ipkg.mk: build sysupgrade keepfile hints out of conffiles 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
2010-10-05 19:20:27 +00:00
Jo-Philipp Wich
6c7a71c78e
[include] correct default package status info (install -> unknown) - fixes "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
2010-10-04 17:20:49 +00:00
Jo-Philipp Wich
974c5831e0
[include] prime .ipk control files with Status: field to introduce hold for post flash installed packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich
30b7385634
[include] add support for flagging packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:21:33 +00:00
Gabor Juhos
b587a7b92a
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:34 +00:00
Jo-Philipp Wich
f10bd899e6
[package] opkg:
...
- 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
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
0d80fe1320
[include] pass opkg offline root as command line arg, solves caching issues 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
2010-09-09 21:05:51 +00:00
Jo-Philipp Wich
d9386d548b
[package] opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
e6b1eeef0c
[buildroot] use opkg/host for package installation
...
- 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
2010-09-06 02:15:46 +00:00
Felix Fietkau
e045698909
speed up the ipkg build process some more by reordering commands
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:46 +00:00
Felix Fietkau
14be678094
speed up the build system by including include/shell.sh on shell commands only where necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
Jo-Philipp Wich
503d7a462b
[buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich
fc7a57fa5d
[buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +00:00
Hauke Mehrtens
5e7275d823
Some dependencies that are depending on target are not added into
...
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
2010-03-28 19:22:59 +00:00
Felix Fietkau
0f48fd8058
build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 07:08:39 +00:00
Felix Fietkau
707cf19632
do not fail on empty packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 02:53:13 +00:00
Felix Fietkau
848413fba4
get rid of old data before staging unstripped package binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 01:10:37 +00:00
Felix Fietkau
a014ef6f93
build: when staging unstripped package files, install them to a temporary 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
2009-09-02 19:01:09 +00:00
Felix Fietkau
2244492d6a
merge the control file and the .ipk file targets into one to prevent them from going out of sync
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:48:41 +00:00
Felix Fietkau
6073aa6f2e
fix multiple ipkg builds of the same arch but with different targets in the same checkout
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 14:04:40 +00:00
Felix Fietkau
cdb9ae12f9
when regenerating an ipkg package, make sure the entire ipkg build dir is cleaned as well to prevent stale files from making it into the package after configuration changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-19 15:12:54 +00:00
Florian Fainelli
76260922ff
[package] ensure CONTROL directory is created ( #5683 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17 10:14:25 +00:00
Felix Fietkau
37a1dc4602
add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:37 +00:00
Felix Fietkau
079bbf2ee7
add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 21:58:35 +00:00
Nicolas Thill
044375f28e
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:13:01 +00:00
Nicolas Thill
ddda8a051f
add an "Installed-Size" field to package control files, so that opkg could check needed vs. available storage space before installing a package
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-11 20:15:41 +00:00
Felix Fietkau
da5ac71e7d
fix conditional depends in ipkg control files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-27 17:24:27 +00:00
Felix Fietkau
5a73a9f898
implement conditional dependencies for generating the Depends: field of ipkgs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-03 14:37:55 +00:00
Felix Fietkau
499485004b
some minor fixes, cleanups, package build abstraction
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:23:56 +00:00
Nicolas Thill
437eaca2fa
add 'Provides:' line in ipkg control files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 10:05:00 +00:00
Nicolas Thill
cc9d43a53d
move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 06:46:44 +00:00
Nicolas Thill
9e4ac01593
move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 12:42:48 +00:00
Nicolas Thill
134d9f15d7
move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 11:55:01 +00:00
Nicolas Thill
4a3e32d000
combine the 3 find in a single one
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:05:30 +00:00
Felix Fietkau
a8f4a1bdbb
fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 22:47:01 +00:00
Felix Fietkau
f460eb1cdb
fixes for a few build errors on osx without fink
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00