aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update procd.sh to support new ujail optionsJohn Crispin2015-12-111-3/+3
| | | | | | Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: bump to latest git HEADJohn Crispin2015-12-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2015-10-261-2/+2
| | | | | | | | this unbreaks glibc builds Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-071-2/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes /dev/shm permissionsFelix Fietkau2015-06-171-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, adds a few fixesFelix Fietkau2015-06-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: correct the order of respawn params in the comments.Felix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make the jail code also work on armJohn Crispin2015-05-231-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix uid/gid changing for service instancesJo-Philipp Wich2015-05-051-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Removed reference to imaginary procd_add_interface_reload in procd.shJohn Crispin2015-04-181-1/+0
| | | | | | | | | The last line of procd.sh has a reference to procd_add_interface_reload. procd_add_interface_reload doesn't seem to exist. I've removed the reference of it to minimize confusion. Signed-off-by: Eric Schultz <eschultz@prplfoundation.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix compile error on x86_64John Crispin2015-04-101-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add helper for starting NAND sysupgradeJohn Crispin2015-04-091-0/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: properly handle return codesJohn Crispin2015-03-301-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45152 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
* 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
* 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
* 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-161-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 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
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-111-2/+2
| | | | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* procd: reintroduce /sys/fs/cgroup mountJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add support for zram compressed /tmpJohn Crispin2014-12-021-6/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43489 3c298f89-4303-0410-b956-a3cf2f4a3e73