aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* procd: add 'platform_nand_pre_upgrade'John Crispin2015-12-121-0/+4
| | | | | | | | | | | Add 'platform_nand_pre_upgrade' callback to allow platform specific preparation right before flashinng, when already in ramdisk. Example uses might be setting correct values for CI_{KERNPART,UBIPART}. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47879
* procd: update procd.sh to support new ujail optionsJohn Crispin2015-12-111-3/+3
| | | | | | Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 47862
* procd: bump to latest git HEADJohn Crispin2015-12-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47861
* ubus: fix various ACL processing problemsJo-Philipp Wich2015-12-091-2/+2
| | | | | | | | | | | | | | | Bump ubus to current Git HEAD in order to: * Fix a null pointer access when user ACLs are loaded into memory * Fix wrong permission handling for uid=0, gid!=0 peers * Fix return code for permission defined cases * Fix socket error handling when the server connection dies * Make ACL file path configurable * Remove invalid usages of poll() when using a zero timeout Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47816
* procd: update to latest git HEADJohn Crispin2015-11-281-2/+2
| | | | | | | | this adds a lot of ujail cleanups Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47669
* ubox: update ubox to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47600
* mountd: update mountd to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47599
* fstools: update fstools to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47598
* usign: Revert r47582 "usign: activate format-security checks"Hauke Mehrtens2015-11-221-0/+1
| | | | | | | | | I accidentally deactivated it. This should be set to active it in any case independently what was set in the user config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47587
* usign: activate format-security checksHauke Mehrtens2015-11-221-1/+0
| | | | | | | | This still compiles with format-security checks activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47582
* ubus: update to the latest version, adds support for monitoring system bus ↵Felix Fietkau2015-11-191-2/+2
| | | | | | | | traffic Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47531
* procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooksRafał Miłecki2015-11-171-1/+0
| | | | | | | | | | Now we have all targets using platform_pre_upgrade (and calling nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in sysupgrade_pre_upgrade hooks anymore. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47489
* opkg: remove obsolete gcc version checkFelix Fietkau2015-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47444
* kirkwood: support Linksys boot counter on EA[34]500Luka Perkov2015-11-101-0/+1
| | | | | | | | | | | | | This is done with existing code from the WRT1900AC port. It makes sure the "auto_recovery" bootloader option is set, and resets the s_env boot counter after a successful boot. This gives users without a serial console connection some measure of safety. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47433
* fstools: update to latest git HEADJohn Crispin2015-11-021-2/+2
| | | | | | | | update libblkid code and add support for F2SF Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47353
* procd: update to latest gitJohn Crispin2015-10-261-2/+2
| | | | | | | | this unbreaks glibc builds Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47266
* cosmetic: remove trailing whitespacesLuka Perkov2015-10-151-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47197
* procd: make nand_do_platform_check check image onlyRafał Miłecki2015-10-021-3/+0
| | | | | | | | | | | Recently all targets have been updated to call nand_do_upgrade directly. It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark during image check. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47079
* rpcd: update to latest git HEADJohn Crispin2015-10-011-2/+3
| | | | | | | | Provides ubus calls for sysupgrade and password changing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47075
* opkg: Extend 'opkg list' command to optionally display package sizeJohn Crispin2015-09-162-1/+75
| | | | | | | | | | | | | | | | 'opkg list' command only displays the available packages' name, version and description. It would be useful to also see the approximate size of the available package. This patch extends "opkg list" command with "--size" to optionally show also the *.ipk size. * Default behaviour is to list the available packages as earlier: "name - version - description" * with "--size" the output of is "name - version - size - description". Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 46980
* procd: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46962
* fstools: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | | | jffs2reset was following symlinks making it delete mounts for example. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46960
* procd: update to latest git revisionJohn Crispin2015-09-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46938
* procd: rework makefile, split ujail/seccompJohn Crispin2015-09-151-25/+25
| | | | | | | | | this need to be applied after my work on ujail (procd git) ujail doesn't depend on seccomp and some archs dont support seccomp Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 46936
* mountd: move code to a git repoJohn Crispin2015-09-148-190/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46935
* opkg: expose lists_dir option as command line argumentJo-Philipp Wich2015-09-142-3/+43
| | | | | | | | | | | | Expose the "lists_dir" configuration file option as command line switch so that we can override it for the Image Builder environment. Also add a more standard PKG_MAINTAINER variable while touching the Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46911
* opkg: work around unconditional libopenssl build dependencyFelix Fietkau2015-09-111-1/+1
| | | | | | | | | | | As the OpenWrt build system only resolves build dependencies per directory, all opkg variants were causing libopenssl to be downloaded and built, not only opkg-smime. Fix this by applying the same workaround as in ustream-ssl. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46850
* uci: update to the latest version, adds various fixesFelix Fietkau2015-08-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46738
* mvebu: add support for the Linksys boot counterImre Kaloz2015-08-195-1/+129
| | | | | | | | | | | | | The u-boot boot counter was never reset after a successful boot, which sometimes could make some variables become out of sync. This patch adds support for the boot counter and enables auto_recovery unconditionally. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46690
* procd: fix seccomp build on some architecturesHauke Mehrtens2015-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | fix generating syscall-names.h Sometimes the syscall number is not defined with a number but with an offset to an other syscall and then make_syscall_h.sh created some broken header file. For example the bit/syscall.h from musl for i386 has this: #define __NR_timer_create 259 #define __NR_timer_settime (__NR_timer_create+1) With this patch the resulting array looks like this: [259] = "timer_create", [(__NR_timer_create+1)] = "timer_settime", This closes #20195. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46612
* procd: switch buttons to the new "button" hotplug handlerRafał Miłecki2015-08-101-1/+1
| | | | | | | | | This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46580
* procd: update to the latest version, add "button" hotplug handlerRafał Miłecki2015-08-101-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46578
* opkg: ensure image provided feeds are available after sysupgradeJonas Gorski2015-07-253-4/+21
| | | | | | | | | | | | | | | | | | | | | Split the opkg.conf into three files, to make it easier to support custom feeds and configs: * /etc/opkg.conf -> base opkg configuration * /etc/opkg/distfeeds.conf -> default Openwrt package feeds * /etc/opkg/customfeeds.conf -> custom package feeds Of these three, only the base opkg.conf and the customfeeds.conf is marked as to be kept, so that the distfeeds.conf from the image is always used. To ease migration, a script is added that moves any feeds from /etc/opkg.conf to /etc/opkg/customfeeds.conf on first boot. Also ensure that any keys used for verification are also kept in upgrade. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46491
* procd: update to latest git HEADJohn Crispin2015-07-241-2/+2
| | | | | | | | fixes http://patchwork.ozlabs.org/patch/497899/ Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46465
* rpcd: update to the latest versionLuka Perkov2015-07-151-2/+2
| | | | | | | | | This update adds a couple of file plugin enhancements, such as base64 support and setting mode when files are written. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 46384
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46356
* fstools: fstab.init fix spellingJohn Crispin2015-07-081-2/+2
| | | | | | | | fix a very minor typo in warning message Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> SVN-Revision: 46273
* ubus: bump to latest git HEADJohn Crispin2015-07-071-2/+2
| | | | | | | | fixes a bug where gid was checked twice instead of the uid/gid combo Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46246
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-071-2/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46212
* ubus: update to the latest version, fixes a segfault on message retryFelix Fietkau2015-07-061-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46199
* ubus: update to latest git HEADJohn Crispin2015-06-181-3/+3
| | | | | | | | this adds ACL support Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46040
* procd: update to the latest version, fixes umask handling for creating /dev/shmFelix Fietkau2015-06-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46023
* procd: update to the latest version, fixes /dev/shm permissionsFelix Fietkau2015-06-171-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46013
* opkg: fix duplicate check_signature line for smime variant (#19863)Felix Fietkau2015-06-161-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45999
* procd: update to the latest version, adds a few fixesFelix Fietkau2015-06-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45972
* procd: correct the order of respawn params in the comments.Felix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45955
* opkg: Fix --force-checksum when using SHA256John Crispin2015-06-051-0/+31
| | | | | | | | | | Allow installing packages with mismatching SHA256 checksums via $ opkg install --force-checksum $PACKAGE Signed-off-by: Florian Fieber <florian@florianfieber.de> SVN-Revision: 45904
* mtd: add missing <endian.h> includeFelix Fietkau2015-06-051-0/+1
| | | | | | | | | | | | | | trx.c in mtd would not include endian.h, so on systems that do not have this header implicitly included from the other headers (like musl), both __BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to it always presuming a big-endian system. this would lead to issues when running mtd fixtrx on little-endian systems, as it would never recognize the TRX magic as result of the broken STORE32_LE() macro. Signed-off-by: Shiz <hi@shiz.me> Tested-by: Shiz <hi@shiz.me> SVN-Revision: 45896
* procd: work around a event raceJohn Crispin2015-06-032-4/+2
| | | | | | | | | | there is a conceptual design flaw in our interface events. workaround this by disabling duplicate message supression in procd. we need to fix this properly for the next release Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45883
* procd: add a 10 second delay to the interface triggersJohn Crispin2015-06-021-0/+1
| | | | | | | | | this is an ugly hack that will be removed when the netifd maintainers have time to look at the problem. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45876