Commit graph

603 commits

Author SHA1 Message Date
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
2013-11-08 21:53:37 +00:00
Jo-Philipp Wich
5975c119e3 ubox: fix extroot/extoverlay mounting by label and support mounting by device name
SVN-Revision: 38680
2013-11-07 18:06:29 +00:00
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
2013-11-07 15:31:44 +00:00
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
2013-11-07 15:31:40 +00:00
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
2013-11-05 16:31:12 +00:00
John Crispin
7f1463623f ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38554
2013-10-28 06:48:04 +00:00
John Crispin
964c7e696b ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38541
2013-10-26 12:25:11 +00:00
John Crispin
e37b364ea3 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38529
2013-10-24 14:27:03 +00:00
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
2013-10-15 11:32:28 +00:00
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
2013-10-14 13:01:06 +00:00
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
2013-10-14 08:09:58 +00:00
Felix Fietkau
d1794a7536 procd: fix command handling in procd_add_instance()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38350
2013-10-09 11:07:23 +00:00
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
2013-10-04 05:56:20 +00:00
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
2013-10-02 12:12:10 +00:00
Jo-Philipp Wich
2a2d408024 procd: fix incorrect use of sizeof() in vsnprintf()
SVN-Revision: 38268
2013-10-01 14:41:07 +00:00
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
2013-09-30 20:48:51 +00:00
Jo-Philipp Wich
a94b5fbd5c rpcd: fix missing option removal when merging subsequent uci set calls
SVN-Revision: 38254
2013-09-29 11:53:25 +00:00
Jo-Philipp Wich
d11315e7c6 ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
SVN-Revision: 38253
2013-09-29 11:53:20 +00:00
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
2013-09-29 11:53:17 +00:00
Jo-Philipp Wich
2ff6d48319 uci: change uci_ptr checking order in uci_delete()
SVN-Revision: 38251
2013-09-29 11:53:10 +00:00
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
2013-09-28 13:12:42 +00:00
Steven Barth
2d5448afb5 opkg: add build variant with signature support
SVN-Revision: 38220
2013-09-26 19:51:03 +00:00
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
2013-09-23 21:58:36 +00:00
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
2013-09-19 22:36:40 +00:00
John Crispin
f874094402 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38023
2013-09-17 21:45:30 +00:00
John Crispin
4f62127dea procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38022
2013-09-17 21:45:24 +00:00
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
2013-09-17 21:45:01 +00:00
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
2013-09-13 13:24:32 +00:00
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
2013-09-11 12:13:33 +00:00
Felix Fietkau
392ad68960 procd: update to latest version, adds udevtrigger improvements by juhosg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37925
2013-09-10 11:32:07 +00:00
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
2013-09-09 14:35:15 +00:00
Jo-Philipp Wich
a6b26d9aea Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
SVN-Revision: 37877
2013-09-02 15:36:51 +00:00
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
2013-08-16 13:14:21 +00:00
Jo-Philipp Wich
757e80488b ubox: update to git head
- adds support for generic mount options

SVN-Revision: 37800
2013-08-16 11:18:39 +00:00
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
2013-08-16 09:29:37 +00:00
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
2013-08-15 10:33:52 +00:00
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
2013-08-08 20:45:09 +00:00
Felix Fietkau
158cc23d39 ubus: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37701
2013-08-05 10:08:04 +00:00
Felix Fietkau
e7de3b26ed ubus: change section/category to base, libs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37700
2013-08-05 10:07:33 +00:00
Felix Fietkau
80f8b60607 ubus: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37671
2013-08-04 08:55:28 +00:00
Jo-Philipp Wich
91b814221c ubox: update to git head
- fixes extroot tag file corruption with long uuids

SVN-Revision: 37623
2013-07-31 10:44:50 +00:00
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
2013-07-26 09:09:05 +00:00
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
2013-07-24 18:24:57 +00:00
Jo-Philipp Wich
1e8e6b4645 ubox: update to git head
- fixes vfat partition detection on big endian systems

