Commit Graph

481 Commits (24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2)

Author SHA1 Message Date
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
10 years ago
John Crispin b1bc985d57 procd: reintroduce /sys/fs/cgroup mount
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43490
10 years ago
John Crispin 43131d62a8 procd: add support for zram compressed /tmp
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43489
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin 19c18eba93 procd: document nand.sh a bit
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43372
10 years ago
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
10 years ago
Felix Fietkau 226f330bcf procd: update to the latest version, fixes ubus service list
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43327
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Steven Barth e06033d028 procd: fix kernel command-line argument parsing
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43184
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Steven Barth bec9d38fa4 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43151
10 years ago
Steven Barth 16ef92770b procd: revert some changes breaking console on UML
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43147
10 years ago
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
10 years ago
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
10 years ago
John Crispin 51f8a1cfc5 fstools: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43090
10 years ago
Felix Fietkau 2abd1b817e rpcd: add 802.11ac for iwinfo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43005
10 years ago
Felix Fietkau e759974c9b mountd: explicitly link libubox (needed by libuci)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42972
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 4c490c79b2 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42884
10 years ago
Felix Fietkau 41363b1ecb procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42883
10 years ago
John Crispin e28c5f86f3 procd: handle hotplug events for the usbmisc subsystem
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42831
10 years ago
John Crispin 550ded7b8a procd: r42814 added a bad git version
Signed-off-by: John Crispin <blogic@openwrt.org>

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

SVN-Revision: 42814
10 years ago
John Crispin c53de497f8 ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42813
10 years ago
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
10 years ago
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
John Crispin 1e876b4191 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41129
10 years ago
John Crispin 3417834ffc fstools: the ubi flash tool is obselete now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41128
10 years ago
Felix Fietkau 35d703c8a6 mountd: remove a bogus include to fix compile with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41062
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin e1e5f21b2f procd: add wrapper calls for interface triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41008
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 118eec12e8 fstools: update to latest version, fixes build on x86_64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40902
10 years ago
Steven Barth e9ff251ca6 ca-certificates: bump to 20140325
SVN-Revision: 40894
10 years ago
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
10 years ago
Felix Fietkau df9f29c47d ubox: update to latest version, fixes kmodloader issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40869
10 years ago
Felix Fietkau 2898951c9c ubox: update to the latest version, reduces binary library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40857
10 years ago
Felix Fietkau 0c383776df procd: update, fixes a bunch of memleaks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40856
10 years ago
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
10 years ago
Felix Fietkau 962575f201 mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40819
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin 306e0fd866 fstools: scripts should propagate the cmdline
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 40383
10 years ago
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
10 years ago
John Crispin 4001a1ee15 firmware: create a new folder for holfing firmware blobs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40307
10 years ago
John Crispin 00d7e84af6 mtd: improve mtd detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40301
10 years ago
John Crispin 95a14e1dcd ubox: fix logd (hopefully)
https://dev.openwrt.org/ticket/15357

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

SVN-Revision: 40295
10 years ago
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
10 years ago
John Crispin ec44a0f11e fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40018
10 years ago
Imre Kaloz 3f5749e292 add the TI AM335x PM firmware package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40016
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin 0dc9d8d6ff fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39895
10 years ago
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
10 years ago
Felix Fietkau a42b421c79 procd: depend on libubox directly to rebuild on ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39724
10 years ago
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
10 years ago
John Crispin f9f8948c6e ubox: logd did not register its config.reload trigger properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39616
10 years ago
John Crispin 97ee2bc616 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39613
10 years ago
John Crispin b71eb4b5df procd: the helper script did not export all functions properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39612
10 years ago
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
10 years ago
John Crispin 5dcb4cc7d1 libubox: ubox: procd: ubus: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39425
10 years ago
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
11 years ago
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
11 years ago
John Crispin 58dc9f593b procd: update to latest git head
Fixes OpenWrt bug #14832

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

