Commit Graph

71 Commits (4491da2bd48379eb166f301bbc40618439e10205)

Author SHA1 Message Date
Jo-Philipp Wich 476ea2bcb4 imagebuilder: use file_copy to deploy files/ in the image generation phase
SVN-Revision: 34439
2012-12-02 12:20:43 +00:00
Jo-Philipp Wich b73f22de1e imagebuilder: merge r25078 to align files/ handling with current buildroot
SVN-Revision: 34301
2012-11-22 19:46:54 +00:00
John Crispin 3686b8d279 derive system from hostcc to allow building inside a chroot
SVN-Revision: 33228
2012-08-22 15:07:32 +00:00
Jo-Philipp Wich a062e08bb4 use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
SVN-Revision: 33196
2012-08-15 13:28:26 +00:00
Felix Fietkau 7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
John Crispin 76e4cd2a24 add $(SUBTARGET) to the filename if available
SVN-Revision: 32007
2012-05-30 18:04:15 +00:00
Felix Fietkau fab5ee9566 imagebuilder: explicitly install the kernel .ipk before installing anything else, it is no longer part of the package index (fixes #11450)
SVN-Revision: 31711
2012-05-14 14:00:01 +00:00
Felix Fietkau 34ffb526a2 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Jo-Philipp Wich cfe30549a1 don't overwrite version.mk, substitute REVISION instead
SVN-Revision: 31327
2012-04-17 09:31:16 +00:00
Jo-Philipp Wich 3cb72f38fd populate repositories.conf from version.mk
SVN-Revision: 31268
2012-04-12 23:08:13 +00:00
Gabor Juhos faf17f197f ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

SVN-Revision: 29877
2012-01-24 09:47:20 +00:00
Jo-Philipp Wich 1e24383ae6 Various enhancements from Manuel Munz <freifunk@somakoma.de> - don't regenerate Package index unless the packagedir changes - remove opkg lists from rootfs, saves > 1MB uncompressed - don't direct errors on index creation into packagelist
SVN-Revision: 28205
2011-09-09 17:25:20 +00:00
Felix Fietkau e5e17a1ce8 imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
2011-08-01 23:58:11 +00:00
Jo-Philipp Wich c5a65a0373 Send ipkg-make-index.sh output to stdout
The "Generating index for package" created by ipkg-make-index only
clutter stderr and serve to push previous warnings/errors off-screen.
Instead, send to stdout.

Note:  This would send incorrect invocation messages to stdout as well.
If this is a concern, perhaps we could send them to FD 3, then send 3 to
2...

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 25678
2011-02-23 22:59:57 +00:00
Jo-Philipp Wich d45c310c34 allow overriding BIN_DIR (#7412)
SVN-Revision: 23643
2010-10-26 14:15:52 +00:00
Jo-Philipp Wich cdbeb0e80b copy kernel .config, needed by mkfs.jffs2 to detect compression capabilities
SVN-Revision: 23639
2010-10-26 13:34:21 +00:00
Jo-Philipp Wich ea5904ff93 - sync with host opkg changes - get rid of autogenerated opkg.conf - utilize dl/ as package cache, useful for remote downloads
SVN-Revision: 23039
2010-09-12 22:04:09 +00:00
Jo-Philipp Wich ee81bb7cdb fix a small typo in sed pattern
SVN-Revision: 22997
2010-09-10 15:40:42 +00:00
Jo-Philipp Wich 7a2ce99fe5 fix arch detection pattern to cope with underscores in board name, e.g. "adm5120_mips"
SVN-Revision: 22980
2010-09-08 05:46:37 +00:00
Jo-Philipp Wich 699876fa6b - add a helper script to generate opkg.conf, attempt to detect package architecture from packages/ - fix package defaults when no package override is given, IB previously aggregated the defautls of all profiles - introduce a repositories.conf, allows using remote opkg repositories in imagebuilder
SVN-Revision: 22978
2010-09-08 00:36:35 +00:00
Jo-Philipp Wich 2c59d54a43 use --force-run-hooks for host opkg install
SVN-Revision: 22973
2010-09-07 21:22:07 +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
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
Jo-Philipp Wich cdd44e7984 - correctly copy .config when scripts/env is used in the buildroot - prevent user provides PACKAGES from overriding per-profile defaults
SVN-Revision: 21213
2010-04-27 22:16:40 +00:00
Nicolas Thill ceaff7a566 imagebuilder: don't disable on uml
SVN-Revision: 20598
2010-03-30 11:42:41 +00:00
Nicolas Thill 8c2b753329 imagebuilder: various fixes * only copy host tools from $(STAGING_DIR_HOST)/bin * remove more target patches, and also target files * combine the 3 find commands into a single one
SVN-Revision: 20597
2010-03-30 11:41:51 +00:00
Jo-Philipp Wich cfaeab171a remove dependency on CONFIG_ALL
SVN-Revision: 20084
2010-03-09 14:49:53 +00:00
Gabor Juhos 3ba43e6528 imagebuilder: add REVISION variable (closes #6795)
SVN-Revision: 20064
2010-03-08 17:00:46 +00:00
Jo-Philipp Wich 9b4005c58c fix custom package selection
SVN-Revision: 19623
2010-02-13 01:56:48 +00:00
Nicolas Thill ac695f35fa disable IB & SDK when using an external toolchain (closes: #6001)
SVN-Revision: 18837
2009-12-18 18:55:03 +00:00
Felix Fietkau 991a35c6a6 imagebuilder: accept empty profile names, some targets do not define profiles (thx, patrick)
SVN-Revision: 18117
2009-10-22 01:35:32 +00:00
Florian Fainelli b1f1f7c5a9 remove board name hack (#5823)
SVN-Revision: 17652
2009-09-20 16:06:53 +00:00
Andy Boyett 9756b46d1a remove legacy 2.4-specific behavior, fixes IB on brcm-2.4
SVN-Revision: 16654
2009-07-02 07:24:56 +00:00
Andy Boyett b728796706 fix profile package selection, packages from last parsed profile were accidentally installed
SVN-Revision: 16653
2009-07-02 07:24:50 +00:00
Nicolas Thill 3f8ac1680c fix initscripts activation (closes: #4037, #4745)
SVN-Revision: 15320
2009-04-21 11:20:25 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Nicolas Thill be1a9ff41d fix ImageBuilder (closes: #3863)
SVN-Revision: 12370
2008-08-22 13:45:54 +00:00
Felix Fietkau bdb9c7351c some more build system cleanup
SVN-Revision: 12329
2008-08-17 11:14:13 +00:00
Andy Boyett 6b045c7dc6 Generate gzipped package lists - Can be used by changing the src line in /etc/ipkg.conf to src/gz - Cannot be used by busybox ipkg
SVN-Revision: 11981
2008-07-29 03:36:11 +00:00
Felix Fietkau 44db3f4117 Detach the building of sdk and imagebuilder from "Select all packages by default", since those really represent two distinct build operations from normal package selection.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 10621
2008-03-19 08:16:02 +00:00
Florian Fainelli 50c077affb Fix imagebuilder for 2.6 kernels (#2900)
SVN-Revision: 10099
2008-01-03 22:17:51 +00:00
Felix Fietkau b81933c951 strip -$(KERNEL) from sdk/imagebuilder names
SVN-Revision: 9742
2007-12-13 22:31:56 +00:00
Felix Fietkau fa9710c7ee fix imagebuilder compile
SVN-Revision: 9736
2007-12-13 21:04:21 +00:00
Felix Fietkau 93575b53a7 Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9694
2007-12-09 18:53:06 +00:00
Felix Fietkau dfa7618bd6 fix the image builder
SVN-Revision: 9549
2007-11-14 23:11:07 +00:00
Florian Fainelli 43dc71fb0d Fix the imagebuilder generation (does not mean it works with the recent changes)
SVN-Revision: 8710
2007-09-09 15:09:10 +00:00
Florian Fainelli c54708272f Fix image builder generation (#2213)
SVN-Revision: 8412
2007-08-14 09:47:29 +00:00
Florian Fainelli 163dab630d Fix the imagebuilder compilation (#2213)
SVN-Revision: 8410
2007-08-13 16:30:54 +00:00
Felix Fietkau c0f9679587 fix a typo
SVN-Revision: 7906
2007-07-10 20:21:09 +00:00