1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 02:13:08 +02:00
Commit Graph

31 Commits

Author SHA1 Message Date
mirko
6c0bc69bf6 [package/*] remove special treatment when using glibc - support got dropped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:16 +00:00
jow
b6b061ea22 [package] hotplug2: make libbsd depend on "not uclibc" for now, the conditional depdendency handling needs fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 18:49:24 +00:00
mirko
b7bfccb389 [package/hotplug2] fix conditional dependencies to libbsd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 14:38:29 +00:00
mirko
6580b7a68d [package/hotplug2] link against 'libbsd' when using glibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-17 22:51:20 +00:00
mirko
85c173ef01 [package/hotplug] link hotplug2 against libbsd when eglibc is used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 13:16:11 +00:00
nbd
ce2febec6d hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 02:49:24 +00:00
acinonyx
890d7a063e [package] hotplug2: Use stricter matching for rule regular expressions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:37:53 +00:00
florian
30bce75680 [package] hotplug2 depends on udevtrigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 21:29:06 +00:00
jow
c472243aa5 [package] hotplug2: mark /etc/hotplug2.rules as conffile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 17:16:12 +00:00
jow
4f1b3d881f [package] hotplug2: bump pkg release after hotplug fixes in r20679-r20685
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 19:33:56 +00:00
nbd
09fc3a65d9 Fix a memory leak in hotplug2 environment handling.
Bump hotplug2 to the latest svn revision, remove obsolete patches.

Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.

Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.

This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 18:50:49 +00:00
nbd
183ed59cff hotplug2: compile in the worker module statically, saves >20k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 20:49:44 +00:00
florian
9372ff9d8f [package] update hotplug2 to r199, fixes build failures on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 18:33:52 +00:00
jow
281be5d6d1 [package] hotplug2 may need -fPIC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 23:11:29 +00:00
hcg
fd838e9faf [hotplug2] add hotplug2 v1.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 13:21:58 +00:00
hcg
e78f0c2415 [hotplug2] Move hotplug2 v0.9 to hotplug2-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 13:20:54 +00:00
nbd
796a9d1091 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
juhosg
d99855b11e [package] hotplug2: add platform hotplugging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-28 20:01:11 +00:00
nico
f7af5c7e5a move hotplug2 & udevtrigger to base section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 22:31:07 +00:00
nbd
235b19acea bump package versions after updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
nico
c4b73fa154 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
nbd
af7fc344c8 hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices (fixes #2052)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 00:13:47 +00:00
nbd
024945eed5 update to hotplug2 svn version (recommended by iSteve)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 09:46:37 +00:00
nbd
1d5d64e647 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 08:32:25 +00:00
nbd
52242b5f8e hotplug2: add a missing cflag, allow hotplug events that are not 'add'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 07:08:35 +00:00
nbd
1b9d91c491 make hotplug2 use the build system cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 06:30:36 +00:00
nbd
2d6b53deec use hotplug2 for serializing hotplug events on 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 18:33:18 +00:00
nbd
643f013d15 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
nbd
1d3cff733d add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
nbd
a4a2f867c8 make hotplug2 depend on udevtrigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:15:32 +00:00
nbd
2941ad5d2b add hotplug2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 19:55:47 +00:00