aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/files/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* images imagebuilder: Allow to add sanitized extra nameFelix Fietkau2016-01-031-2/+2
| | | | | | | | | | | | | For final output image names allow user to add an extra string (which is sanitized). This is particularly useful with ImageBuilder where you may generate multiple images from the same base and for the same board, with different package selections and additional files (via FILES=). Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: store package lists in cache directoryJo-Philipp Wich2015-09-141-0/+2
| | | | | | | | | | Force opkg to store the downloaded repository indizes into the cache directory as well, this way the IB can be used in an offline setting once all required files have been cached. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: run build prereq checks before building image to set up host ↵Felix Fietkau2015-09-101-1/+16
| | | | | | | | commands properly Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-1/+1
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: create cache directory if needed (#18629)Jo-Philipp Wich2015-06-011-7/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* IB: use online repositoriesJo-Philipp Wich2015-05-271-2/+2
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: fail with error if the passed profile name does not existJo-Philipp Wich2015-01-101-0/+8
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: remove postinst files before generating imageFelix Fietkau2014-08-311-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-2/+2
| | | | | | | | | 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
* imagebuilder: use file_copy to deploy files/ in the image generation phaseJo-Philipp Wich2012-12-021-9/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: merge r25078 to align files/ handling with current buildrootJo-Philipp Wich2012-11-221-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/index: filter out the libc package from the indexFelix Fietkau2012-06-111-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: explicitly install the kernel .ipk before installing anything ↵Felix Fietkau2012-05-141-0/+1
| | | | | | 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
* build: rework verbosity level selectionFelix Fietkau2012-04-261-1/+1
| | | | | | | | | | | | | 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
* ImageBuilder: respect the PROFILE parameterGabor Juhos2012-01-241-4/+5
| | | | | | Based on a patch from #10766 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder] Various enhancements from Manuel Munz <freifunk@somakoma.de>Jo-Philipp Wich2011-09-091-2/+9
| | | | | | | | | - 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
* imagebuilder: clean opkg files if requested (patch from #9866)Felix Fietkau2011-08-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 2/2] Send ipkg-make-index.sh output to stdoutJo-Philipp Wich2011-02-231-1/+1
| | | | | | | | | | | | | | | | 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
* [imagebuilder] allow overriding BIN_DIR (#7412)Jo-Philipp Wich2010-10-261-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder]Jo-Philipp Wich2010-09-121-9/+10
| | | | | | | | | - 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
* [imagebuilder]Jo-Philipp Wich2010-09-081-9/+2
| | | | | | | | | - 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
* [imagebuilder] use --force-run-hooks for host opkg installJo-Philipp Wich2010-09-071-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] use opkg/host for package installationJo-Philipp Wich2010-09-061-6/+20
| | | | | | | | | - 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
* [buildsystem] revert r22372 and r22405, dependency on host libtool causes ↵Jo-Philipp Wich2010-07-281-20/+6
| | | | | | problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] use host opkg for installing packages in buildroot and ↵Jo-Philipp Wich2010-07-231-6/+20
| | | | | | ImageBuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder]Jo-Philipp Wich2010-04-271-8/+18
| | | | | | | | - 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
* imagebuilder: add REVISION variable (closes #6795)Gabor Juhos2010-03-081-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder] fix custom package selectionJo-Philipp Wich2010-02-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: accept empty profile names, some targets do not define ↵Felix Fietkau2009-10-221-6/+1
| | | | | | profiles (thx, patrick) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder] remove board name hack (#5823)Florian Fainelli2009-09-201-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ImageBuilder] remove legacy 2.4-specific behavior, fixes IB on brcm-2.4Andy Boyett2009-07-021-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ImageBuilder] fix profile package selection, packages from last parsed ↵Andy Boyett2009-07-021-2/+2
| | | | | | profile were accidentally installed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [imagebuilder] fix initscripts activation (closes: #4037, #4745)Nicolas Thill2009-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ImageBuilder (closes: #3863)Nicolas Thill2008-08-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ipkg] Generate gzipped package listsAndy Boyett2008-07-291-2/+4
| | | | | | | - 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
* Fix imagebuilder for 2.6 kernels (#2900)Florian Fainelli2008-01-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the image builderFelix Fietkau2007-11-141-53/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typoFelix Fietkau2007-07-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix bug in imagebuilder init.d scriptsMike Baker2007-05-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* export the IMAGEBUILDER variable so that makefiles can test for the image ↵Felix Fietkau2007-04-151-0/+1
| | | | | | builder run git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ignore profiles with custom kernel configs in the image builder itselfFelix Fietkau2007-02-221-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename the Profile template that the image builder uses to prevent name ↵Felix Fietkau2007-02-221-1/+1
| | | | | | conflicts with the template that the kernel uses git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typoFelix Fietkau2007-01-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add WL-700gE support (based on work by jr)Felix Fietkau2007-01-201-0/+2
| | | | | | | Includes kernel/diag patch and a new target profile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* show package list on make info in the image builderFelix Fietkau2007-01-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove BIN_DIR on make clean in the image builderFelix Fietkau2007-01-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include .targetinfo in the image builder, and allow direct calls to the ↵Felix Fietkau2007-01-141-2/+2
| | | | | | package_index target git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add initial version of the new Image BuilderFelix Fietkau2007-01-101-0/+147
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