summaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/files
Commit message (Collapse)AuthorAgeFilesLines
* build: add checksum targetJo-Philipp Wich2016-08-011-0/+6
| | | | | | | | | | | | | | | Add a new "checksum" make target which generates an sha256sums file over the image files produced in bin/targets/ and automatically call it during make world after the package index generation. The advantage of this new target is that it is guaranteed to run after the images, the SDK and the ImageBuilder archives have been generated to ensure that they all end up in the checksum file. Fixes FS#51. Uses sed to postprocess the OpenSSL digest output into an sha256sum command compatible format. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: remove obsolete variables from opkg commandFelix Fietkau2016-07-291-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: strip DEVICE_ prefix from profiles (FS#55)Felix Fietkau2016-07-211-3/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: Fix sorting package list breaks opkg dependency handling for ↵Daniel Dickinson2016-05-181-1/+1
| | | | | | | | | | | | | | | | provides When imagebuild sorts package lists it breaks opkg's ability to realize that a providers for a Provides has already been installed, when the sort results in the provider being later in the list of packages that a package which depends on a Provides (and hence the provider is not yet installed for opkg to realize the provider was available doesn't not handle the case of a package that is to be installed satisfying a dependency, only one that is already installed (or which it schedules to be installed, which in the absence of an installed provider is whichever provider happens to be the default) Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* target/imagebuilder: fix using new device profilesFelix Fietkau2016-05-131-13/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: rename OpenWrt into LEDEAlexander Couzens2016-05-051-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* 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> SVN-Revision: 48083
* 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> SVN-Revision: 46912
* 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> SVN-Revision: 46840
* 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> SVN-Revision: 46361
* imagebuilder: create cache directory if needed (#18629)Jo-Philipp Wich2015-06-011-7/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45866
* IB: use online repositoriesJo-Philipp Wich2015-05-272-4/+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> SVN-Revision: 45772
* 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> SVN-Revision: 43916
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
* imagebuilder: remove postinst files before generating imageFelix Fietkau2014-08-311-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42339
* 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> SVN-Revision: 42002
* imagebuilder: use file_copy to deploy files/ in the image generation phaseJo-Philipp Wich2012-12-021-9/+1
| | | | SVN-Revision: 34439
* imagebuilder: merge r25078 to align files/ handling with current buildrootJo-Philipp Wich2012-11-221-0/+8
| | | | SVN-Revision: 34301
* package/index: filter out the libc package from the indexFelix Fietkau2012-06-111-0/+1
| | | | SVN-Revision: 32187
* 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) SVN-Revision: 31711
* 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) SVN-Revision: 31484
* populate repositories.conf from version.mkJo-Philipp Wich2012-04-121-2/+2
| | | | SVN-Revision: 31268
* ImageBuilder: respect the PROFILE parameterGabor Juhos2012-01-241-4/+5
| | | | | | Based on a patch from #10766 SVN-Revision: 29877
* Various enhancements from Manuel Munz <freifunk@somakoma.de> - don't ↵Jo-Philipp Wich2011-09-091-2/+9
| | | | | | 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
* imagebuilder: clean opkg files if requested (patch from #9866)Felix Fietkau2011-08-011-0/+1
| | | | SVN-Revision: 27872
* 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> SVN-Revision: 25678
* allow overriding BIN_DIR (#7412)Jo-Philipp Wich2010-10-261-1/+3
| | | | SVN-Revision: 23643
* - sync with host opkg changes - get rid of autogenerated opkg.conf - utilize ↵Jo-Philipp Wich2010-09-123-57/+13
| | | | | | dl/ as package cache, useful for remote downloads SVN-Revision: 23039
* fix a small typo in sed patternJo-Philipp Wich2010-09-101-1/+1
| | | | SVN-Revision: 22997
* fix arch detection pattern to cope with underscores in board name, e.g. ↵Jo-Philipp Wich2010-09-081-1/+2
| | | | | | "adm5120_mips" SVN-Revision: 22980
* - add a helper script to generate opkg.conf, attempt to detect package ↵Jo-Philipp Wich2010-09-083-9/+52
| | | | | | 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
* use --force-run-hooks for host opkg installJo-Philipp Wich2010-09-071-1/+2
| | | | SVN-Revision: 22973
* use opkg/host for package installation - speeds up rebuild operations - ↵Jo-Philipp Wich2010-09-061-6/+20
| | | | | | aligns generated package list format with the one created by opkg on the target - fixes broken dependency handling in imagebuilder SVN-Revision: 22949
* revert r22372 and r22405, dependency on host libtool causes problemsJo-Philipp Wich2010-07-281-20/+6
| | | | SVN-Revision: 22406
* use host opkg for installing packages in buildroot and ImageBuilderJo-Philipp Wich2010-07-231-6/+20
| | | | SVN-Revision: 22372
* - correctly copy .config when scripts/env is used in the buildroot - prevent ↵Jo-Philipp Wich2010-04-271-8/+18
| | | | | | user provides PACKAGES from overriding per-profile defaults SVN-Revision: 21213
* imagebuilder: add REVISION variable (closes #6795)Gabor Juhos2010-03-081-1/+4
| | | | SVN-Revision: 20064
* fix custom package selectionJo-Philipp Wich2010-02-131-1/+1
| | | | SVN-Revision: 19623
* imagebuilder: accept empty profile names, some targets do not define ↵Felix Fietkau2009-10-221-6/+1
| | | | | | profiles (thx, patrick) SVN-Revision: 18117
* remove board name hack (#5823)Florian Fainelli2009-09-201-1/+0
| | | | SVN-Revision: 17652
* remove legacy 2.4-specific behavior, fixes IB on brcm-2.4Andy Boyett2009-07-021-4/+0
| | | | SVN-Revision: 16654
* fix profile package selection, packages from last parsed profile were ↵Andy Boyett2009-07-021-2/+2
| | | | | | accidentally installed SVN-Revision: 16653
* fix initscripts activation (closes: #4037, #4745)Nicolas Thill2009-04-211-2/+2
| | | | SVN-Revision: 15320
* fix ImageBuilder (closes: #3863)Nicolas Thill2008-08-221-1/+1
| | | | SVN-Revision: 12370
* Generate gzipped package lists - Can be used by changing the src line in ↵Andy Boyett2008-07-291-2/+4
| | | | | | /etc/ipkg.conf to src/gz - Cannot be used by busybox ipkg SVN-Revision: 11981
* Fix imagebuilder for 2.6 kernels (#2900)Florian Fainelli2008-01-031-0/+4
| | | | SVN-Revision: 10099
* fix the image builderFelix Fietkau2007-11-141-53/+45
| | | | SVN-Revision: 9549
* fix a typoFelix Fietkau2007-07-101-1/+1
| | | | SVN-Revision: 7906
* fix bug in imagebuilder init.d scriptsMike Baker2007-05-111-1/+1
| | | | SVN-Revision: 7188