Jo-Philipp Wich
d3e90ba7a7
buildroot: isolate the .install stamp files for build variants ( #12279 )
...
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
12 years ago
Hamish Guthrie
81a3d9ba31
licensing: Add licensing metadata to many packages 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!
SVN-Revision: 33861
12 years ago
Felix Fietkau
44cd20b802
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
...
SVN-Revision: 33631
12 years ago
Jo-Philipp Wich
ec770abd0d
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.
SVN-Revision: 32739
13 years ago
Felix Fietkau
67e51f1787
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
SVN-Revision: 32358
13 years ago
Jo-Philipp Wich
3b65557db8
package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
SVN-Revision: 32332
13 years ago
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
13 years ago
Felix Fietkau
031990cf95
build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
...
SVN-Revision: 32172
13 years ago
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
13 years ago
Gabor Juhos
091894764b
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
SVN-Revision: 29449
13 years ago
Nicolas Thill
a930a79e08
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
SVN-Revision: 28595
13 years ago
Felix Fietkau
8a0d981006
build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
...
SVN-Revision: 26432
14 years ago
Felix Fietkau
f6a0d67e7c
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
...
SVN-Revision: 26431
14 years ago
Jo-Philipp Wich
dcb66b0593
deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons
...
SVN-Revision: 25915
14 years ago
Jo-Philipp Wich
bad3c4865d
set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
...
SVN-Revision: 25022
14 years ago
Jo-Philipp Wich
e09767beea
package-ipkg.mk: add support for "essential" package flag, fix typo
...
SVN-Revision: 23959
14 years ago
Michael Büsch
9d61a9b1c6
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
...
SVN-Revision: 23709
14 years ago
Jo-Philipp Wich
f3a5085903
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.
...
SVN-Revision: 23257
14 years ago
Jo-Philipp Wich
8ae1a4fc69
correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
...
SVN-Revision: 23222
14 years ago
Jo-Philipp Wich
cb4c39b55d
prime .ipk control files with Status: field to introduce hold for post flash installed packages
...
SVN-Revision: 23175
14 years ago
Jo-Philipp Wich
8b9ca16985
add support for flagging packages
...
SVN-Revision: 23172
14 years ago
Gabor Juhos
b5b21d03c4
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
...
SVN-Revision: 23166
14 years ago
Jo-Philipp Wich
9bb6f3b5f3
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
...
SVN-Revision: 23032
14 years ago
Jo-Philipp Wich
6cbd09df64
pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
...
SVN-Revision: 22990
14 years ago
Jo-Philipp Wich
b1edd2ac6e
opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
...
SVN-Revision: 22960
14 years ago
Jo-Philipp Wich
9d74fc3eb3
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
...
SVN-Revision: 22949
14 years ago
Felix Fietkau
d9e0d5705a
speed up the ipkg build process some more by reordering commands
...
SVN-Revision: 22722
14 years ago
Felix Fietkau
a9136c0892
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
14 years ago
Jo-Philipp Wich
e47a8a001c
revert r22372 and r22405, dependency on host libtool causes problems
...
SVN-Revision: 22406
15 years ago
Jo-Philipp Wich
8c1d9afc40
use host opkg for installing packages in buildroot and ImageBuilder
...
SVN-Revision: 22372
15 years ago
Hauke Mehrtens
3dd6909c20
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
SVN-Revision: 20553
15 years ago
Felix Fietkau
f1da5431bb
build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
...
SVN-Revision: 18464
15 years ago
Felix Fietkau
c4b197737e
do not fail on empty packages
...
SVN-Revision: 17504
15 years ago
Felix Fietkau
d1f1ff5759
get rid of old data before staging unstripped package binaries
...
SVN-Revision: 17498
15 years ago
Felix Fietkau
e6ceb1cace
build: when staging unstripped package files, install them to a temporary directory first to work around file overwrite issues in packages like asterisk
...
SVN-Revision: 17477
15 years ago
Felix Fietkau
822615cb6b
merge the control file and the .ipk file targets into one to prevent them from going out of sync
...
SVN-Revision: 17332
15 years ago
Felix Fietkau
59d130d867
fix multiple ipkg builds of the same arch but with different targets in the same checkout
...
SVN-Revision: 17325
15 years ago
Felix Fietkau
2bb863f337
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
...
SVN-Revision: 17313
15 years ago
Florian Fainelli
7f36797bb7
ensure CONTROL directory is created ( #5683 )
...
SVN-Revision: 17293
15 years ago
Felix Fietkau
b0bf5fd9a0
add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp
...
SVN-Revision: 17168
16 years ago
Felix Fietkau
4169a2e834
add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
...
SVN-Revision: 17167
16 years ago
Nicolas Thill
1be5092692
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
...
SVN-Revision: 14269
16 years ago
Nicolas Thill
0bbd70070f
add an "Installed-Size" field to package control files, so that opkg could check needed vs. available storage space before installing a package
...
SVN-Revision: 13602
16 years ago
Felix Fietkau
38b513811c
fix conditional depends in ipkg control files
...
SVN-Revision: 13051
16 years ago
Felix Fietkau
cdcc68d689
implement conditional dependencies for generating the Depends: field of ipkgs
...
SVN-Revision: 12836
16 years ago
Felix Fietkau
800ef0f56c
some minor fixes, cleanups, package build abstraction
...
SVN-Revision: 9051
17 years ago
Nicolas Thill
7d50df6224
add 'Provides:' line in ipkg control files
...
SVN-Revision: 8906
17 years ago
Nicolas Thill
3f80599cda
move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
...
SVN-Revision: 8581
17 years ago
Nicolas Thill
3e47314ccb
move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
...
SVN-Revision: 8491
17 years ago
Nicolas Thill
d21941ca4d
move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
...
SVN-Revision: 8481
17 years ago