aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* procd: update to the latest versionFelix Fietkau2016-08-181-2/+2
| | | | | | Fixes a long standing design issue in handling of delayed triggers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: update to latest HEADDaniel Golle2016-08-181-2/+2
| | | | | | | | Fixes duplicate ubiblock entries being listed and improves find_mount_point to also match against a block device's major:minor numbers (needed e.g. for /dev/root). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* fstools: update to latest git HEADJohn Crispin2016-08-181-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git versionJohn Crispin2016-08-181-2/+2
| | | | | | | * adds support for ACL mount flags * adds vfat fsck support Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2016-08-181-2/+2
| | | | | | | | the recent fixes to make mount_root work during failsafe caused lots of unwanted side effects. use the new preinit sentinel file to detect if we are in preinit. this will also work if logged in via ssh. Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to the latest version, fixes lsmod outputFelix Fietkau2016-07-211-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to latest git HEADJohn Crispin2016-07-211-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to latest git HEADJohn Crispin2016-07-211-2/+4
| | | | | | this adds the new getrandom wrapper tool Signed-off-by: John Crispin <john@phrozen.org>
* Increase the default system log buffer sizeHannu Nyman2016-07-212-2/+2
| | | | | | | from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* Merge pull request #28 from wigyori/masterZoltan Herpai2016-07-135-10/+10
|\ | | | | update system packages to latest HEAD, bump 4.1 to 4.1.27
| * packages: usign: update datecode to indicate correct yearZoltan HERPAI2016-07-131-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * ubus: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * rpcd: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * procd: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * uci: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * usign: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* | ca-certificages: Add certificate bundle for packages that need itDaniel Dickinson2016-07-061-0/+12
|/ | | | | | | Some packages don't use /etc/ssl/certs but instead use /etc/ssl/certs/ca-certificates.crt. For those packages add a ca-bundle package>. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* mtd: support -c (datasize) option for fixseama commandRafał Miłecki2016-06-273-7/+9
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* Merge pull request #12 from wigyori/masterZoltan Herpai2016-06-241-0/+1
|\ | | | | update oxnas target, update ipq806x target, create trunk tag and update revisioning accordingly
| * ipq806x: update bombZoltan HERPAI2016-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ipq806x: Add support for linux-4.4 ipq806x: Add Archer C2600 to image/Makefile ipq806x/base-files: Add Archer C2600 LEDs and board ipq806x/base-files: Add support for Archer C2600 ipq806x/base-files: extract ath10k caldata ipq806x/dts: Add Archer C2600 DTS ipq806x: enable PM support ipq806x: add a default profile ipq806x: add diag.sh script ipq806x: qcom rpm fix support for smb208 mtd: add linksys_bootcount for ipq806x uboot-envtools: add ipq806x support Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* | Merge pull request #11 from wigyori/masterLuka Perkov2016-06-231-2/+2
|\| | | | | pull req for 4.4.12, ar71xx/mediatek updates, package upgrades
| * fstools: update to latest git revisionJohn Crispin2016-06-201-2/+2
| | | | | | | | | | | | This fixes mount_root in failsafe and reverts a ext4 overlay patch. Signed-off-by: John Crispin <john@phrozen.org>
* | rpcd: update to latest version with iwinfo fixDenis Osvald2016-06-191-2/+2
|/ | | | Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-1910-10/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: imagetag: fix compilation with changed mtd_fixtrx callLuka Perkov2016-06-191-1/+4
| | | | | | | | Function mtd_fixtrx was changed during trx improvements. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: make logging code honour the hostname properlyLuka Perkov2016-06-191-2/+4
| | | | | | Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix snapshot supportLuka Perkov2016-06-191-4/+4
| | | | | | Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADLuka Perkov2016-06-191-2/+2
| | | | | | | | fixes snapshot support Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADLuka Perkov2016-06-191-2/+2
| | | | | | | | this adds the remount command to the block tool Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add -c option for specifying amount of data to be used for checksumRafał Miłecki2016-06-193-12/+31
| | | | | | | | | | | | | | | | | So far fixtrx was calculating checksum over amount of data matching partition erase size. It was mostly a workaround of checksum problem after changing anything in initial TRX content (e.g. formatting JFFS2). Its main purpose was to make bootloader accept modified TRX. This didn't provide much protection of flash data against corruption. This new option lets caller request calculating checksum over a bigger amount of data. It may be used e.g. to include whole kernel data for checksum and hopefully make bootloader go info failsafe mode if something goes wrong. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: trx: use separated buffer for TRX headerRafał Miłecki2016-06-191-5/+18
| | | | | | | | | | We plan to adjust usage of the main buffer to allow reading custom amount of data for CRC32. This means we need another buffer that will be always block aligned. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: exit with error if Seama header wasn't foundRafał Miłecki2016-06-191-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: fix image data handlingRafał Miłecki2016-06-191-28/+18
| | | | | | | | | | | | | | 1) Put sanity checks in one place 2) Respect provided offset 3) Read only as much data as needed for MD5 calculation Thanks to the last change this is a great speedup and memory saver. On devices with NAND flash we were allocating & reading about 128 MiB while something about 8 MiB is enough. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: move buf allocation to the MD5 functionRafał Miłecki2016-06-191-16/+22
| | | | | | | | This buf is only used in this function now, so lets move it there. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: update MD5 using header in the first block bufferRafał Miłecki2016-06-191-4/+3
| | | | | | | | | This will allow separating first block buffer from a buffer used for MD5 calculation. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: add md5 to header structRafał Miłecki2016-06-192-12/+11
| | | | | | | | | This allows us to drop some extra offset calculations and simplifies code a bit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: check for Seama magic early when fixing MD5Rafał Miłecki2016-06-191-7/+21
| | | | | | | | | This avoid long (and unneeded) process of reading all data in case of running on MTD not containig Seama entity. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add missing breaks in a switchRafał Miłecki2016-06-191-0/+2
| | | | | | | | | On platforms supporting both: TRX and Seama calling "fixtrx" was resulting in trying to fix Seama as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: use tabs for indentsRafał Miłecki2016-06-191-7/+7
| | | | | | | | This makes code style consistent across the whole file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: turn logd into a separate packageJohn Crispin2016-06-191-3/+17
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: respect mount flags for /overlay mountsJo-Philipp Wich2016-04-251-2/+2
| | | | | | | | | Respect user configured mount flags such as "ro" or "sync" when processing external overlay mount points. Signed-off-by: Jo-Philipp Wich <jo@mein.io> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest versionLuka Perkov2016-04-131-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix respawn related warningJohn Crispin2016-03-101-0/+1
| | | | | | | | WARNING: Variable 'respawn' does not exist or is not an array/object Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: support pidfile writing.John Crispin2016-03-101-1/+2
| | | | | | | | | | | | procd from revision b12bb150ed38a4409bef5127c77b060ee616b860 supports writing a pidfile. This adds support for setting that parameter with standard init script hooks: procd_set_param pidfile /var/run/someprocess.pid Signed-off-by: Karl Palsson <karlp@etactica.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: bump to latest git HEADJohn Crispin2016-03-101-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to the latest version, fixes an error on processing invalid modulesFelix Fietkau2016-03-071-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: Fix handling of sha256sums for conffilesJohn Crispin2016-03-042-1/+15
| | | | | | | | | MD5s are shorter than SHA256, so reading buffer has to be bigger to read the whole hash. Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: Allow to configure default respawn retry countJohn Crispin2016-03-041-0/+10
| | | | | | | | | | | | | | | | | | Extend /etc/config/system with a parameter to set the default respawn retry for procd launched services that have respawn enabled. config service option respawn_retry -1 All services that don't specify specific respawn parameters will get their defaults added by procd.sh. If respawn_retry is specified in /etc/config/system the default retry limit will be set to this value by procd. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix reading of image magic bytes in smaller chunksJohn Crispin2016-03-031-5/+12
| | | | | | | | | | | | | | | The image_check currently fails when it cannot read all magic bytes in a single chunk. But this can happen when the data are read from a pipe. This currently breaks the openmesh.sh upgrade script with musl because it uses dd with a blocksize of 1 to copy the image file to the mtd process. The read can simply be repeated until enough bytes are read for the magic byte check. It only stops when either an error was returned or 0 bytes were read. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: Make opkg understand old md5John Crispin2016-03-012-21/+69
| | | | | | | | | | Opkg now uses sha256 by default and expects them. Making it optionally understand md5s also and detect md5 sum so we can migrate from configuration that used md5. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48867 3c298f89-4303-0410-b956-a3cf2f4a3e73