Commit graph

76 commits

Author SHA1 Message Date
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau
d365063c59 opkg: add host and package parallel build support
SVN-Revision: 33424
2012-09-15 12:34:52 +00:00
Jo-Philipp Wich
a43ae30e1b include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner
The available placeholders are:
 %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
 %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
 %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
 %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
 %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
 %v .. Like %V, but all characters made lowercase and spaces substituted with "_"
 %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
 %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
 %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
 %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
 %T .. Replace with the current target (e.g. "ar71xx")
 %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")

SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Jo-Philipp Wich
ba0c7accd9 opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
SVN-Revision: 28458
2011-10-15 01:05:25 +00:00
Felix Fietkau
19e4c371c5 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
SVN-Revision: 26684
2011-04-15 16:18:11 +00:00
Jo-Philipp Wich
37f7e8afdc opkg: update to r618
SVN-Revision: 26598
2011-04-11 22:08:43 +00:00
Jo-Philipp Wich
fef8f37692 change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf
SVN-Revision: 25904
2011-03-06 21:42:48 +00:00
Felix Fietkau
8c0df5f96c opkg: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 25829
2011-03-02 12:48:04 +00:00
Jo-Philipp Wich
97860d1c5c opkg: remove stray HOST_BUILD_DEPENDS
SVN-Revision: 24679
2010-12-18 19:16:03 +00:00
Jo-Philipp Wich
99c9533a7f opkg: remove manual automake invocations and rely and host and target fixups
SVN-Revision: 24554
2010-12-13 20:54:01 +00:00
Jo-Philipp Wich
45ac69c410 opkg: disable output shaving
SVN-Revision: 24553
2010-12-13 20:52:57 +00:00
Jo-Philipp Wich
2cf41ac533 opkg: ship pkg.m4, this fixes building on FreeBSD
SVN-Revision: 24145
2010-11-25 18:02:36 +00:00
Jo-Philipp Wich
1fd328fb78 opkg: write error messages to stdout
SVN-Revision: 24133
2010-11-24 14:54:26 +00:00
Florian Fainelli
b55f4bdd60 Merge branch 'master' of git://nbd.name/openwrt
Conflicts:

	package/opkg/patches/009-remove-upgrade-all.patch

