Commit Graph

108 Commits (9601d94138de66e4fc9f55a08dfb348cdfcc3181)

Author SHA1 Message Date
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
12 years ago
Felix Fietkau 67e51f1787 include/package-ipkg.mk: fix copying provides list introduced in r32332
SVN-Revision: 32358
12 years ago
Jo-Philipp Wich 3b65557db8 package-ipkg.sh: copy the package provides list for all virtual PROVIDES
SVN-Revision: 32332
12 years ago
Felix Fietkau 6ca6d317b3 build: add checks for missing package dependencies
SVN-Revision: 32185
12 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
12 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
13 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
13 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
13 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
14 years ago
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
14 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
14 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
15 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
15 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
Nicolas Thill e9fba2c56b combine the 3 find in a single one
SVN-Revision: 8477
17 years ago
Felix Fietkau 56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
17 years ago
Felix Fietkau 874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
17 years ago
Felix Fietkau 449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
17 years ago
Felix Fietkau 3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
17 years ago
Mike Baker 0359c6222e Using find's -exec to remove directories causes 'not found' errors when find tries to search the removed directory. Hopefully fixed now.
SVN-Revision: 6849
17 years ago
Florian Fainelli 6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
17 years ago
Felix Fietkau 198a3ae713 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
SVN-Revision: 6581
17 years ago
Mike Baker 8dc90ccc11 formatting and trivial cleanup
SVN-Revision: 6573
17 years ago
Felix Fietkau 2c62bddcfe Add an 'Image Configuration' menu to menuconfig Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot.
SVN-Revision: 6572
17 years ago
Felix Fietkau 7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
17 years ago