Commit Graph

138 Commits (fbd4214bb0727268aa535af5b600d38939ec8dbc)

Author SHA1 Message Date
Jo-Philipp Wich 3c5357d6ef feeds: use common macro "FeedSourcesAppend" to populate opkg configurations
This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45799
9 years ago
Jo-Philipp Wich 6c21bcaa65 IB: use online repositories
Change the IB packaging to only embed libc, kernel and kmod packages by default
and generate repositories.conf to refer to the remote package repositories.

Introduce a new config option CONFIG_IB_STANDALONE which restores the old
behaviour of building self contained IB archives.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45772
9 years ago
Jo-Philipp Wich 65ec08d1b0 imagebuilder: align filename with SDK
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44313
9 years ago
Jo-Philipp Wich 188032c8e3 imagebuilder: don't pregenerate package index, strip host binaries
The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44293
9 years ago
Jo-Philipp Wich 2adab34c20 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44288
9 years ago
Jo-Philipp Wich dffaf94d44 imagebuilder: fail with error if the passed profile name does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43916
9 years ago
Jo-Philipp Wich 15d8db1f8c build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43869
9 years ago
Felix Fietkau 0b1c89f6fe target/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43128
10 years ago
John Crispin 44249f71a8 postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42571
10 years ago
Felix Fietkau 7632358add imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42339
10 years ago
Jo-Philipp Wich a720dd209f 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>

