aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 44605
* 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> SVN-Revision: 44557
* procd: update to the latest version, fixes musl compile errorFelix Fietkau2015-02-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44552
* 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> SVN-Revision: 44549
* 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> SVN-Revision: 44547
* 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> SVN-Revision: 44545
* 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> SVN-Revision: 44544
* 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> SVN-Revision: 44543
* fstools: fix build with enabled ubifs extroot supportJo-Philipp Wich2015-02-251-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44538
* 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> SVN-Revision: 44535
* 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> SVN-Revision: 44533
* packages: remove uneeded PKG_BUILD_DIR overridesNicolas Thill2015-02-221-1/+0
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44498
* procd: fix PKG_CONFIG_DEPENDSJohn Crispin2015-02-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44457
* rpcd: fix session.{login,list,destroy} method signaturesJo-Philipp Wich2015-02-091-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44362
* fstools: fix exit code of uci-defaults scriptJo-Philipp Wich2015-01-282-2/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44180
* 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> SVN-Revision: 44177
* 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> SVN-Revision: 44134
* ubus: update to the latest versionFelix Fietkau2015-01-231-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44081
* procd: fix console bringup on UML (again...)Steven Barth2015-01-091-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43890
* 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> SVN-Revision: 43868
* 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> SVN-Revision: 43717
* 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> SVN-Revision: 43711
* 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> SVN-Revision: 43581
* 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> SVN-Revision: 43513
* mtd: make the dump commnd honour the -o optionJohn Crispin2014-12-031-6/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43512
* 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> SVN-Revision: 43505
* mtd: make the mtd dump call run properly on nand flashJohn Crispin2014-12-021-5/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43503
* 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> SVN-Revision: 43500
* opkg: the PKG_UPGRADE env was not set properlyJohn Crispin2014-12-021-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43493
* procd: drop the zram dependencies, theu caused a recursive deps warningJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43492
* procd: reintroduce /sys/fs/cgroup mountJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43490
* procd: add support for zram compressed /tmpJohn Crispin2014-12-021-6/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43489
* fstools: update to the latest version, fixes sysupgrade on linux 3.18Felix Fietkau2014-12-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43485
* fstools: make the block tool ignore case when comparing uuid stringsJohn Crispin2014-12-011-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43480
* procd: fix typo in nand.sh s/TRX/TAR/Rafał Miłecki2014-11-281-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43423
* mtd: fix 2 compiler warningsJohn Crispin2014-11-261-2/+1
| | | | | | | | | 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
* procd: fix/clean some conditions in nand.shJohn Crispin2014-11-241-5/+7
| | | | | | | | | | | 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
* procd: document nand.sh a bitJohn Crispin2014-11-241-0/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43372
* fstools: update to the latest version, fixes overlayfs mount on 3.18Felix Fietkau2014-11-241-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43368
* procd: update to the latest version, fixes ubus service listFelix Fietkau2014-11-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43327
* procd: update to latest git HEADJohn Crispin2014-11-141-2/+2
| | | | | | | | make sure /sys/fs/cgroup is mounted on boot Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43257
* procd: update to the latest version, fixes job control on the console shellFelix Fietkau2014-11-081-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43220
* procd: update to latest gitJohn Crispin2014-11-061-2/+2
| | | | | | | | | 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
* procd: fix kernel command-line argument parsingSteven Barth2014-11-051-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43184
* procd: Make askconsole work again when no tty is specified in inittabSteven Barth2014-11-041-2/+2
| | | | | | | | Thanks to Michel Stam Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43179
* procd: fix serial console login (#18278)Steven Barth2014-11-041-2/+2
| | | | | | | | Many thanks to Michel Stam for his work. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43178
* license info - revert r43155John Crispin2014-11-0310-18/+6
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-0310-6/+18
| | | | | | | | | | | | | | | | | | 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
* Add a few SPDX tagsSteven Barth2014-11-029-7/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* procd: revert some changes breaking console on UMLSteven Barth2014-11-011-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43147