Commit Graph

242 Commits (ff6b0d57b8e4dd9c72b13ac0586c523c8d6e8841)

Author SHA1 Message Date
Felix Fietkau d282ccf383 ca-certificates: create symbolic link for certificate hashes
Implementing "add-cert.sh" functionality described at
http://wiki.openwrt.org/doc/howto/wget-ssl-certs into Makefile
otherwise you need to create symbolic links for certificate hashes
yourself.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 42660
10 years ago
Hauke Mehrtens c977fad4fd bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time,
because the CRC the boot loader check is invalid at that time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42639
10 years ago
Felix Fietkau 9a30ee9c2c ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42594
10 years ago
John Crispin 5f16859bff ubox: update to latest git
make the remote logging feature RFC3164 compliant

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

SVN-Revision: 42572
10 years ago
John Crispin ac01f2b9d6 fs-tools: dont use mips16
this causes problems on 47xx/74k

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

SVN-Revision: 42570
10 years ago
John Crispin 1d9620a0b4 procd: update to latest git HEAD
fixed timeout on shutdown and cmdline param parsing

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

SVN-Revision: 42545
10 years ago
John Crispin f81614594f procd: update to latest git
add support for starting services as !root

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

SVN-Revision: 42471
10 years ago
John Crispin b05c2aad3c opkg: indicate upgrade vs install
when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade
and not an install.

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

SVN-Revision: 42468
10 years ago
Felix Fietkau 2dabf3a775 procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42456
10 years ago
Felix Fietkau 833c5aab7e mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42405
10 years ago
Felix Fietkau 766dff7445 mtd: Fix trx check after partition rename ("linux" to "firmware")
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
 Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

    SVN-Revision: 38973

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 42403
10 years ago
John Crispin c23e0ed691 procd: run the mdns register outside the sub shell container
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42327
10 years ago
John Crispin b0d9dcf84d procd: update to latest git HEAD
this adds a interafce.update trigger and mdns service registration helpers

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

SVN-Revision: 42324
10 years ago
John Crispin 2ae05c57f8 package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42278
10 years ago
Jo-Philipp Wich 960b7643c9 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42004
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
Felix Fietkau 5743a89fb5 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41891
10 years ago
Steven Barth c0ad075472 procd: work around some docker architecture quirks
SVN-Revision: 41867
10 years ago
Felix Fietkau caeb675a46 procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41865
10 years ago
Felix Fietkau 5ce02632d1 procd: update to the latest version, fixes hotplug firmware loading issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41735
10 years ago
Imre Kaloz ecb68ba6b4 allow overriding the kernel partition's name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41646
10 years ago
Imre Kaloz 2ddcf5dd8a we already have a get_magic_long() in common.sh for sysupgrade, don't break it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41628
10 years ago
John Crispin 72efa88b64 procd: correctly identify ubifs in tar file
A missing path prevents the rootfs type contained in a SysupgradeNAND
tar file from being determined correctly.

This fixes it, and also corrects a minor spelling mistake.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41564
10 years ago
Jo-Philipp Wich 4f4faa92c0 rpcd: fix parsing of executable plugin output
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41502
10 years ago
Felix Fietkau 1ef92a0065 ubus: update to the latest version, fixes compile error regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41496
10 years ago
Felix Fietkau 361215b186 ubus: update to the latest version, increases maximum message size and adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41492
10 years ago
Felix Fietkau 5aef137f9e procd: add a shell helper function to emit a config.change event
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41482
10 years ago
Felix Fietkau 2baf4d4fb0 procd: add shell functions to add instance data
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41481
10 years ago
Felix Fietkau b4059dea7f procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter
also fixes a crash on stopping a service with triggers after reloading it

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

SVN-Revision: 41478
10 years ago
John Crispin f63bb0adbd ubox: fix remote logging
in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

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

SVN-Revision: 41467
10 years ago
John Crispin ea535a9565 ubox: add a flag that allows us to disable remote log while keeping the ip settings inside uci
this makes webui foo a lot easier

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

SVN-Revision: 41439
10 years ago
John Crispin 9912d02fa1 procd: fix uci_validation
Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41414
10 years ago
John Crispin a7863b1368 ubox: update to latest git
this adds validation fixes

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

SVN-Revision: 41413
10 years ago
Felix Fietkau b3b55de395 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 41411
10 years ago
Felix Fietkau 94b41e9aa5 rpcd: update to the latest version, fixes build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41403
10 years ago
Felix Fietkau bf90d46933 ubox: add explicit dependency on libubus to catch ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41389
10 years ago
Felix Fietkau 35f05693f1 ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41337
10 years ago
John Crispin 9b714b6e7b procd: fix nand.sh kernel_length typo
sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41327
10 years ago
John Crispin c2d95d4106 fstools: fix factory reset on ubifs overlay
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41315
10 years ago
John Crispin bce52219fa procd: update to latest git head
this fixes the upgraded linking issue on arm.

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

SVN-Revision: 41279
10 years ago
John Crispin 54faeadb07 procd: various improvements to nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41278
10 years ago
John Crispin 42f450b722 procd: forgot to update the git id in the last commit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41239
10 years ago
John Crispin 0cf34cee5e procd: make upgarded depend on mips, the static linking on arm fails
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41238
10 years ago
John Crispin 1a3ebd51ad procd: some cleanup for SysupgradeNAND
Removed unused ubi file file from template as ubinized images are
passed directly and not inside the tarball.
Also removed left-over white-space.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41237
10 years ago
John Crispin 3dca5a158d procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41222
10 years ago
John Crispin 21eac7a7db procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41221
10 years ago
John Crispin 91d82d7b36 procd: rename procd_add_network_trigger
i got complaints about the bad naming of the api. lets rename it while there are no users yet.

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

SVN-Revision: 41220
10 years ago
Felix Fietkau b30b59773b procd: update to the latest version, fixes static linking of upgraded
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41148
10 years ago
Felix Fietkau 79bbc4fbfb procd: allow passing multiple config files to procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41146
10 years ago
Steven Barth 12cdfef54c procd: fix overflow in hotplug socket on certain targets
SVN-Revision: 41142
10 years ago