Felix Fietkau
d01163df23
target/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependency
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 12:59:23 +00:00
John Crispin
a0bbe0d6ce
postinst trigger: the new postinst trigger broke IB
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:56:19 +00:00
Felix Fietkau
954723a0a2
imagebuilder: remove postinst files before generating image
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 11:06:31 +00:00
Jo-Philipp Wich
fdb795c3e4
build: introduce per feed repository support
...
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 11:24:24 +00:00
John Crispin
495ae89711
imagebuilder: fix typo that copied grub to the wrong folder
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 15:46:12 +00:00
John Crispin
8909ffc7dd
imagebuilder: copy dts folder
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:42:00 +00:00
John Crispin
8596ba6e34
imagebuilder: x86 fails to build inside the imagebuilder
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:31 +00:00
Felix Fietkau
1904d51b94
target/imagebuilder: add missing package index ( fixes #16675 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:27:31 +00:00
Jo-Philipp Wich
5a8f0b0f4c
imagebuilder: bundle dtc ( #12953 , #14741 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 12:29:36 +00:00
Felix Fietkau
ab8468d344
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
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
John Crispin
727249a95d
[target] derive system from hostcc to allow building inside a chroot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 15:07:32 +00:00
Jo-Philipp Wich
a719519ec6
[iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:26 +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
John Crispin
73804551c6
[imagebuilder] add $(SUBTARGET) to the filename if available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 18:04:15 +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
d52ae4d7d3
[imagebuilder] don't overwrite version.mk, substitute REVISION instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 09:31:16 +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
f40416daf3
[imagebuilder] copy kernel .config, needed by mkfs.jffs2 to detect compression capabilities
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 13:34:21 +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
Nicolas Thill
1a32f8d305
imagebuilder: don't disable on uml
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 11:42:41 +00:00
Nicolas Thill
75b21b145a
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 11:41:51 +00:00
Jo-Philipp Wich
78ad6f8bbe
[imagebuilder] remove dependency on CONFIG_ALL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:49:53 +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
Nicolas Thill
09eb477058
disable IB & SDK when using an external toolchain ( closes : #6001 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 18:55:03 +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
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +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
Felix Fietkau
87cd6ef1b4
some more build system cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 11:14:13 +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