SVN-Revision: 42002
10 years ago
John Crispin caa671d873 imagebuilder: fix typo that copied grub to the wrong folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41824
10 years ago
John Crispin 941dab02d5 imagebuilder: copy dts folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41790
10 years ago
John Crispin 68e8614009 imagebuilder: x86 fails to build inside the imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41580
10 years ago
Felix Fietkau 897b2e4b98 target/imagebuilder: add missing package index (fixes #16675)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40968
10 years ago
Jo-Philipp Wich 69a6fd0190 imagebuilder: bundle dtc (#12953, #14741)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40767
10 years ago
Felix Fietkau 96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
11 years ago
Jo-Philipp Wich 476ea2bcb4 imagebuilder: use file_copy to deploy files/ in the image generation phase
SVN-Revision: 34439
12 years ago
Jo-Philipp Wich b73f22de1e imagebuilder: merge r25078 to align files/ handling with current buildroot
SVN-Revision: 34301
12 years ago
John Crispin 3686b8d279 derive system from hostcc to allow building inside a chroot
SVN-Revision: 33228
12 years ago
Jo-Philipp Wich a062e08bb4 use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
SVN-Revision: 33196
12 years ago
Felix Fietkau 7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
12 years ago
John Crispin 76e4cd2a24 add $(SUBTARGET) to the filename if available
SVN-Revision: 32007
12 years ago
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
12 years ago
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
12 years ago
Jo-Philipp Wich cfe30549a1 don't overwrite version.mk, substitute REVISION instead
SVN-Revision: 31327
12 years ago
Jo-Philipp Wich 3cb72f38fd populate repositories.conf from version.mk
SVN-Revision: 31268
12 years ago
Gabor Juhos faf17f197f ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

SVN-Revision: 29877
12 years ago
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
13 years ago
Felix Fietkau e5e17a1ce8 imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
13 years ago
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
13 years ago
Jo-Philipp Wich d45c310c34 allow overriding BIN_DIR (#7412)
SVN-Revision: 23643
14 years ago
Jo-Philipp Wich cdbeb0e80b copy kernel .config, needed by mkfs.jffs2 to detect compression capabilities
SVN-Revision: 23639
14 years ago
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
14 years ago
Jo-Philipp Wich ee81bb7cdb fix a small typo in sed pattern
SVN-Revision: 22997
14 years ago
Jo-Philipp Wich 7a2ce99fe5 fix arch detection pattern to cope with underscores in board name, e.g. "adm5120_mips"
SVN-Revision: 22980
14 years ago
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
14 years ago
Jo-Philipp Wich 2c59d54a43 use --force-run-hooks for host opkg install
SVN-Revision: 22973
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
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
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
14 years ago
Nicolas Thill ceaff7a566 imagebuilder: don't disable on uml
SVN-Revision: 20598
14 years ago
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
14 years ago
Jo-Philipp Wich cfaeab171a remove dependency on CONFIG_ALL
SVN-Revision: 20084
14 years ago
Gabor Juhos 3ba43e6528 imagebuilder: add REVISION variable (closes #6795)
SVN-Revision: 20064
14 years ago
Jo-Philipp Wich 9b4005c58c fix custom package selection
SVN-Revision: 19623
14 years ago
Nicolas Thill ac695f35fa disable IB & SDK when using an external toolchain (closes: #6001)
SVN-Revision: 18837
15 years ago
Felix Fietkau 991a35c6a6 imagebuilder: accept empty profile names, some targets do not define profiles (thx, patrick)
SVN-Revision: 18117
15 years ago
Florian Fainelli b1f1f7c5a9 remove board name hack (#5823)
SVN-Revision: 17652
15 years ago
Andy Boyett 9756b46d1a remove legacy 2.4-specific behavior, fixes IB on brcm-2.4
SVN-Revision: 16654
15 years ago
Andy Boyett b728796706 fix profile package selection, packages from last parsed profile were accidentally installed
SVN-Revision: 16653
15 years ago
Nicolas Thill 3f8ac1680c fix initscripts activation (closes: #4037, #4745)
SVN-Revision: 15320
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Nicolas Thill be1a9ff41d fix ImageBuilder (closes: #3863)
SVN-Revision: 12370
16 years ago
Felix Fietkau bdb9c7351c some more build system cleanup
SVN-Revision: 12329
16 years ago
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
16 years ago
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
16 years ago
Florian Fainelli 50c077affb Fix imagebuilder for 2.6 kernels (#2900)
SVN-Revision: 10099
17 years ago
Felix Fietkau b81933c951 strip -$(KERNEL) from sdk/imagebuilder names
SVN-Revision: 9742
17 years ago
Felix Fietkau fa9710c7ee fix imagebuilder compile
SVN-Revision: 9736
17 years ago
Felix Fietkau 93575b53a7 Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9694
17 years ago
Felix Fietkau dfa7618bd6 fix the image builder
SVN-Revision: 9549
17 years ago
Florian Fainelli 43dc71fb0d Fix the imagebuilder generation (does not mean it works with the recent changes)
SVN-Revision: 8710
17 years ago
Florian Fainelli c54708272f Fix image builder generation (#2213)
SVN-Revision: 8412
17 years ago
Florian Fainelli 163dab630d Fix the imagebuilder compilation (#2213)
SVN-Revision: 8410
17 years ago
Felix Fietkau c0f9679587 fix a typo
SVN-Revision: 7906
17 years ago
Florian Fainelli e7113073f3 Suppress spaces in uname -m
SVN-Revision: 7594
17 years ago
Mike Baker 52553da52c fix bug in imagebuilder init.d scripts
SVN-Revision: 7188
17 years ago
Felix Fietkau 874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
17 years ago
Felix Fietkau 25fc88fe41 export the IMAGEBUILDER variable so that makefiles can test for the image builder run
SVN-Revision: 6951
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 8101912ed6 Accidentially broke sdk and imagebuilder in [6857]
SVN-Revision: 6858
17 years ago
Mike Baker 3295536b02 more [6849]
SVN-Revision: 6850
17 years ago
Florian Fainelli 6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
17 years ago
Felix Fietkau 2a7df08119 mark uml as broken and add some cleanups (not working yet)
SVN-Revision: 6439
17 years ago
Felix Fietkau 804bfa954d ignore profiles with custom kernel configs in the image builder itself
SVN-Revision: 6342
17 years ago
Felix Fietkau ccd12544f6 disable the image builder in menuconfig for profiles with custom kernel configs
SVN-Revision: 6341
17 years ago
Felix Fietkau 5281d134cd rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
SVN-Revision: 6336
17 years ago
Felix Fietkau 0aec54a5b5 fix a typo
SVN-Revision: 6158
18 years ago
Felix Fietkau 2fb06d46d9 Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
18 years ago
Felix Fietkau 146500a67c include .pkginfo in image builder
SVN-Revision: 6135
18 years ago
Felix Fietkau 7cb45c3be8 show package list on make info in the image builder
SVN-Revision: 6103
18 years ago
Felix Fietkau 351d0d4b07 Fix config checks for Image Builder and SDK - only build them when requested. Clear all packages from bin/packages at the beginning of package/compile when the Image Builder is selected, because the Image Builder can't handle multiple versions of the same package.
SVN-Revision: 6102
18 years ago
Felix Fietkau fd9477a18f remove BIN_DIR on make clean in the image builder
SVN-Revision: 6101
18 years ago
Felix Fietkau 374f384350 include .targetinfo in the image builder, and allow direct calls to the package_index target
SVN-Revision: 6093
18 years ago
Felix Fietkau dc07dd9704 force rebuild of the imagebuilder
SVN-Revision: 6073
18 years ago
Felix Fietkau 7a6a646497 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.
SVN-Revision: 6071
18 years ago