Commit Graph

53 Commits (e640bc8ca487d54491196f9dee64a806069a6c6f)

Author SHA1 Message Date
Nicolas Thill 6d6e379922 include/package-ipkg.mk: fix typo in r29449
SVN-Revision: 29497
2011-12-10 22:02:50 +00:00
Gabor Juhos 091894764b include/package-ipkg.mk: don't add vi backup files to packages
Also remove trailing whitespaces.

SVN-Revision: 29449
2011-12-05 17:27:00 +00:00
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
2011-10-26 00:49:07 +00:00
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
2011-04-03 02:10:32 +00:00
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
2011-04-03 02:07:59 +00:00
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
2011-03-06 23:52:13 +00:00
Jo-Philipp Wich bad3c4865d set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
SVN-Revision: 25022
2011-01-16 22:18:35 +00:00
Jo-Philipp Wich e09767beea package-ipkg.mk: add support for "essential" package flag, fix typo
SVN-Revision: 23959
2010-11-11 16:18:01 +00:00
Michael Büsch 9d61a9b1c6 Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
SVN-Revision: 23709
2010-10-29 15:07:23 +00:00
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
2010-10-05 19:20:27 +00:00
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
2010-10-04 17:20:49 +00:00
Jo-Philipp Wich cb4c39b55d prime .ipk control files with Status: field to introduce hold for post flash installed packages
SVN-Revision: 23175
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich 8b9ca16985 add support for flagging packages
SVN-Revision: 23172
2010-10-02 03:21:33 +00:00
Gabor Juhos b5b21d03c4 package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
SVN-Revision: 23166
2010-10-01 07:09:34 +00:00
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
2010-09-12 21:16:02 +00:00
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
2010-09-09 21:05:51 +00:00
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
2010-09-06 19:58:05 +00:00
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
2010-09-06 02:15:46 +00:00
Felix Fietkau d9e0d5705a speed up the ipkg build process some more by reordering commands
SVN-Revision: 22722
2010-08-19 12:49:46 +00:00
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
2010-08-19 12:49:37 +00:00
Jo-Philipp Wich e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
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
2010-03-28 19:22:59 +00:00
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
2009-11-22 07:08:39 +00:00
Felix Fietkau c4b197737e do not fail on empty packages
SVN-Revision: 17504
2009-09-03 02:53:13 +00:00
Felix Fietkau d1f1ff5759 get rid of old data before staging unstripped package binaries
SVN-Revision: 17498
2009-09-03 01:10:37 +00:00
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
2009-09-02 19:01:09 +00:00
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
2009-08-20 15:48:41 +00:00
Felix Fietkau 59d130d867 fix multiple ipkg builds of the same arch but with different targets in the same checkout
SVN-Revision: 17325
2009-08-20 14:04:40 +00:00
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
2009-08-19 15:12:54 +00:00
Florian Fainelli 7f36797bb7 ensure CONTROL directory is created (#5683)
SVN-Revision: 17293
2009-08-17 10:14:25 +00:00
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
2009-08-08 02:24:37 +00:00
Felix Fietkau 4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
SVN-Revision: 17167
2009-08-07 21:58:35 +00:00
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
2009-01-29 20:13:01 +00:00
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
2008-12-11 20:15:41 +00:00
Felix Fietkau 38b513811c fix conditional depends in ipkg control files
SVN-Revision: 13051
2008-10-27 17:24:27 +00:00
Felix Fietkau cdcc68d689 implement conditional dependencies for generating the Depends: field of ipkgs
SVN-Revision: 12836
2008-10-03 14:37:55 +00:00
Felix Fietkau 800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +00:00
Nicolas Thill 7d50df6224 add 'Provides:' line in ipkg control files
SVN-Revision: 8906
2007-09-21 10:05:00 +00:00
Nicolas Thill 3f80599cda move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
SVN-Revision: 8581
2007-09-03 06:46:44 +00:00
Nicolas Thill 3e47314ccb move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
SVN-Revision: 8491
2007-08-26 12:42:48 +00:00
Nicolas Thill d21941ca4d move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
SVN-Revision: 8481
2007-08-25 11:55:01 +00:00
Nicolas Thill e9fba2c56b combine the 3 find in a single one
SVN-Revision: 8477
2007-08-24 12:05:30 +00:00
Felix Fietkau 56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
2007-05-09 22:47:01 +00:00
Felix Fietkau 874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
2007-04-29 01:30:48 +00:00
Felix Fietkau 449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
2007-04-15 18:28:24 +00:00
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
2007-04-12 19:18:38 +00:00
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
2007-04-03 11:56:08 +00:00
Florian Fainelli 6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
2007-04-02 16:09:15 +00:00
Felix Fietkau 198a3ae713 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
SVN-Revision: 6581
2007-03-16 20:20:19 +00:00