John Crispin
c18f603ba4
ubox: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46356
2015-07-14 07:44:14 +00:00
John Crispin
8503f34ce8
fstools: fstab.init fix spelling
...
fix a very minor typo in warning message
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
SVN-Revision: 46273
2015-07-08 14:26:12 +00:00
John Crispin
7ab6409a89
ubus: bump to latest git HEAD
...
fixes a bug where gid was checked twice instead of the uid/gid combo
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46246
2015-07-07 13:48:17 +00:00
Rafał Miłecki
9206a90a74
procd: update to the latest version, fix stdout logging
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46212
2015-07-07 10:22:25 +00:00
Felix Fietkau
f58c9613f7
ubus: update to the latest version, fixes a segfault on message retry
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46199
2015-07-06 16:44:45 +00:00
John Crispin
df1daa4692
ubus: update to latest git HEAD
...
this adds ACL support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46040
2015-06-18 17:04:14 +00:00
Felix Fietkau
d494adc396
procd: update to the latest version, fixes umask handling for creating /dev/shm
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46023
2015-06-18 06:37:08 +00:00
Felix Fietkau
2d5a364e60
procd: update to the latest version, fixes /dev/shm permissions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46013
2015-06-17 10:13:24 +00:00
Felix Fietkau
278add2ab1
opkg: fix duplicate check_signature line for smime variant ( #19863 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45999
2015-06-16 10:51:16 +00:00
Felix Fietkau
ffc033b26b
procd: update to the latest version, adds a few fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45972
2015-06-14 17:44:04 +00:00
Felix Fietkau
16fa80a8f1
procd: correct the order of respawn params in the comments.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 45955
2015-06-14 17:41:07 +00:00
John Crispin
72eb909a0d
opkg: Fix --force-checksum when using SHA256
...
Allow installing packages with mismatching SHA256 checksums via
$ opkg install --force-checksum $PACKAGE
Signed-off-by: Florian Fieber <florian@florianfieber.de>
SVN-Revision: 45904
2015-06-05 14:12:45 +00:00
Felix Fietkau
9e233fb241
mtd: add missing <endian.h> include
...
trx.c in mtd would not include endian.h, so on systems that do not have
this header implicitly included from the other headers (like musl), both
__BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to
it always presuming a big-endian system. this would lead to issues when
running mtd fixtrx on little-endian systems, as it would never recognize
the TRX magic as result of the broken STORE32_LE() macro.
Signed-off-by: Shiz <hi@shiz.me>
Tested-by: Shiz <hi@shiz.me>
SVN-Revision: 45896
2015-06-05 09:00:02 +00:00
John Crispin
5fe5aeaa72
procd: work around a event race
...
there is a conceptual design flaw in our interface events. workaround this by
disabling duplicate message supression in procd. we need to fix this properly
for the next release
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45883
2015-06-03 13:59:08 +00:00
John Crispin
2b9ac1e0af
procd: add a 10 second delay to the interface triggers
...
this is an ugly hack that will be removed when the netifd maintainers
have time to look at the problem.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45876
2015-06-02 12:03:20 +00:00
John Crispin
157c9199b3
ca-certificates: update to version 20150426
...
update to version 20150426
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 45858
2015-05-31 17:45:54 +00:00
Jo-Philipp Wich
3c5357d6ef
feeds: use common macro "FeedSourcesAppend" to populate opkg configurations
...
This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45799
2015-05-28 09:47:37 +00:00
Felix Fietkau
85d5ada56f
fstools: update to the latest version, makes filesystem initialization state tracking more reliable ( #19564 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45751
2015-05-25 22:00:06 +00:00
Felix Fietkau
8450300079
ubus: update to the latest version, switch to git.openwrt.org, fixes a lua binding memory leak
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45750
2015-05-25 21:15:42 +00:00
John Crispin
09bf72ae05
ubox: various logd cleanups
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45721
2015-05-23 15:26:29 +00:00
John Crispin
86b573fa31
procd: make the jail code also work on arm
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45719
2015-05-23 15:26:09 +00:00
Jo-Philipp Wich
62b1ce098a
rpcd: unload package after uci reverts
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45695
2015-05-17 12:16:27 +00:00
Felix Fietkau
c43444aa1b
usign: update to the latest version, use libubox base64 code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45642
2015-05-08 12:37:26 +00:00
Jo-Philipp Wich
2a196a68cd
procd: fix uid/gid changing for service instances
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45611
2015-05-05 11:00:53 +00:00
John Crispin
a43bcc980e
Removed reference to imaginary procd_add_interface_reload in procd.sh
...
The last line of procd.sh has a reference to procd_add_interface_reload. procd_add_interface_reload
doesn't seem to exist. I've removed the reference of it to minimize confusion.
Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>
SVN-Revision: 45487
2015-04-18 10:19:02 +00:00
Felix Fietkau
4d67af61be
opkg: fix md5 related #ifdef (thx, swalker)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45447
2015-04-14 22:10:40 +00:00
John Crispin
9d982afe5e
rpcd: update to latest git HEAD
...
adds support for reading md5 sums of files
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45442
2015-04-14 19:01:29 +00:00
John Crispin
88593747cc
fstools: update to latest git HEAD
...
fixes issues with semi-initialized overlay partitions during firstboot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45440
2015-04-14 19:01:09 +00:00
John Crispin
cc9a392e49
opkg: drop md5 in favour of sha256
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45437
2015-04-14 19:00:14 +00:00
Jo-Philipp Wich
b0b95e0dd7
fstools: reject relative mount points
...
To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45404
2015-04-12 20:34:31 +00:00
John Crispin
8b5c250797
procd: fix compile error on x86_64
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45344
2015-04-10 08:28:21 +00:00
John Crispin
19b239d643
fstools: update to latest git HEAD
...
this fixes extroot on mvebu
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45341
2015-04-10 08:27:27 +00:00
Felix Fietkau
7b98f71f09
uci: update to the latest version, fixes a regression in handling empty/comment lines in uci batch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45340
2015-04-09 14:57:25 +00:00
John Crispin
093c341473
procd: add helper for starting NAND sysupgrade
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45339
2015-04-09 14:33:11 +00:00
John Crispin
eb099c5d6b
ubox: add log_trailer_null option to uci
...
this allow us to use syslog tcp with \0 trailer
instead of \n trailer (logread -0 option)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 45329
2015-04-09 10:32:18 +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
Felix Fietkau
dde8214d16
opkg: add patch to circumvent signature checks on the command line
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45285
2015-04-06 19:39:22 +00:00
Felix Fietkau
3efd1303d8
opkg: add patch for supporting signature checking through usign
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45284
2015-04-06 19:38:37 +00:00
Felix Fietkau
a6cb86f48d
usign: add new package for generating/verifying verification (similar to signify)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45283
2015-04-06 19:38:07 +00:00
Felix Fietkau
f255bc4149
uci: update to the latest version, fixes savedir issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45254
2015-04-03 18:44:04 +00:00
Nicolas Thill
fe46689f10
packages: use $(LN) macro, make symlinks relative
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45250
2015-04-03 00:07:43 +00:00
John Crispin
a722ee6107
ubox: update to latest git HEAD
...
improve logging when using tcp
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45247
2015-04-02 16:15:35 +00:00
Felix Fietkau
91c8b109db
uci: update to the latest version, fixes delta path / savedir issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45189
2015-03-31 16:44:32 +00:00
John Crispin
fd91040704
rpcd: properly handle return codes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45152
2015-03-30 12:35:05 +00:00
John Crispin
d6af8e2175
ubox: properly handle return codes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45151
2015-03-30 12:34:56 +00:00
John Crispin
2268d15948
procd: properly handle return codes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45150
2015-03-30 12:34:42 +00:00
John Crispin
08b882fbae
fstools: properly handle return codes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45149
2015-03-30 12:33:05 +00:00
John Crispin
530e70c753
ubox: update to latest git HEAD
...
the return code of a pipe() was not checked properly
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45141
2015-03-29 15:38:21 +00:00
John Crispin
8d8f01088a
ubox: update to latest git HEAD
...
fixes log levels
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45139
2015-03-29 12:57:32 +00:00
John Crispin
6484aa1d28
procd: remove superflous @ in depends line
...
the @ syntax is not required by Kbuild
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45070
2015-03-27 21:11:17 +00:00
John Crispin
23b24d43ae
procd: disable jail for uml builds
...
probiere den mal bitte
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45066
2015-03-27 16:28:43 +00:00
John Crispin
3dde74b24b
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45057
2015-03-27 09:11:49 +00:00
Felix Fietkau
137c0cc434
uci: update to the latest version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45040
2015-03-26 20:43:12 +00:00
John Crispin
8ef68a2005
procd: fix jail/seccomp build depenedencies
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45032
2015-03-26 20:30:18 +00:00
John Crispin
e85b93d9b8
procd: add jail support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45010
2015-03-26 10:58:25 +00:00
Felix Fietkau
889e1e4bff
fstools: update to the latest version, makes interrupted first boot more reliable
...
Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44942
2015-03-22 15:11:27 +00:00
John Crispin
8fd3227a95
procd: update to latest git HEAD
...
fixes parameter handling in askfirst tool
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44879
2015-03-18 20:08:27 +00:00
Nicolas Thill
4b382a440b
packages: some (e)glibc fixes after r44701
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44842
2015-03-16 12:25:06 +00:00
John Crispin
a7d6427796
fstools: bump to latest git HEAD
...
this makes fstools compile with latest glibc
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44699
2015-03-12 19:50:14 +00:00
John Crispin
0164cf9742
procd: bump to latest git HEAD
...
this makes procd compile with latest glibc
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44698
2015-03-12 19:50:00 +00:00
John Crispin
931b0f6e8a
rpcd: update to latest git HEAD
...
adds 3 fixes from luka
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44666
2015-03-11 15:56:51 +00:00
John Crispin
59c20174f8
json-c: update to 0.12 and bump all depending services
...
Version 0.12 deprecates json_object_object_get and moves the header files around
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44657
2015-03-11 15:54:33 +00:00
John Crispin
b48b7a7689
mtd: fix md5sum error checking
...
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.
This patch fixes error checking to interpret only
negative values as errors.
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
SVN-Revision: 44605
2015-03-05 20:25:02 +00:00
Jonas Gorski
92eb27f56d
package: mtd: move bcm963xx_tag definition into source code
...
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44557
2015-02-27 17:38:25 +00:00
Felix Fietkau
1a3028b2fc
procd: update to the latest version, fixes musl compile error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44552
2015-02-27 07:34:47 +00:00
Jo-Philipp Wich
03db988eaa
ubox: fix segmentation fault in insmod
...
Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44549
2015-02-26 21:23:55 +00:00
Jo-Philipp Wich
fd670d2756
procd: add support for relaying daemon stdio to syslog
...
Procd enabled init scripts can now specify:
procd_set_param stdout 1
procd_set_param stderr 1
... to relay their respective standard IO streams to the system log.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44547
2015-02-26 13:42:47 +00:00
Jo-Philipp Wich
46432b13b6
fstools: switch to ulog api
...
Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44545
2015-02-26 10:25:29 +00:00
Jo-Philipp Wich
cf6c1e5d26
ubox: switch to ulog api
...
Update to git head in order to switch the kmodloader logging to the common
ulog() api for putting early boot messages into dmesg.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44544
2015-02-26 10:25:24 +00:00
Jo-Philipp Wich
9e28fe285b
procd: switch to ulog api
...
Update to git head in order to switch the procd logging to the common ulog()
api for putting early boot messages into dmesg.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44543
2015-02-26 10:25:21 +00:00
Jo-Philipp Wich
ff009fb74c
fstools: fix build with enabled ubifs extroot support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44538
2015-02-25 18:54:13 +00:00
Jo-Philipp Wich
b2eb77089b
fstools: fix multiple extroot problems
...
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44535
2015-02-25 13:03:16 +00:00
Jo-Philipp Wich
979e6ca857
ubox: kmodloader: support loading kmods from multiple directories
...
This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.
The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44533
2015-02-25 11:48:27 +00:00
Nicolas Thill
4b8ebb5d50
packages: remove uneeded PKG_BUILD_DIR overrides
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44498
2015-02-22 01:31:21 +00:00
John Crispin
fb57efa79e
procd: fix PKG_CONFIG_DEPENDS
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44457
2015-02-15 19:55:37 +00:00
Jo-Philipp Wich
ba2d7b9c2b
rpcd: fix session.{login,list,destroy} method signatures
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44362
2015-02-09 12:54:29 +00:00
Jo-Philipp Wich
772a664571
fstools: fix exit code of uci-defaults script
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44180
2015-01-28 13:44:37 +00:00
John Crispin
25a1cb4e16
procd: update to latest git HEAD
...
adds a zram size calculation bug fix
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44177
2015-01-28 12:07:55 +00:00
Jo-Philipp Wich
2d523f7d59
procd: make build of upgraded optional
...
Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.
This also adds some fixes to the ubus system.info and system.board
methods.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44134
2015-01-25 16:12:52 +00:00
Felix Fietkau
d7274cf747
ubus: update to the latest version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44081
2015-01-23 10:54:52 +00:00
Steven Barth
4fde177b7a
procd: fix console bringup on UML (again...)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43890
2015-01-09 08:39:16 +00:00
Rafał Miłecki
3e0817d606
fstools: update to the latest git HEAD
...
This allows using UBIFS volume as overlay and adds support for Btrfs.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43868
2015-01-07 17:10:02 +00:00
John Crispin
40e2dbf9c6
fstools: update to latest git HEAD
...
adds a few cleanups and extroot/ubi support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43717
2014-12-15 10:37:14 +00:00
John Crispin
f310e02ab3
procd: update to latest git HEAD
...
fixes a bug where wdt write happened with no valid fd available
--> procd: WDT failed to write: Bad file descriptor
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43711
2014-12-15 09:44:01 +00:00
John Crispin
ac09fd9a13
opkg: make PKG_UPGRADE available during preinst hook
...
https://dev.openwrt.org/ticket/18479
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43581
2014-12-08 17:40:53 +00:00
John Crispin
19a6f3dd11
procd: more nand takeover fixes
...
if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43513
2014-12-03 20:22:37 +00:00
John Crispin
c3bb3906ee
mtd: make the dump commnd honour the -o option
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43512
2014-12-03 20:22:32 +00:00
John Crispin
68909fb081
procd: firstboot nand/ubi takeover support
...
it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43505
2014-12-03 14:32:32 +00:00
John Crispin
ff02ea36e0
mtd: make the mtd dump call run properly on nand flash
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43503
2014-12-02 19:28:23 +00:00
John Crispin
da988d582f
mtd: add ability to dump a mtd device
...
this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43500
2014-12-02 18:27:49 +00:00
John Crispin
5698e62ecb
opkg: the PKG_UPGRADE env was not set properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43493
2014-12-02 15:21:50 +00:00
John Crispin
3b1b3c5067
procd: drop the zram dependencies, theu caused a recursive deps warning
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43492
2014-12-02 13:16:06 +00:00
John Crispin
b1bc985d57
procd: reintroduce /sys/fs/cgroup mount
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43490
2014-12-02 12:41:15 +00:00
John Crispin
43131d62a8
procd: add support for zram compressed /tmp
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43489
2014-12-02 11:13:28 +00:00
Felix Fietkau
b8dd6bb189
fstools: update to the latest version, fixes sysupgrade on linux 3.18
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43485
2014-12-01 21:10:42 +00:00
John Crispin
4c044e8118
fstools: make the block tool ignore case when comparing uuid strings
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43480
2014-12-01 18:46:23 +00:00
Rafał Miłecki
15355dd212
procd: fix typo in nand.sh s/TRX/TAR/
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43423
2014-11-28 19:13:24 +00:00
John Crispin
9a70c8ef9b
mtd: fix 2 compiler warnings
...
mtd.c:544:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ssize_t’ [-Wformat]
mtd.c:602:1: warning: label ‘done’ defined but not used [-Wunused-label]
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43383
2014-11-26 08:59:17 +00:00
John Crispin
db69761f94
procd: fix/clean some conditions in nand.sh
...
1) nand_upgrade_tar: use a simpler condition that matches if () { }
logic and fix check of $kernel_length variable
2) nand_do_upgrade_stage2: use case, otherwise one could believe we
always call nand_upgrade_tar
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43373
2014-11-24 19:14:29 +00:00
John Crispin
19c18eba93
procd: document nand.sh a bit
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43372
2014-11-24 19:14:17 +00:00
Felix Fietkau
623f3bda54
fstools: update to the latest version, fixes overlayfs mount on 3.18
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43368
2014-11-24 17:18:32 +00:00
Felix Fietkau
226f330bcf
procd: update to the latest version, fixes ubus service list
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43327
2014-11-19 20:17:24 +00:00
John Crispin
79475ee880
procd: update to latest git HEAD
...
make sure /sys/fs/cgroup is mounted on boot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43257
2014-11-14 16:53:58 +00:00
Felix Fietkau
061f1bf326
procd: update to the latest version, fixes job control on the console shell
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43220
2014-11-08 18:10:37 +00:00
John Crispin
74e94df8eb
procd: update to latest git
...
setsid is called fixing the pgrp issue
trigger the wdt while modules are being inserted
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43193
2014-11-06 09:30:55 +00:00
Steven Barth
e06033d028
procd: fix kernel command-line argument parsing
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43184
2014-11-05 14:21:40 +00:00
Steven Barth
425dec78c5
procd: Make askconsole work again when no tty is specified in inittab
...
Thanks to Michel Stam
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43179
2014-11-04 18:48:17 +00:00
Steven Barth
de64db7ee4
procd: fix serial console login ( #18278 )
...
Many thanks to Michel Stam for his work.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43178
2014-11-04 16:03:51 +00:00
John Crispin
74a3a77bcd
license info - revert r43155
...
turns out that r43155 adds duplicate info.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43167
2014-11-03 09:56:44 +00:00
John Crispin
c10d97484a
Add more license tags with SPDX identifiers
...
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.
I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.
However, I can not garantee that I always picked the correct information
and/or did not miss license information.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43155
2014-11-03 08:01:08 +00:00
Steven Barth
bec9d38fa4
Add a few SPDX tags
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43151
2014-11-02 12:20:54 +00:00
Steven Barth
16ef92770b
procd: revert some changes breaking console on UML
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43147
2014-11-01 14:01:02 +00:00
John Crispin
4654319964
procd: Allow boot messages to be sent to console
...
update to latest git HEAD, adds "log to console"
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43118
2014-10-30 10:10:45 +00:00
John Crispin
9205c6da4b
ca-certificates: Update to Version 20141019
...
Update to Version 20141019
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 43111
2014-10-29 21:01:26 +00:00
John Crispin
51f8a1cfc5
fstools: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43090
2014-10-27 15:51:33 +00:00
Felix Fietkau
2abd1b817e
rpcd: add 802.11ac for iwinfo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43005
2014-10-20 13:55:11 +00:00
Felix Fietkau
e759974c9b
mountd: explicitly link libubox (needed by libuci)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42972
2014-10-19 21:45:45 +00:00
Felix Fietkau
78e333ae20
rpcd: update to the latest version, fixes build after libubox update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42959
2014-10-19 08:46:00 +00:00
Jo-Philipp Wich
4f73613c26
build: improve feed handling for opkg.conf
...
- Consider not installed feeds as well
- Add option to decide whether to comment disabled feeds
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42931
2014-10-16 10:30:16 +00:00
John Crispin
a08f4367c0
procd: update to latest git
...
this adds the remaining patches that Michel Stam sent
Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42918
2014-10-14 15:53:05 +00:00
John Crispin
13dce9817e
udev/Config.in: help format, and fix spelling mistake
...
Formatting and spelling fixes.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 42913
2014-10-14 12:21:24 +00:00
John Crispin
20940138ac
scripts: fix wrong usage of '==' operator
...
[base-files] shell-scripting: fix wrong usage of '==' operator
normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.
this patch does not change the behavior/logic of the scripts.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
John Crispin
80a54ef804
fstools: update to latest git HEAD
...
this adds support for overlayfs v23
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42890
2014-10-13 19:41:16 +00:00
Felix Fietkau
4c490c79b2
procd: fix initial nand sysupgrade
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42884
2014-10-12 15:50:15 +00:00
Felix Fietkau
41363b1ecb
procd: fix parsing of the has_env parameter
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42883
2014-10-12 15:50:01 +00:00
John Crispin
e28c5f86f3
procd: handle hotplug events for the usbmisc subsystem
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42831
2014-10-08 08:00:01 +00:00
John Crispin
550ded7b8a
procd: r42814 added a bad git version
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42826
2014-10-06 20:27:31 +00:00
John Crispin
9f2a5ace84
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42814
2014-10-06 20:06:41 +00:00
John Crispin
c53de497f8
ubox: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42813
2014-10-06 20:06:26 +00:00
John Crispin
635c9d7a25
fstools: update to latest git
...
adds support for /dev/vd* virtual io
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42812
2014-10-06 20:06:15 +00:00
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
2014-09-25 07:38:02 +00:00
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
2014-09-21 21:56:31 +00:00
Felix Fietkau
9a30ee9c2c
ubus: update to latest version, adds various fixes and improvements
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42594
2014-09-17 11:34:16 +00:00
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
2014-09-16 12:26:35 +00:00
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
2014-09-16 11:55:57 +00:00
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
2014-09-15 10:18:45 +00:00
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
2014-09-11 12:28:00 +00:00
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
2014-09-11 12:27:09 +00:00
Felix Fietkau
2dabf3a775
procd: allow adding empty strings to arrays
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42456
2014-09-10 12:56:19 +00:00
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
2014-09-02 21:06:35 +00:00
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
2014-09-02 17:13:42 +00:00
John Crispin
c23e0ed691
procd: run the mdns register outside the sub shell container
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42327
2014-08-29 18:36:29 +00:00
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
2014-08-29 18:16:24 +00:00
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
2014-08-25 06:35:50 +00:00
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
2014-08-06 09:12:37 +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
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
2014-07-30 12:39:46 +00:00
Steven Barth
c0ad075472
procd: work around some docker architecture quirks
...
SVN-Revision: 41867
2014-07-29 06:51:35 +00:00
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
2014-07-29 02:12:24 +00:00
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
2014-07-18 14:42:18 +00:00
Imre Kaloz
ecb68ba6b4
allow overriding the kernel partition's name
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646
2014-07-14 14:53:15 +00:00
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
2014-07-13 20:51:17 +00:00
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
2014-07-10 19:16:31 +00:00
Jo-Philipp Wich
4f4faa92c0
rpcd: fix parsing of executable plugin output
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41502
2014-07-03 22:21:04 +00:00
Felix Fietkau
1ef92a0065
ubus: update to the latest version, fixes compile error regressions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41496
2014-07-03 18:57:47 +00:00
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
2014-07-03 10:49:41 +00:00
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
2014-07-02 19:18:20 +00:00
Felix Fietkau
2baf4d4fb0
procd: add shell functions to add instance data
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41481
2014-07-02 19:18:16 +00:00
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
2014-07-02 19:18:05 +00:00
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
2014-07-02 12:56:20 +00:00
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
2014-07-01 10:26:10 +00:00
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
2014-06-30 09:57:29 +00:00
John Crispin
a7863b1368
ubox: update to latest git
...
this adds validation fixes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41413
2014-06-30 09:57:25 +00:00
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
2014-06-30 08:19:48 +00:00
Felix Fietkau
94b41e9aa5
rpcd: update to the latest version, fixes build with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41403
2014-06-29 22:26:05 +00:00
Felix Fietkau
bf90d46933
ubox: add explicit dependency on libubus to catch ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41389
2014-06-29 15:41:39 +00:00
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
2014-06-25 08:32:14 +00:00
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
2014-06-24 18:13:56 +00:00
John Crispin
c2d95d4106
fstools: fix factory reset on ubifs overlay
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41315
2014-06-24 18:13:05 +00:00
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
2014-06-19 14:13:45 +00:00
John Crispin
54faeadb07
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41278
2014-06-19 14:13:41 +00:00
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
2014-06-17 17:51:35 +00:00
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
2014-06-17 15:40:05 +00:00
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
2014-06-17 15:40:02 +00:00
John Crispin
3dca5a158d
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
2014-06-16 18:55:14 +00:00
John Crispin
21eac7a7db
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41221
2014-06-16 18:55:09 +00:00
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
2014-06-16 18:55:05 +00:00
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
2014-06-11 17:48:35 +00:00
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
2014-06-11 17:05:46 +00:00
Steven Barth
12cdfef54c
procd: fix overflow in hotplug socket on certain targets
...
SVN-Revision: 41142
2014-06-11 15:34:33 +00:00
John Crispin
1e876b4191
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41129
2014-06-11 12:59:49 +00:00
John Crispin
3417834ffc
fstools: the ubi flash tool is obselete now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41128
2014-06-11 12:59:45 +00:00
Felix Fietkau
35d703c8a6
mountd: remove a bogus include to fix compile with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41062
2014-06-09 13:48:00 +00:00
Felix Fietkau
71cda6a1e0
procd: Fix USB cellular modems hotplug events
...
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem.
(see Ticket #14117 )
Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
SVN-Revision: 41039
2014-06-07 11:54:13 +00:00
John Crispin
bd179b2610
procd: service instances can now report an error of why they failed to start.
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41031
2014-06-06 09:34:30 +00:00
Felix Fietkau
e4cc5c1edf
procd: update to the latest version, fixes a crash on early boot
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41020
2014-06-05 14:55:14 +00:00
John Crispin
e1e5f21b2f
procd: add wrapper calls for interface triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41008
2014-06-05 10:56:06 +00:00
John Crispin
ad3c2701b6
procd: update to latest git head
...
adds support for ubus event based triggers
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41007
2014-06-05 10:56:02 +00:00
John Crispin
59c8b70839
procd: rename local variable in uci_validate_section
...
Allow to use "package", "type", "name", "error" and "result"
as config option names:
package some_service
config section 'foo'
option name 'bar'
option type 'unknown'
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 41006
2014-06-05 08:19:59 +00:00
John Crispin
85b8897d1a
fstools: stage libubi-utils static library and headers
...
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40928
2014-06-02 12:44:16 +00:00
Felix Fietkau
118eec12e8
fstools: update to latest version, fixes build on x86_64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40902
2014-06-02 09:38:09 +00:00
Steven Barth
e9ff251ca6
ca-certificates: bump to 20140325
...
SVN-Revision: 40894
2014-06-01 10:32:37 +00:00
Felix Fietkau
11462369af
fstools: update to the latest version, fixes build for 64 bit targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40889
2014-05-31 12:46:59 +00:00
Felix Fietkau
df9f29c47d
ubox: update to latest version, fixes kmodloader issues with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40869
2014-05-28 21:28:14 +00:00
Felix Fietkau
2898951c9c
ubox: update to the latest version, reduces binary library dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40857
2014-05-25 22:39:51 +00:00
Felix Fietkau
0c383776df
procd: update, fixes a bunch of memleaks
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40856
2014-05-25 19:38:58 +00:00
Felix Fietkau
039dca04b8
procd: update to the latest version, fixes some musl compatibility issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40854
2014-05-25 17:51:52 +00:00
Felix Fietkau
962575f201
mtd: fix compile error with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40819
2014-05-21 14:09:53 +00:00
Luka Perkov
a1038db845
fstools: update to the latest version
...
Fixes RO mounts on imx6 target.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40818
2014-05-21 13:15:47 +00:00
Felix Fietkau
00776714ac
fstools: update to the latest version, adds ubifs support and ubi/mtd fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40781
2014-05-19 21:58:44 +00:00
Jo-Philipp Wich
1f3a36b9c3
opkg: introduce a --force-checksum cmdline flag to be ale to ignore mismatching md5sums
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40766
2014-05-14 11:19:07 +00:00
Felix Fietkau
93d8170084
procd: add explicit libubox dependency to force rebuild on ABI changes ( #16300 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40740
2014-05-09 00:52:49 +00:00
Felix Fietkau
3b2643c92c
ubus: update to the latest version, adds lua binding fixes and adds support for the cli command wait_for (waits for objects to appear, with timeout)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40710
2014-05-06 14:59:13 +00:00
Jo-Philipp Wich
7bfcbab875
fstools: fix extroot with opkg-installed block-mount ( #15550 )
...
The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40526
2014-04-17 17:59:47 +00:00
John Crispin
fca3f32fe8
rpcd: update to the latest version
...
This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 40496
2014-04-12 21:22:12 +00:00
Jo-Philipp Wich
38c4e4cc02
uci: fix import with not yet existing packages, preserve config permissions on commit, fix Lua detection in cmake
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40458
2014-04-11 16:14:09 +00:00
John Crispin
eb19a65bd2
fstools: update to latest git HEAD
...
this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40415
2014-04-07 15:10:07 +00:00
John Crispin
306e0fd866
fstools: scripts should propagate the cmdline
...
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 40383
2014-04-05 16:34:40 +00:00
John Crispin
69519ed75f
fstools: update to latest git
...
this fixes ubifs and ubi overlay support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40366
2014-04-03 14:26:38 +00:00
John Crispin
4001a1ee15
firmware: create a new folder for holfing firmware blobs
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40307
2014-03-30 09:15:25 +00:00
John Crispin
00d7e84af6
mtd: improve mtd detection
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40301
2014-03-30 09:14:58 +00:00
John Crispin
95a14e1dcd
ubox: fix logd (hopefully)
...
https://dev.openwrt.org/ticket/15357
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40295
2014-03-27 13:36:01 +00:00
Felix Fietkau
608f4fe3b0
mtd: add support for bad blocks in NAND flash
...
NAND flash is very likely to contain bad blocks.
Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.
This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.
Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40021
2014-03-26 10:50:09 +00:00
John Crispin
ec44a0f11e
fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40018
2014-03-25 20:15:50 +00:00
Imre Kaloz
3f5749e292
add the TI AM335x PM firmware package
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40016
2014-03-25 14:56:35 +00:00
Felix Fietkau
c295f65da9
ca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink ( fixes #15351 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40007
2014-03-23 11:59:37 +00:00
Felix Fietkau
02373252ba
ca-certificates: add system CA certificates package (based on the debian one)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39984
2014-03-21 15:54:22 +00:00
Felix Fietkau
84c3487e5a
procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39983
2014-03-21 15:54:18 +00:00
Felix Fietkau
f2689dba28
ubus: update to latest version, blocks unrelated uloop calls on synchronous requests
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39954
2014-03-19 14:26:43 +00:00
John Crispin
ca4078c110
ubox: update to latest git head
...
logread now shows the right time.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39951
2014-03-18 19:22:38 +00:00
Felix Fietkau
0060005bd8
procd: update to latest version, fixes a format string bug in processing init script output ( #15169 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39945
2014-03-18 12:58:15 +00:00
John Crispin
bc6223666e
ubox: update to latest git head
...
use the fd handover api of ubus to transfer log data
the uci option log_buffer_size can be used to override the default size of 16k
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39898
2014-03-12 19:33:18 +00:00
John Crispin
086f522108
ubus: update to latest git HEAD
...
add fd handover inside ubus replies
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39897
2014-03-12 19:33:09 +00:00
John Crispin
0dc9d8d6ff
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39895
2014-03-12 19:32:51 +00:00
Felix Fietkau
a70282720d
ubus: update to latest version, fixes lua binding issues and adds fd passing support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39726
2014-02-23 17:32:26 +00:00
Felix Fietkau
a42b421c79
procd: depend on libubox directly to rebuild on ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39724
2014-02-23 17:32:18 +00:00
Felix Fietkau
01c4775116
ubus: declare main version as ABI version for libubus
...
Reorder BuildPackage calls, as libubox needs to come first for ABI
version handling to work
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39722
2014-02-23 17:32:11 +00:00
John Crispin
f9f8948c6e
ubox: logd did not register its config.reload trigger properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39616
2014-02-18 13:33:43 +00:00
John Crispin
97ee2bc616
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39613
2014-02-18 13:33:32 +00:00
John Crispin
b71eb4b5df
procd: the helper script did not export all functions properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39612
2014-02-18 13:33:29 +00:00
Felix Fietkau
27d9aa182c
uci: update to latest version, adds preparation for validation support and blobmsg int64 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39606
2014-02-18 12:27:11 +00:00
John Crispin
5dcb4cc7d1
libubox: ubox: procd: ubus: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39425
2014-01-30 09:02:58 +00:00
John Crispin
eceea6d6e1
ubox: revert log buffer size changes
...
the fix horribly broke existing setups
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39366
2014-01-22 15:33:16 +00:00
John Crispin
9dc6030316
ubox: update to latest git head
...
make sure log buffer size is not bigger than the ubus message size
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39365
2014-01-21 20:59:04 +00:00
John Crispin
58dc9f593b
procd: update to latest git head
...
Fixes OpenWrt bug #14832
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39352
2014-01-20 18:42:58 +00:00
John Crispin
1de0eac947
ubox: update to latest git head
...
adds option to set internal buffer size
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39333
2014-01-19 19:10:09 +00:00
John Crispin
cd90b6242c
ubox: update to latest git
...
- fix duplicate device wildcard
- fix elf 64bit elf parsing
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39316
2014-01-17 21:35:32 +00:00
John Crispin
c990d04026
ubox: welcome to 2014
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39246
2014-01-12 14:07:01 +00:00
John Crispin
09a06d937e
ubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 39244
2014-01-12 14:03:10 +00:00
Jo-Philipp Wich
f126298a7c
rpcd: build, uci and session api fixes
...
- fix CMakeFile to support rpcd out of tree builds
- fix a possible file descriptor leak in the session deserialization code
- add uci.state call which is equivalent to uci -P /var/state get ...
- make uci.changes "config" argument optional to allow listing all deltas in one go
- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
- only trigger config change events if libuci was able to parse the config
- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39224
2014-01-12 11:52:40 +00:00
Jo-Philipp Wich
df57b8dcb6
opkg: switch to git repository ( #14655 )
...
Upstream development now takes place in a git repository which was clone
from the old svn repository. Switch the source location to the git tree
using the commit that corresponds to the old svn r618 revision.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39153
2013-12-21 13:47:46 +00:00
Jo-Philipp Wich
de5d9827ef
procd: fix service file tracking
...
The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.
Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.
Add a missing instance of blobmsg_list_free() as well.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39132
2013-12-18 15:38:28 +00:00
Felix Fietkau
594442a37e
opkg: do not add blank "Provides:" fields to package metadata
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39039
2013-12-13 10:40:26 +00:00
John Crispin
67e71176cb
ubox: fix logging support. the initial connect failed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39024
2013-12-09 18:24:30 +00:00
John Crispin
dda5dfb765
procd: update procd, add ulimit support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39023
2013-12-09 17:38:19 +00:00
John Crispin
e231f82cc0
ubox: fix up pidcount handling inside log.init
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39022
2013-12-09 17:29:44 +00:00
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
2013-12-09 17:29:34 +00:00
Felix Fietkau
c9902e141e
uci: update to the latest version, adds a small uci_to_blob fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38987
2013-12-02 13:08:17 +00:00
Jo-Philipp Wich
1029d341c5
ubox: fix handling of uci lists, prevent shell code injection from uci values ( #14548 )
...
SVN-Revision: 38938
2013-11-28 20:47:26 +00:00
Jo-Philipp Wich
cdbff3641b
Revert "ubox: the validation code has problems with the "(" char. use string for now"
...
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.
SVN-Revision: 38937
2013-11-28 11:33:49 +00:00