SVN-Revision: 37522
2013-07-24 10:08:58 +00:00
John Crispin
093f211843 update ubox and procd to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37516
2013-07-23 12:22:40 +00:00
Jo-Philipp Wich
60c64808dc procd: ensure the log_proto has udp default value in log.init
SVN-Revision: 37508
2013-07-22 16:43:17 +00:00
John Crispin
11d027380e procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37504
2013-07-22 15:36:28 +00:00
John Crispin
99f15eec91 ubox: fix stack overflow in squashfs uuid code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37503
2013-07-22 15:36:16 +00:00
Jo-Philipp Wich
ec6954e64e procd: default to udp log protocol to keep backwards compat with busybox
SVN-Revision: 37496
2013-07-22 11:31:29 +00:00
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
2013-07-19 17:12:44 +00:00
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
2013-07-19 14:50:39 +00:00
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
2013-07-15 11:07:53 +00:00
Felix Fietkau
f75bba6f87 ubox: fix compile error (#13877)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37330
2013-07-15 08:17:33 +00:00
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
2013-07-14 18:00:51 +00:00
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
2013-07-14 18:00:43 +00:00
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
2013-07-14 12:56:58 +00:00
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
2013-07-11 21:16:43 +00:00
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
2013-07-11 21:16:25 +00:00
John Crispin
585ab22c0f procd: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37250
2013-07-11 17:01:03 +00:00
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
2013-07-11 17:00:59 +00:00
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
2013-07-11 17:00:54 +00:00
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
2013-07-11 17:00:49 +00:00
John Crispin
3fcee6de2f ubox: upgrade to latest version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37246
2013-07-11 17:00:45 +00:00
Luka Perkov
5e672084cb ubox: remove empty menu from block-mount
SVN-Revision: 37221
2013-07-09 23:17:33 +00:00
John Crispin
9004e560fe procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37206
2013-07-08 16:35:19 +00:00
John Crispin
09f23981f4 procd: remove obseleted procd.init file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37205
2013-07-08 16:35:10 +00:00
John Crispin
f60cb8c3d9 ubox: add a uci-default script for fstab generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37199
2013-07-08 09:01:42 +00:00
John Crispin
988c6209a1 procd: bump to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37158
2013-07-04 13:30:59 +00:00
John Crispin
6884a8b59d procd: extend shell binding with trigger support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37157
2013-07-04 13:30:55 +00:00
John Crispin
dae7f61f31 ubox: dont install lsbloader and symlink lsmod
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37156
2013-07-04 13:30:41 +00:00
John Crispin
e06ab3831b ubox: add e2fsck support
Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 37127
2013-07-02 09:35:08 +00:00
Mirko Vogt
8221b89088 depend on libubox
SVN-Revision: 37092
2013-06-29 20:59:10 +00:00
John Crispin
6406414a40 ubox: add support for delay_root option
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37088
2013-06-29 16:51:09 +00:00
John Crispin
9e65c50f4c ubox: update to latest git revision
fixes a endianess bug inside the uuid code

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

SVN-Revision: 37077
2013-06-28 14:43:34 +00:00
Felix Fietkau
2c7530a622 ubus: fix ubus lua binding duplication
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37074
2013-06-28 11:27:24 +00:00
John Crispin
b1318530e3 ubox: update to latest git revision
* add pivot root support
* add back a /etc/init.d/fstab
* add "block mount/umount" support
* add anonymous swap/mount support
* add auto swap/mount support
* fix superflous error when inserting modules
* add back jffs2reset/jffs2mark

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

SVN-Revision: 37057
2013-06-28 11:22:05 +00:00
John Crispin
c4f5b5d0d5 procd: update to latest git revision
* fix ubus reconnect handling
* set global mask 0
* add respawn support

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

SVN-Revision: 37056
2013-06-28 11:21:52 +00:00
Steven Barth
111b480945 ubus: remove unused init-script
SVN-Revision: 37026
2013-06-24 12:38:30 +00:00
John Crispin
4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00
John Crispin
e3dcf2448f util-linux: move package to package/system/utils
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36986
2013-06-21 16:52:52 +00:00
John Crispin
dff1529d2a modules: make all led and button modules used during boot priority 1
This makes sure the modules are symlinked in /etc/modules-boot.d/

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

SVN-Revision: 36892
2013-06-10 08:24:25 +00:00
Felix Fietkau
452c80f8ec usbmode: fix hotplug script name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36813
2013-05-31 15:42:23 +00:00
Felix Fietkau
b1df77669d replace usb-modeswitch with a rewrite that should be more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36812
2013-05-31 15:41:17 +00:00
Jonas Gorski
b751b5893c brcm2708: make it boot on revision 2 raspberry pis
* update the bootcode.bin to the newest version
    - gpu/cpu mem split is now configured through config.txt, so no need
      to create more than one sd card image (just edit the config.txt)
    - bootcode.bin now supports the never revision 2 raspberry pis

  * add a commented prepopulated config.txt for easier config changes
    Taken from <https://github.com/Evilpaul/RPi-config>

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36668
2013-05-20 12:07:03 +00:00
Jonas Gorski
44696a01c7 brcm2708-gpu-fw: download zipped sources and switch to Hexxeh's git
* Use the gzipped download feature from github to get a tarball with a
  stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
  contents, dropping all the precompiled modules and kernels.

Reduces the download size from ~1.27 GiB to ~25 MiB.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36667
2013-05-20 12:07:00 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Gabor Juhos
7bcc6506bc package/om-watchdog: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35431
2013-02-01 15:50:49 +00:00
Felix Fietkau
b31c63b42a usb-modeswitch: split out usb-modeswitch-data again
SVN-Revision: 35381
2013-01-29 12:27:17 +00:00
Felix Fietkau
ff6cccda8e usb-modeswitch: add from /packages, merge usb-modeswitch-data, use libusb-compat, add myself as maintainer
SVN-Revision: 35379
2013-01-29 12:02:10 +00:00
Felix Fietkau
483dfb483e move a few packages to system/utils
SVN-Revision: 35375
2013-01-29 10:48:46 +00:00
Felix Fietkau
ab1287bead usbutils: add from /packages, clean up, add myself as maintainer
SVN-Revision: 35374
2013-01-29 10:48:41 +00:00
Hauke Mehrtens
6c7c1ed5f5 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.

SVN-Revision: 35335
2013-01-27 21:17:38 +00:00
Felix Fietkau
1dada293bf add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
SVN-Revision: 34998
2013-01-03 18:04:04 +00:00
Hauke Mehrtens
25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens
1d50d60fc0 rtc-rv5c386a: fix compilation for kernel >= 3.4
SVN-Revision: 34938
2012-12-30 15:32:53 +00:00
John Crispin
6531546751 add OF binding
SVN-Revision: 34834
2012-12-21 20:03:49 +00:00
Felix Fietkau
e1e00aed52 sierra-directip: delete, replaced by upstream drivers
SVN-Revision: 34738
2012-12-17 15:11:43 +00:00
John Crispin
baae9d16e9 move voice packages
SVN-Revision: 34695
2012-12-15 02:00:45 +00:00
John Crispin
1d0a9d0c04 move ltq-adsl
SVN-Revision: 34693
2012-12-15 02:00:33 +00:00
Florian Fainelli
968c77147c ar7-atm: make it depend on the generic AR7 platform
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34205
2012-11-16 13:00:41 +00:00
John Crispin
b178e90506 unbreak ltq-dsl-fw
SVN-Revision: 34098
2012-11-06 07:41:44 +00:00
John Crispin
d84fa1d9fa prepare dsl driver for 3.6 and split fw into a seperate package
SVN-Revision: 34096
2012-11-06 07:38:18 +00:00
John Crispin
a34499e095 move lots of kernel related packages to the new system/ folder
SVN-Revision: 33830
2012-10-17 22:45:58 +00:00