Commit Graph

348 Commits (4ed2b35d8683be5fc5cebb921412373841cd73a3)

Author SHA1 Message Date
John Crispin 9283018e67 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-18 10:19:02 +00:00
Felix Fietkau 8ebd85ea07 opkg: fix md5 related #ifdef (thx, swalker)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 22:10:40 +00:00
John Crispin bd81f54e15 rpcd: update to latest git HEAD
adds support for reading md5 sums of files

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:01:29 +00:00
John Crispin d0b092eaab fstools: update to latest git HEAD
fixes issues with semi-initialized overlay partitions during firstboot

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:01:09 +00:00
John Crispin dcc0f0aacd opkg: drop md5 in favour of sha256
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:00:14 +00:00
Jo-Philipp Wich 9bbfae07d6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:34:31 +00:00
John Crispin ca71ca39fa procd: fix compile error on x86_64
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:28:21 +00:00
John Crispin 43801ec4da fstools: update to latest git HEAD
this fixes extroot on mvebu

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:27:27 +00:00
Felix Fietkau d46c0556f3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 14:57:25 +00:00
John Crispin 5f6d177a9e procd: add helper for starting NAND sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 14:33:11 +00:00
John Crispin 91e85d4ec4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:18 +00:00
Felix Fietkau 741a0576ad build: add integration for managing opkg package feed keys
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:39:51 +00:00
Felix Fietkau 5731f50279 opkg: add patch to circumvent signature checks on the command line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:39:22 +00:00
Felix Fietkau 89345a15f0 opkg: add patch for supporting signature checking through usign
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:38:37 +00:00
Felix Fietkau d43c6f9831 usign: add new package for generating/verifying verification (similar to signify)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:38:07 +00:00
Felix Fietkau def51db661 uci: update to the latest version, fixes savedir issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:44:04 +00:00
Nicolas Thill 9456cf255e packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 00:07:43 +00:00
John Crispin 58198bcbeb ubox: update to latest git HEAD
improve logging when using tcp

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 16:15:35 +00:00
Felix Fietkau cd98521d0a uci: update to the latest version, fixes delta path / savedir issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 16:44:32 +00:00
John Crispin d8b7c7edd3 rpcd: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:35:05 +00:00
John Crispin e09e68f482 ubox: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:34:56 +00:00
John Crispin 9744488cb5 procd: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:34:42 +00:00
John Crispin 01fd311050 fstools: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:33:05 +00:00
John Crispin ab8322b3da ubox: update to latest git HEAD
the return code of a pipe() was not checked properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 15:38:21 +00:00
John Crispin 8280dfe1ac ubox: update to latest git HEAD
fixes log levels

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 12:57:32 +00:00
John Crispin ba1c162251 procd: remove superflous @ in depends line
the @ syntax is not required by Kbuild

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-27 21:11:17 +00:00
John Crispin 17cafdd3d0 procd: disable jail for uml builds
probiere den mal bitte

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-27 16:28:43 +00:00
John Crispin a44dc2a5a2 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-27 09:11:49 +00:00
Felix Fietkau c21cf0bad8 uci: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 20:43:12 +00:00
John Crispin 2a4b34d5cc procd: fix jail/seccomp build depenedencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 20:30:18 +00:00
John Crispin beb93b24f7 procd: add jail support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:58:25 +00:00
Felix Fietkau 6374e77652 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:11:27 +00:00
John Crispin c3455e2438 procd: update to latest git HEAD
fixes parameter handling in askfirst tool

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 20:08:27 +00:00
Nicolas Thill 7105a54bcb packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 12:25:06 +00:00
John Crispin d228cb877f fstools: bump to latest git HEAD
this makes fstools compile with latest glibc

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:14 +00:00
John Crispin 6a073b095b procd: bump to latest git HEAD
this makes procd compile with latest glibc

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:00 +00:00
John Crispin 0f97b49833 rpcd: update to latest git HEAD
adds 3 fixes from luka

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:51 +00:00
John Crispin 93cd017604 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:54:33 +00:00
John Crispin 8a9f7fdf7d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:25:02 +00:00
Jonas Gorski 02ce1ebb75 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:25 +00:00
Felix Fietkau 87efd09a1c procd: update to the latest version, fixes musl compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 07:34:47 +00:00
Jo-Philipp Wich 477789d76e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 21:23:55 +00:00
Jo-Philipp Wich f061c95e51 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 13:42:47 +00:00
Jo-Philipp Wich cddf65416f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:29 +00:00
Jo-Philipp Wich 42f17a6f6f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:24 +00:00
Jo-Philipp Wich 35aed8dcb2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 10:25:21 +00:00
Jo-Philipp Wich fe61460948 fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 18:54:13 +00:00
Jo-Philipp Wich fb9ac4879c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 13:03:16 +00:00
Jo-Philipp Wich 17a052228e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 11:48:27 +00:00
Nicolas Thill 8d60a52b88 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 01:31:21 +00:00