Commit graph

79 commits

Author SHA1 Message Date
John Crispin
096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
2015-07-14 09:57:45 +00:00
Matteo Croce
c37d7a7e8f fix mklibs with musl
crate a relative symlink to libc.so because
make wildcard function ignores broken symlinks

SVN-Revision: 46123
2015-06-25 10:14:22 +00:00
Felix Fietkau
b35846974e build: do another init script enabling run, fixes init scripts added via files/ ()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45964
2015-06-14 17:42:05 +00:00
Jo-Philipp Wich
edbb32897a build: trigger pacakge index creation for all feeds if required
When CONFIG_PER_FEED_REPO_ADD_DISABLED is set, trigger index creation for
any available feed, regardless of whether there where binaries built or not.

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

SVN-Revision: 45765
2015-05-26 11:37:05 +00:00
Felix Fietkau
ecb14f4a5d build: allow creating empty package feeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45757
2015-05-26 09:09:07 +00:00
Felix Fietkau
beca028bd6 build: add integration for managing opkg package feed keys
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45286
2015-04-06 19:39:51 +00:00
John Crispin
44249f71a8 postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42571
2014-09-16 11:56:19 +00:00
John Crispin
d6dbc22bbc ipkg: add a default postinst/prerm script
the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.

the prerm script stops and disables the init.d scripts.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42470
2014-09-11 12:27:49 +00:00
Jo-Philipp Wich
aebbc47c2a build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO ()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42041
2014-08-07 15:35:12 +00:00
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
2014-08-05 11:24:24 +00:00
John Crispin
3936ed4028 package/Makefile: Substituted deprecated -perm +mode with -perm /mode
The find(1) -perm +mode is no longer supported and has been deprecated since
2005.

This could resolve  ticket.

Signed-off-by: Rocco Folino <lordzen87@gmail.com>

SVN-Revision: 40927
2014-06-02 12:44:13 +00:00
Jo-Philipp Wich
7490659254 package: ignore failed downloads with IGNORE_ERRORS
When IGNORE_ERROR is set, also skip broken downloads, this is required
to make a full "make download" run even if some upstream sources are
unreachable.

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

SVN-Revision: 40768
2014-05-14 15:49:22 +00:00
Felix Fietkau
ee4110aff0 target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages

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

SVN-Revision: 39913
2014-03-13 12:12:58 +00:00
Felix Fietkau
d1c64ab221 build: fix installation of default-variant packages when the source package has multiple variants ()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39899
2014-03-12 19:53:13 +00:00
Steven Barth
03b0c3b5a6 package/index: fix index creating when building without signing
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 38287
2013-10-02 16:38:28 +00:00
Steven Barth
cbdd346b11 Add package signing infrastructure
Add package signing key and certificate configuration options to the
"Image configuration" submenu. If enabled, the Packages.gz list will
be signed as file Packages.sig. The passphrase for the signing key can
be sourced from a file or entered by the user. The signing certificate
is automatically added to the firmware image if opkg-smime is selected.

Signed-off-by: Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38284
2013-10-02 12:12:10 +00:00
Felix Fietkau
f91d09cabb mklibs: Fix mklibs usage when *.so files reside in subdirs
Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables
to mklibs. However, other libs can also reside in different subdirectories
(in my case /usr/lib/ipsec). Hence, create the list of library directories
dynamically.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 37841
2013-08-26 17:31:27 +00:00
Felix Fietkau
4af1bb818c build: fix IGNORE_ERRORS for sources packages that match both 'y' and 'm'
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37405
2013-07-18 16:44:44 +00:00
Felix Fietkau
64f0b22052 build: only install packages for selected variants, fixes building multiple variant selections in one tree
SVN-Revision: 34656
2012-12-13 13:07:01 +00:00
Jo-Philipp Wich
a99b0363d0 package: use file_copy to deploy files/ in the package/install phase
SVN-Revision: 34438
2012-12-02 12:20:38 +00:00
Jo-Philipp Wich
d3e90ba7a7 buildroot: isolate the .install stamp files for build variants ()
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

SVN-Revision: 34106
2012-11-07 16:15:22 +00:00
Felix Fietkau
0f6e5b76f8 build: add back the package/cleanup step to remove the root staging dir for mklibs
SVN-Revision: 33777
2012-10-15 13:19:45 +00:00
Felix Fietkau
44cd20b802 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
SVN-Revision: 33631
2012-10-06 16:01:06 +00:00
Luka Perkov
33dadd70ab mklibs: update to 0.1.34 (v2)
SVN-Revision: 32165
2012-06-10 17:07:46 +00:00
Jo-Philipp Wich
b179722c71 make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
SVN-Revision: 27138
2011-06-08 19:38:25 +00:00
Felix Fietkau
963b90bb5a remove postinst files for preinstalled packages
SVN-Revision: 26299
2011-03-25 23:47:08 +00:00
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
2011-02-23 22:59:57 +00:00
Felix Fietkau
26c3d87db0 allow files/ to overwrite existing symlinks (fixes )
SVN-Revision: 25078
2011-01-23 20:59:13 +00:00
Felix Fietkau
dd7c8797ec make IGNORE_ERRORS apply to deselected packages as well (typically triggered through dependencies)
SVN-Revision: 23796
2010-11-02 16:38:57 +00:00
Jo-Philipp Wich
e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich
ceeb9a8013 make base-files dependent on opkg host compile, fixes install errors when package/compile and package/install are invoked separately
SVN-Revision: 22405
2010-07-27 22:26:13 +00:00
Jo-Philipp Wich
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Travis Kemen
52564dc5e3 this patch fixes package/Makefile.
-Raphael

SVN-Revision: 20000
2010-03-05 20:28:52 +00:00
Felix Fietkau
ba1e6a68ae fix opkg directory cleaning ()
SVN-Revision: 17952
2009-10-06 04:50:53 +00:00
Felix Fietkau
717a6344d4 decrease verbosity of mklibs.py
SVN-Revision: 17174
2009-08-08 02:37:59 +00:00
Felix Fietkau
b1a2f4b2b8 integrate mklibs.py support into the build process
SVN-Revision: 17173
2009-08-08 02:25:03 +00:00
Felix Fietkau
4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
SVN-Revision: 17167
2009-08-07 21:58:35 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Lars-Peter Clausen
fbdb8046c2 Fix enabling of init scripts.
SVN-Revision: 12482
2008-09-02 00:23:59 +00:00
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
2008-07-29 03:36:11 +00:00
Felix Fietkau
31a3a503cc add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
SVN-Revision: 11059
2008-05-07 16:45:00 +00:00
Felix Fietkau
2da3f6a256 fix the sdk
SVN-Revision: 9747
2007-12-14 00:33:25 +00:00
Felix Fietkau
21a246d5d6 add option for cleaning all ipkg info before the image build
SVN-Revision: 9151
2007-10-05 21:52:05 +00:00
Eugene Konev
dd44ecc578 fix image preconfiguration
SVN-Revision: 8921
2007-09-21 17:01:46 +00:00
Felix Fietkau
761dc0a0ae fix a dependency bug
SVN-Revision: 8561
2007-08-30 22:43:25 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
24179e6814 fix package/index
SVN-Revision: 8294
2007-08-01 08:21:15 +00:00
Felix Fietkau
cb7605f7ba fix rootfs and init script handling
SVN-Revision: 8293
2007-07-31 22:54:21 +00:00
Felix Fietkau
a443100197 remove unnecessary deps
SVN-Revision: 8243
2007-07-30 21:22:38 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00