SVN-Revision: 39352
11 years ago
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
11 years ago
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
11 years ago
John Crispin c990d04026 ubox: welcome to 2014
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39246
11 years ago
John Crispin 09a06d937e ubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39244
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 594442a37e opkg: do not add blank "Provides:" fields to package metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39039
11 years ago
John Crispin 67e71176cb ubox: fix logging support. the initial connect failed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39024
11 years ago
John Crispin dda5dfb765 procd: update procd, add ulimit support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39023
11 years ago
John Crispin e231f82cc0 ubox: fix up pidcount handling inside log.init
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39022
11 years ago
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
11 years ago
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
11 years ago
Jo-Philipp Wich 1029d341c5 ubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
SVN-Revision: 38938
11 years ago
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
11 years ago
Jo-Philipp Wich 387761e2fc procd: fix processing of datatype specification with spaces
SVN-Revision: 38935
11 years ago
John Crispin fc3c72aba6 ubox: the validation code has problems with the "(" char. use string for now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38916
11 years ago
John Crispin 93e9a71538 base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38909
11 years ago
John Crispin 91de2648e9 procd: update procd.sh to make use of the new validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38908
11 years ago
John Crispin acec292e32 ubox: update the validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38907
11 years ago
John Crispin 637440c415 ubox: fix typo that caused log_file to not be validated properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38906
11 years ago
John Crispin 3044b185d1 procd: fix the running hook #38868
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38885
11 years ago
John Crispin 1b3a423ad5 procd: add validation to the log init script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38879
11 years ago
John Crispin ee41b41a30 mtd: add a "mtd verify" call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38871
11 years ago
John Crispin fcea2ab05a libubox: ubox: procd: move md5.{c,h} to libubox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38870
11 years ago
John Crispin 460bf6b0d7 procd: update to latest git head
* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

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

SVN-Revision: 38868
11 years ago
Felix Fietkau c84a43cf40 procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38862
11 years ago
John Crispin 5fbfffe7f4 procd: ubox: update to latest git head
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

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

SVN-Revision: 38822
11 years ago
Felix Fietkau ff17114ba1 ar71xx: Unifi AP Pro sysupgrade patch
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

-s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"

is added to mtd.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 38807
11 years ago
Hauke Mehrtens 0ade818cb7 zram-swap: fix dependencies
swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38795
11 years ago
John Crispin a8163bfd16 procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38790
11 years ago
John Crispin 50db95e2f0 procd: options with default values are not parsed properly in the ubus register code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38788
11 years ago
John Crispin 130d7de07f procd: update to latest git head
this includes the first wip version of the uci validation backend

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

SVN-Revision: 38786
11 years ago
Felix Fietkau f099defc00 procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38705
11 years ago
John Crispin e75584e289 procd: update to latest git head
make sure that automatic respawning is turned off during upgrade

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

SVN-Revision: 38695
11 years ago
Jo-Philipp Wich 5975c119e3 ubox: fix extroot/extoverlay mounting by label and support mounting by device name
SVN-Revision: 38680
11 years ago
John Crispin 9a000667e6 ubox: update to latest git head
support for specifying swap priority from the command line

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

SVN-Revision: 38679
11 years ago
John Crispin f69788445c ubus: update to latest git head
adds support for events in the lua binding

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

SVN-Revision: 38678
11 years ago
Gabor Juhos 2d31dc039a package/ubox: fix jffs2 handling on MTD devices emulated by gluebi
The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38654
11 years ago
John Crispin 7f1463623f ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38554
11 years ago
John Crispin 964c7e696b ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38541
11 years ago
John Crispin e37b364ea3 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38529
11 years ago
Luka Perkov 9eecccf652 uci: upgrade to latest git version
Fixes issues with UBIFS file system when due to unclean shutdown files would
end up with size 0. Furthermore, few style fixes are included too.

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

SVN-Revision: 38410
11 years ago
Jo-Philipp Wich 8833e789cc ubox: fix extroot after kmodloader changes
The kmodloader executable disregarded the global directory prefix in
scan_module_folder() leading to a broken extroot for non-builtin modules.

Update to current git head to fix the prefix handling again.

SVN-Revision: 38392
11 years ago
Steven Barth cde419ebfc opkg: ignore empty fields in package lists
This is to work around issues with package list generators creating
empty fields in some environments.

