aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* uci: update to the latest version, fixes delta path / savedir issuesFelix Fietkau2015-03-311-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: properly handle return codesJohn Crispin2015-03-302-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2015-03-291-2/+2
| | | | | | | | 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
* ubox: update to latest git HEADJohn Crispin2015-03-291-2/+2
| | | | | | | | 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
* procd: remove superflous @ in depends lineJohn Crispin2015-03-271-1/+1
| | | | | | | | 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
* procd: disable jail for uml buildsJohn Crispin2015-03-271-2/+2
| | | | | | | | 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
* procd: update to latest git HEADJohn Crispin2015-03-271-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to the latest versionFelix Fietkau2015-03-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix jail/seccomp build depenedenciesJohn Crispin2015-03-261-6/+23
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add jail supportJohn Crispin2015-03-262-5/+84
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to the latest version, makes interrupted first boot more ↵Felix Fietkau2015-03-221-2/+2
| | | | | | | | | | | | | 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
* procd: update to latest git HEADJohn Crispin2015-03-181-2/+2
| | | | | | | | 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
* packages: some (e)glibc fixes after r44701Nicolas Thill2015-03-163-6/+6
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: bump to latest git HEADJohn Crispin2015-03-121-2/+2
| | | | | | | | 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
* procd: bump to latest git HEADJohn Crispin2015-03-121-2/+2
| | | | | | | | 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
* rpcd: update to latest git HEADJohn Crispin2015-03-111-1/+1
| | | | | | | | 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
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-112-4/+4
| | | | | | | | 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
* mtd: fix md5sum error checkingJohn Crispin2015-03-051-1/+1
| | | | | | | | | | | | | | 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
* package: mtd: move bcm963xx_tag definition into source codeJonas Gorski2015-02-271-1/+92
| | | | | | | | | | 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
* procd: update to the latest version, fixes musl compile errorFelix Fietkau2015-02-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix segmentation fault in insmodJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | 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
* procd: add support for relaying daemon stdio to syslogJo-Philipp Wich2015-02-262-2/+5
| | | | | | | | | | | | | 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
* fstools: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | 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
* ubox: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | 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
* procd: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | 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
* fstools: fix build with enabled ubifs extroot supportJo-Philipp Wich2015-02-251-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix multiple extroot problemsJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | - 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
* ubox: kmodloader: support loading kmods from multiple directoriesJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | 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
* packages: remove uneeded PKG_BUILD_DIR overridesNicolas Thill2015-02-221-1/+0
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix PKG_CONFIG_DEPENDSJohn Crispin2015-02-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: fix session.{login,list,destroy} method signaturesJo-Philipp Wich2015-02-091-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix exit code of uci-defaults scriptJo-Philipp Wich2015-01-282-2/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2015-01-281-2/+2
| | | | | | | | adds a zram size calculation bug fix Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make build of upgraded optionalJo-Philipp Wich2015-01-251-3/+7
| | | | | | | | | | | | Update to latest git head in order to support disabling the build of upgraded which causes linker errors on avr32. This also adds some fixes to the ubus system.info and system.board methods. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest versionFelix Fietkau2015-01-231-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix console bringup on UML (again...)Steven Barth2015-01-091-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to the latest git HEADRafał Miłecki2015-01-071-2/+2
| | | | | | | | | This allows using UBIFS volume as overlay and adds support for Btrfs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADJohn Crispin2014-12-151-2/+14
| | | | | | | | adds a few cleanups and extroot/ubi support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2014-12-151-2/+2
| | | | | | | | | fixes a bug where wdt write happened with no valid fd available --> procd: WDT failed to write: Bad file descriptor Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: make PKG_UPGRADE available during preinst hookJohn Crispin2014-12-081-16/+19
| | | | | | | | https://dev.openwrt.org/ticket/18479 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: more nand takeover fixesJohn Crispin2014-12-031-8/+12
| | | | | | | | if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: make the dump commnd honour the -o optionJohn Crispin2014-12-031-6/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: firstboot nand/ubi takeover supportJohn Crispin2014-12-032-0/+31
| | | | | | | | it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: make the mtd dump call run properly on nand flashJohn Crispin2014-12-021-5/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add ability to dump a mtd deviceJohn Crispin2014-12-021-5/+57
| | | | | | | | | this can be used on nand flashes and will skip bad blocks and run ecc on the read data before dumping it. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: the PKG_UPGRADE env was not set properlyJohn Crispin2014-12-021-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: drop the zram dependencies, theu caused a recursive deps warningJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43492 3c298f89-4303-0410-b956-a3cf2f4a3e73