Commit Graph

42 Commits (70a28cb7bbe36744ac8fc95ff82dea7b669d50db)

Author SHA1 Message Date
Jo-Philipp Wich f63d024ee2 imagebuilder: use file_copy to deploy files/ in the image generation phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:43 +00:00
Jo-Philipp Wich fffc430bd8 imagebuilder: merge r25078 to align files/ handling with current buildroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 19:46:54 +00:00
Felix Fietkau 9141e1f560 package/index: filter out the libc package from the index
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 01:29:11 +00:00
Felix Fietkau 9edd5ac6fa imagebuilder: explicitly install the kernel .ipk before installing anything else, it is no longer part of the package index (fixes #11450)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 14:00:01 +00:00
Felix Fietkau b5f3dda123 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
Jo-Philipp Wich 81efe748e3 [imagebuilder] populate repositories.conf from version.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 23:08:13 +00:00
Gabor Juhos 484156db8c ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:20 +00:00
Jo-Philipp Wich e248718d31 [imagebuilder] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-09 17:25:20 +00:00
Felix Fietkau 9b6d913a5a imagebuilder: clean opkg files if requested (patch from #9866)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 23:58:11 +00:00
Jo-Philipp Wich 610af758c1 [PATCH 2/2] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 22:59:57 +00:00
Jo-Philipp Wich fabcdfae1e [imagebuilder] allow overriding BIN_DIR (#7412)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 14:15:52 +00:00
Jo-Philipp Wich 339c2a4dc4 [imagebuilder]
- sync with host opkg changes
	- get rid of autogenerated opkg.conf
	- utilize dl/ as package cache, useful for remote downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 22:04:09 +00:00
Jo-Philipp Wich e80c77666f [imagebuilder] fix a small typo in sed pattern
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-10 15:40:42 +00:00
Jo-Philipp Wich ddeacdb51a [imagebuilder] fix arch detection pattern to cope with underscores in board name, e.g. "adm5120_mips"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-08 05:46:37 +00:00
Jo-Philipp Wich c2739d2e24 [imagebuilder]
- 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-08 00:36:35 +00:00
Jo-Philipp Wich 67c1ba691d [imagebuilder] use --force-run-hooks for host opkg install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-07 21:22:07 +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
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
Jo-Philipp Wich 0d25a79aa1 [imagebuilder]
- correctly copy .config when scripts/env is used in the buildroot
	- prevent user provides PACKAGES from overriding per-profile defaults


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 22:16:40 +00:00
Gabor Juhos a189e15a78 imagebuilder: add REVISION variable (closes #6795)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:00:46 +00:00
Jo-Philipp Wich f784718c43 [imagebuilder] fix custom package selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-13 01:56:48 +00:00
Felix Fietkau 993973ca15 imagebuilder: accept empty profile names, some targets do not define profiles (thx, patrick)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 01:35:32 +00:00
Florian Fainelli 06cce51264 [imagebuilder] remove board name hack (#5823)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 16:06:53 +00:00
Andy Boyett 8956d292c4 [ImageBuilder] remove legacy 2.4-specific behavior, fixes IB on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:56 +00:00
Andy Boyett fbe393f9e8 [ImageBuilder] fix profile package selection, packages from last parsed profile were accidentally installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:50 +00:00
Nicolas Thill 742ee4ef0c [imagebuilder] fix initscripts activation (closes: #4037, #4745)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 11:20:25 +00:00
Nicolas Thill 54bcffc5e0 fix ImageBuilder (closes: #3863)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 13:45:54 +00:00
Andy Boyett 26e3c2d39a [ipkg] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 03:36:11 +00:00
Florian Fainelli 932c5c28a0 Fix imagebuilder for 2.6 kernels (#2900)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 22:17:51 +00:00
Felix Fietkau 6ec8091bd5 fix the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14 23:11:07 +00:00
Felix Fietkau 2504b75ada fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-10 20:21:09 +00:00
Mike Baker 478768159f fix bug in imagebuilder init.d scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-11 17:47:05 +00:00
Felix Fietkau 0a89240a90 export the IMAGEBUILDER variable so that makefiles can test for the image builder run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 09:53:04 +00:00
Felix Fietkau c6d265f356 ignore profiles with custom kernel configs in the image builder itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 04:03:35 +00:00
Felix Fietkau 6bf50a5091 rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 02:27:01 +00:00
Felix Fietkau 6a0580d1b2 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 12:56:55 +00:00
Felix Fietkau 599cf4f524 Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 12:35:00 +00:00
Felix Fietkau acb0bb8ce5 show package list on make info in the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 23:49:23 +00:00
Felix Fietkau a4ee82e198 remove BIN_DIR on make clean in the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 23:12:30 +00:00
Felix Fietkau e28c2f8e9d include .targetinfo in the image builder, and allow direct calls to the package_index target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 10:49:00 +00:00
Felix Fietkau 53aef8417d Add initial version of the new Image Builder
It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 21:52:28 +00:00