aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Unifi AP Pro sysupgrade patchFelix Fietkau2013-11-141-3/+12
| | | | | | | | | | | | | | | | | | 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
* zram-swap: fix dependenciesHauke Mehrtens2013-11-131-1/+1
| | | | | | | | | 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
* procd: remove obselete script install reference Signed-off-by: John Crispin ↵John Crispin2013-11-131-1/+1
| | | | | | <blogic@openwrt.org> SVN-Revision: 38790
* procd: options with default values are not parsed properly in the ubus ↵John Crispin2013-11-131-1/+2
| | | | | | | | register code Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38788
* procd: update to latest git headJohn Crispin2013-11-132-14/+81
| | | | | | | | this includes the first wip version of the uci validation backend Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38786
* procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty ↵Felix Fietkau2013-11-101-2/+8
| | | | | | | | devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38705
* procd: update to latest git headJohn Crispin2013-11-081-2/+2
| | | | | | | | make sure that automatic respawning is turned off during upgrade Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38695
* ubox: fix extroot/extoverlay mounting by label and support mounting by ↵Jo-Philipp Wich2013-11-071-2/+2
| | | | | | device name SVN-Revision: 38680
* ubox: update to latest git headJohn Crispin2013-11-071-2/+2
| | | | | | | | support for specifying swap priority from the command line Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38679
* ubus: update to latest git headJohn Crispin2013-11-071-2/+2
| | | | | | | | adds support for events in the lua binding Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38678
* package/ubox: fix jffs2 handling on MTD devices emulated by gluebiGabor Juhos2013-11-052-1/+177
| | | | | | | | | | | | | | | | | | | 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
* ubox: update to latest git HEADJohn Crispin2013-10-281-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38554
* ubox: update to latest git headJohn Crispin2013-10-261-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38541
* procd: update to latest git headJohn Crispin2013-10-242-2/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38529
* uci: upgrade to latest git versionLuka Perkov2013-10-151-2/+2
| | | | | | | | | 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
* ubox: fix extroot after kmodloader changesJo-Philipp Wich2013-10-141-2/+2
| | | | | | | | | 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
* opkg: ignore empty fields in package listsSteven Barth2013-10-142-1/+17
| | | | | | | | | | 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
* procd: fix command handling in procd_add_instance()Felix Fietkau2013-10-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38350
* opkg: add support for SHA256 verificationSteven Barth2013-10-041-2/+2
| | | | | | | based on a patch by Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 38302
* Add package signing infrastructureSteven Barth2013-10-022-2/+6
| | | | | | | | | | | | | 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
* procd: fix incorrect use of sizeof() in vsnprintf()Jo-Philipp Wich2013-10-011-2/+2
| | | | SVN-Revision: 38268
* procd: update to latest git headJohn Crispin2013-09-301-2/+2
| | | | | | | | this fixes the syslog problem when using eglibc on x86. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38267
* rpcd: fix missing option removal when merging subsequent uci set callsJo-Philipp Wich2013-09-291-2/+2
| | | | SVN-Revision: 38254
* ubus: restrict unix domain socket permission to 0600 to disallow non-root ↵Jo-Philipp Wich2013-09-291-2/+2
| | | | | | connections SVN-Revision: 38253
* ubox: support alternative spellings for modinfo and rmmodJo-Philipp Wich2013-09-291-2/+2
| | | | | | | | 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
* uci: change uci_ptr checking order in uci_delete()Jo-Philipp Wich2013-09-291-2/+2
| | | | SVN-Revision: 38251
* ubox: fix kmod loading for modules with varying dashes & underscores in ↵Jo-Philipp Wich2013-09-281-2/+2
| | | | | | | | | | | | | | 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
* opkg: add build variant with signature supportSteven Barth2013-09-263-14/+56
| | | | SVN-Revision: 38220
* fix various init scriptsLuka Perkov2013-09-231-4/+3
| | | | | | | | | | | | 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
* package/mtd: enable seama fixup code for ar71xxGabor Juhos2013-09-191-1/+1
| | | | | | | | It will be used for the WD My Net N600. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38073
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-172-9/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38023
* procd: update to latest git headJohn Crispin2013-09-172-4/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38022
* ubox: make use of modprobeJohn Crispin2013-09-171-2/+5
| | | | | | | | | ubox now has modprobe support build and install the tool Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38019
* rpcd: update to git headJo-Philipp Wich2013-09-131-3/+4
| | | | | | | | | - 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
* rpcd: update to git headJo-Philipp Wich2013-09-112-2/+17
| | | | | | | - 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
* procd: update to latest version, adds udevtrigger improvements by juhosgFelix Fietkau2013-09-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37925
* rpcd: update to git headJo-Philipp Wich2013-09-092-3/+11
| | | | | | | | | | - 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
* Add rpcd - an extensible backend server for ubus-over-json-rpc operations, ↵Jo-Philipp Wich2013-09-022-0/+97
| | | | | | session and acl management. SVN-Revision: 37877
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - support mounting swap files from /etc/config/fstab - support mounting swap partitions by label SVN-Revision: 37801
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | - adds support for generic mount options SVN-Revision: 37800
* procd: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - terminates uloop after forking in service manager - redirects stdio to /dev/null for services executed from procd SVN-Revision: 37799
* procd: update to git headJo-Philipp Wich2013-08-151-2/+2
| | | | | | | - terminates uloop after forking in hotplug handler - redirects stdio to /dev/null for processes executed from hotplug SVN-Revision: 37792
* ubus: update to latest version, fixes a bug in reconnect after ubusd diesFelix Fietkau2013-08-081-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37740
* ubus: fix typoFelix Fietkau2013-08-051-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37701
* ubus: change section/category to base, libsFelix Fietkau2013-08-051-12/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37700
* ubus: update to latest versionFelix Fietkau2013-08-041-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37671
* ubox: update to git headJo-Philipp Wich2013-07-311-2/+2
| | | | | | - fixes extroot tag file corruption with long uuids SVN-Revision: 37623
* ubox: update to git headJo-Philipp Wich2013-07-261-2/+2
| | | | | | | | - 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
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | | - 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
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | - fixes vfat partition detection on big endian systems SVN-Revision: 37522