Based on a patch by Paul Selkrik <pselkrik@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38390
11 years ago
Felix Fietkau d1794a7536 procd: fix command handling in procd_add_instance()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38350
11 years ago
Steven Barth 8b7b7cabf2 opkg: add support for SHA256 verification
based on a patch by Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

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

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

SVN-Revision: 38284
11 years ago
Jo-Philipp Wich 2a2d408024 procd: fix incorrect use of sizeof() in vsnprintf()
SVN-Revision: 38268
11 years ago
John Crispin 52b61d6325 procd: update to latest git head
this fixes the syslog problem when using eglibc on x86.

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

SVN-Revision: 38267
11 years ago
Jo-Philipp Wich a94b5fbd5c rpcd: fix missing option removal when merging subsequent uci set calls
SVN-Revision: 38254
11 years ago
Jo-Philipp Wich d11315e7c6 ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
SVN-Revision: 38253
11 years ago
Jo-Philipp Wich feab77f58e ubox: support alternative spellings for modinfo and rmmod
After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.

SVN-Revision: 38252
11 years ago
Jo-Philipp Wich 2ff6d48319 uci: change uci_ptr checking order in uci_delete()
SVN-Revision: 38251
11 years ago
Jo-Philipp Wich d8c154a29d ubox: fix kmod loading for modules with varying dashes & underscores in names (#14182, #14189)
Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".

This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.

SVN-Revision: 38248
11 years ago
Steven Barth 2d5448afb5 opkg: add build variant with signature support
SVN-Revision: 38220
11 years ago
Luka Perkov ef5f836207 fix various init scripts
Changes include:

* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations

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

SVN-Revision: 38142
11 years ago
Gabor Juhos 8b50ecc6ff package/mtd: enable seama fixup code for ar71xx
It will be used for the WD My Net N600.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38073
11 years ago
John Crispin f874094402 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38023
11 years ago
John Crispin 4f62127dea procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38022
11 years ago
John Crispin aa2109fb1f ubox: make use of modprobe
ubox now has modprobe support
build and install the tool

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

SVN-Revision: 38019
11 years ago
Jo-Philipp Wich c6c1c381d6 rpcd: update to git head
- recalculate session ACLs on reload
	- support negative access group expressions in /etc/config/rpcd
	- prevent destryoing the default session
	- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

SVN-Revision: 37961
11 years ago
Jo-Philipp Wich 106f3eab79 rpcd: update to git head
- introduces persistent null session to allow access to procedures without login
	- implements session.login procedure to support user logins via json-rpc

SVN-Revision: 37941
11 years ago
Felix Fietkau 392ad68960 procd: update to latest version, adds udevtrigger improvements by juhosg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37925
11 years ago
Jo-Philipp Wich e6d015489b rpcd: update to git head
- adds support for service triggering on config commit
	- adds uci transaction support
	- adds daemon reload support without loosing session data
	- exports headers for use by external plugins
	- drops LuCI2 in favor to an out of tree plugin

SVN-Revision: 37921
11 years ago
Jo-Philipp Wich a6b26d9aea Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
SVN-Revision: 37877
11 years ago
Jo-Philipp Wich 449d7ef460 ubox: update to git head
- support mounting swap files from /etc/config/fstab
	- support mounting swap partitions by label

SVN-Revision: 37801
11 years ago
Jo-Philipp Wich 757e80488b ubox: update to git head
- adds support for generic mount options

SVN-Revision: 37800
11 years ago
Jo-Philipp Wich 759112327a procd: update to git head
- terminates uloop after forking in service manager
	- redirects stdio to /dev/null for services executed from procd

SVN-Revision: 37799
11 years ago
Jo-Philipp Wich 408f0988e9 procd: update to git head
- terminates uloop after forking in hotplug handler
	- redirects stdio to /dev/null for processes executed from hotplug

SVN-Revision: 37792
11 years ago
Felix Fietkau 368e7da483 ubus: update to latest version, fixes a bug in reconnect after ubusd dies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37740
11 years ago
Felix Fietkau 158cc23d39 ubus: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37701
11 years ago
Felix Fietkau e7de3b26ed ubus: change section/category to base, libs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37700
11 years ago
Felix Fietkau 80f8b60607 ubus: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37671
11 years ago
Jo-Philipp Wich 91b814221c ubox: update to git head
- fixes extroot tag file corruption with long uuids

SVN-Revision: 37623
11 years ago
Jo-Philipp Wich 3f8c8d6f60 ubox: update to git head
- discard vfat labels with only spaces
	- support using swap files
	- support extroot when required kmods and block-mount are installed on jffs2

SVN-Revision: 37551
11 years ago
Jo-Philipp Wich bbf2b18933 ubox: update to git head
- use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size
	- strip trailing spaces from vfat labels, aligns behaviour with "blkid"

SVN-Revision: 37529
11 years ago
Jo-Philipp Wich 1e8e6b4645 ubox: update to git head
- fixes vfat partition detection on big endian systems

SVN-Revision: 37522
11 years ago
John Crispin 093f211843 update ubox and procd to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37516
11 years ago
Jo-Philipp Wich 60c64808dc procd: ensure the log_proto has udp default value in log.init
SVN-Revision: 37508
11 years ago
John Crispin 11d027380e procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37504
11 years ago
John Crispin 99f15eec91 ubox: fix stack overflow in squashfs uuid code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37503
11 years ago
Jo-Philipp Wich ec6954e64e procd: default to udp log protocol to keep backwards compat with busybox
SVN-Revision: 37496
11 years ago
Gabor Juhos adba04e53f procd: improve early console handling
The malta target is broken since procd is used
as init. The initramfs image boots fine, however
the console is not working.

Improve the early console handling to fix the
problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37451
11 years ago
Jo-Philipp Wich 9f6d136107 ubox: update to git head, fixes multiple null pointer dereferences and adds support for mounting lvm and raid devices
SVN-Revision: 37444
11 years ago
John Crispin ae7a156434 procd: make old button hotplug rules work until all packages are migrated
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37336
11 years ago
Felix Fietkau f75bba6f87 ubox: fix compile error (#13877)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37330
11 years ago
John Crispin 6d7e477691 procd: update to latest git revision
* improves logread over net code

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

SVN-Revision: 37313
11 years ago
John Crispin 33a04fdfec ubox: update to latest git revison
this fixes a stack corruption in kmodloader. lsmod should be fixed now

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

SVN-Revision: 37312
11 years ago
Felix Fietkau b95bdc8ab5 kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37282
11 years ago
John Crispin 182866ecdc procd: update to latest git revision
this fixes a regression in the watchdog init code

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

SVN-Revision: 37259
11 years ago
John Crispin 3c306f9d07 procd: make the log port default to 514 if none is specified
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37257
11 years ago
John Crispin 585ab22c0f procd: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37250
11 years ago
John Crispin 6f1112a5e8 procd: add proto and trigger support to the /etc/init.d/log
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37249
11 years ago
John Crispin 8eb56a88a4 procd: add a small script that handles config reloads until configd is ready
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37248
11 years ago
John Crispin 67eb275f69 procd: the delete ubus call was passed the wrong field name for services
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37247
11 years ago
John Crispin 3fcee6de2f ubox: upgrade to latest version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37246
11 years ago
Luka Perkov 5e672084cb ubox: remove empty menu from block-mount
SVN-Revision: 37221
11 years ago
John Crispin 9004e560fe procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37206
11 years ago
John Crispin 09f23981f4 procd: remove obseleted procd.init file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37205
11 years ago
John Crispin f60cb8c3d9 ubox: add a uci-default script for fstab generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37199
11 years ago
John Crispin 988c6209a1 procd: bump to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37158
11 years ago
John Crispin 6884a8b59d procd: extend shell binding with trigger support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37157
11 years ago
John Crispin dae7f61f31 ubox: dont install lsbloader and symlink lsmod
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37156
11 years ago
John Crispin e06ab3831b ubox: add e2fsck support
Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 37127
11 years ago
Mirko Vogt 8221b89088 depend on libubox
SVN-Revision: 37092
11 years ago