aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
Commit message (Collapse)AuthorAgeFilesLines
* procd: emit events for sound subsystemJohn Crispin2016-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | Useful e.g. for plugable USB-soundcards. With this change an event/hotplug-call looks like: ACTION: add DEVNAME: snd/timer DEVPATH: /devices/virtual/sound/timer SUBSYSTEM: sound ACTION: add DEVNAME: DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0 SUBSYSTEM: sound ACTION: add DEVNAME: snd/controlC0 DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/controlC0 SUBSYSTEM: sound ACTION: add DEVNAME: snd/pcmC0D0p DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0p SUBSYSTEM: sound ACTION: add DEVNAME: snd/pcmC0D0c DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/pcmC0D0c SUBSYSTEM: sound ACTION: add DEVNAME: dsp DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/dsp SUBSYSTEM: sound ACTION: add DEVNAME: audio DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/audio SUBSYSTEM: sound ACTION: add DEVNAME: mixer DEVPATH: /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/sound/card0/mixer SUBSYSTEM: sound This fixes #21466. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 48366
* procd: align early init PATH with rest of OpenWrtJo-Philipp Wich2016-01-141-3/+3
| | | | | | | | | | This fixes diverging executable search paths observed in programs launched throughn etifd which in turn inherited the search path from procd early on boot. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48235
* procd: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48119
* 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
* 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
* 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
* 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
* 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
* procd: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46962
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* procd: make the jail code also work on armJohn Crispin2015-05-231-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45719
* procd: fix uid/gid changing for service instancesJo-Philipp Wich2015-05-051-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45611
* 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> SVN-Revision: 45487
* procd: fix compile error on x86_64John Crispin2015-04-101-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45344
* procd: add helper for starting NAND sysupgradeJohn Crispin2015-04-091-0/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45339
* rpcd: properly handle return codesJohn Crispin2015-03-301-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45152
* procd: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45150
* 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> SVN-Revision: 45070
* procd: disable jail for uml buildsJohn Crispin2015-03-271-2/+2
| | | | | | | | probiere den mal bitte Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45066
* procd: update to latest git HEADJohn Crispin2015-03-271-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45057
* procd: fix jail/seccomp build depenedenciesJohn Crispin2015-03-261-6/+23
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45032
* procd: add jail supportJohn Crispin2015-03-262-5/+84
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45010
* 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> SVN-Revision: 44879
* packages: some (e)glibc fixes after r44701Nicolas Thill2015-03-161-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44842
* 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> SVN-Revision: 44698
* 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> SVN-Revision: 44657
* 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
* 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
* 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
* procd: fix PKG_CONFIG_DEPENDSJohn Crispin2015-02-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44457
* 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
* procd: fix console bringup on UML (again...)Steven Barth2015-01-091-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43890
* 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
* 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
* 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