SVN-Revision: 23532
2010-10-19 07:06:12 +00:00
Jo-Philipp Wich
3864e6af2f opkg: update to r576, remove 013add-list-changed-conffiles.patch - went upstream.
SVN-Revision: 23230
2010-10-05 07:26:49 +00:00
Jo-Philipp Wich
7eb2c8959c opkg: implement "list-changed-conffiles" command, based on patch by Yann Lopez <yann.lopez@gmail.com>
SVN-Revision: 23210
2010-10-03 22:15:39 +00:00
Jo-Philipp Wich
8e9dfc063f opkg: reenable global upgrade, refresh patches
SVN-Revision: 23174
2010-10-02 03:25:35 +00:00
Jo-Philipp Wich
1cb2abca8e add maintainer information
SVN-Revision: 23159
2010-09-30 10:48:37 +00:00
Alexandros C. Couloumbis
c1c4e40dff package/opkg: add missing patch from r23050
SVN-Revision: 23052
2010-09-13 08:57:16 +00:00
Alexandros C. Couloumbis
bf29f6455f package/opkg: update to r563
SVN-Revision: 23050
2010-09-13 08:13:36 +00:00
Jo-Philipp Wich
9bb6f3b5f3 opkg: - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
b1edd2ac6e opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
SVN-Revision: 22960
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
a836869b69 opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend libtool/host
SVN-Revision: 22947
2010-09-06 02:12:14 +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
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Jo-Philipp Wich
5707e757a7 opkg: fix host compilation on Darwin (libopkg_test failed to link)
SVN-Revision: 22340
2010-07-21 22:02:25 +00:00
Jo-Philipp Wich
3ebcb3ca68 opkg: strip trailing whitespaces from entries in conffiles control files, fixes conffile md5 calculation against ipkg-build generated archives
SVN-Revision: 22338
2010-07-21 18:26:07 +00:00
Jo-Philipp Wich
d429130518 opkg: update to r528, refresh patches
SVN-Revision: 21008
2010-04-18 23:23:40 +00:00
Nicolas Thill
fc72a828f5 opkg: add upstream patch fixing the order packages are configured (closes: #7057, #7058), bump release number
SVN-Revision: 20686
2010-04-03 21:38:17 +00:00
Nicolas Thill
8779e971ed opkg: fix usage to reflect change in the upgrade command
SVN-Revision: 20531
2010-03-28 01:27:07 +00:00
Gabor Juhos
5c5b8928d2 package/opkg: refresh patches
SVN-Revision: 20474
2010-03-26 14:29:17 +00:00
Florian Fainelli
7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Travis Kemen
ab3d8e0779 fix opkg.conf
SVN-Revision: 19684
2010-02-17 02:34:48 +00:00
Travis Kemen
9788414b55 change the opkg path due to changes in the buildsystem, fixes incorrect path in snapshot images
SVN-Revision: 19575
2010-02-11 02:38:08 +00:00
Felix Fietkau
35170c4892 opkg: remove an empty patch
SVN-Revision: 19330
2010-01-25 17:10:59 +00:00
Jo-Philipp Wich
d9ca4041c5 opkg: fallback to dest->root_dir if specified overlay_root does not exist on filesystem (#6498)
SVN-Revision: 19121
2010-01-13 20:21:39 +00:00
Jo-Philipp Wich
d7272853a2 opkg: update to r513, move lock-file to /var/lock and drop cleanup patch - went upstream
SVN-Revision: 19061
2010-01-07 12:37:49 +00:00
Jo-Philipp Wich
e528ed80da opkg: only select overlay_root if the install destination is root, this eliminates the need for force_space when using external destinations like usb disks
SVN-Revision: 18884
2009-12-22 11:46:49 +00:00
Jo-Philipp Wich
51d2ab9308 opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
SVN-Revision: 18879
2009-12-21 15:09:08 +00:00
Jo-Philipp Wich
908bdfd435 opkg: the current version leaves empty temp directories behind, clean them up before exit
SVN-Revision: 18872
2009-12-21 03:28:11 +00:00
Jo-Philipp Wich
608de32479 opkg: update to r503 - reduces peak memory usage by further 20%, rebased patches, restored old config file default
SVN-Revision: 18864
2009-12-20 21:21:14 +00:00
Jo-Philipp Wich
0b69c5e549 opkg: forgot to remove two obsolete patches in last commit
SVN-Revision: 18381
2009-11-11 22:13:10 +00:00
Jo-Philipp Wich
2355f9d497 opkg: bump to r284 - incorporates parsing improvements upstream - fixes a couple of memory leaks - fixes some null pointer dereferences - fixes possible crashes during removal of packages - various other corrections
SVN-Revision: 18380
2009-11-11 21:42:05 +00:00
Jo-Philipp Wich
ed2eed7b64 opkg: ignore Section, Source and Maintainer as well when ignoring descriptions, saves a few hundred KB memory
SVN-Revision: 18124
2009-10-22 17:16:13 +00:00
Jo-Philipp Wich
763644ae93 opkg: - re-enable upgrade and restrict it to signle packages, fix usage text - only read package descriptions if they're actually needed (almost never), saves even more space when parsing package lists - refresh patches
SVN-Revision: 18120
2009-10-22 15:15:19 +00:00
Jo-Philipp Wich
3231dce5aa opkg: - replace package list parser by something that works with fixed buffers to avoid slurping the whole file into memory during parsing - fix a possible null pointer dereference in opkg_remove_cmd() - get rid of upgrade, it cannot upgrade single packages and kills the system in most cases - get rid of the flag operation, not needed - bump package revision
SVN-Revision: 18119
2009-10-22 08:46:55 +00:00
Felix Fietkau
762991f315 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
SVN-Revision: 18091
2009-10-20 08:21:10 +00:00
Felix Fietkau
be563b8702 opkg: move the build dir to KERNEL_BUILD_DIR, as compilation is target dependent
SVN-Revision: 17820
2009-10-02 15:18:38 +00:00
Felix Fietkau
997d4fb013 opkg: fix the -force_space option
SVN-Revision: 17611
2009-09-19 17:32:59 +00:00
Jo-Philipp Wich
6ccd4143eb opkg: fix duplicate parsing of config file, move opkg.conf back to /etc, bump package revision, thanks kupseoft
SVN-Revision: 17209
2009-08-10 22:38:37 +00:00