1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

365 Commits

Author SHA1 Message Date
greg@kroah.com
d7577c8b90 [PATCH] v011 release 2005-04-26 21:13:11 -07:00
greg@kroah.com
fe0a916c31 [PATCH] 010_bk stamp 2005-04-26 21:13:11 -07:00
svetljo@gmx.de
335e433720 [PATCH] fix udev sed Makefile usage 2005-04-26 21:13:11 -07:00
greg@kroah.com
1e5b0d2fc9 [PATCH] v010 release 2005-04-26 21:13:10 -07:00
kay.sievers@vrfy.org
8c5d34e508 [PATCH] trivial make fixes
One patch to let bk ignore the created udev.conf.
The second to depend on the .h files.
2005-04-26 21:13:09 -07:00
kay.sievers@vrfy.org
7591c18a8f [PATCH] don't overwrite old config on install
Here is a patch for the Makefile to look for a already
installed config and not to overwrite it.
2005-04-26 21:13:09 -07:00
akropel1@rochester.rr.com
49cd31b33e [PATCH] Allow build with empty EXTRAS
Need to let the shell expand $EXTRAS so it can properly detect an empty
list. Without this patch, the build fails whenever $EXTRAS is empty.
2005-04-26 21:13:09 -07:00
greg@kroah.com
9c23ec09a0 [PATCH] 009_bk makefile changes. 2005-04-26 21:13:08 -07:00
greg@kroah.com
54b72ce91e [PATCH] v009 release 2005-04-26 21:13:08 -07:00
olh@suse.de
6662694809 [PATCH] dump latest klibc into the udev build tree
KLIBC is used as an internal makefile variable, it expands to either
true or false right now. udev should use something else than KLIBC to
allow build against the latest and greatest klibc version.
2005-04-26 21:13:08 -07:00
rml@ximian.com
316c515077 [PATCH] install initscript in udev rpm
Attached patch installs the initscript via 'make install' and adds it to
the RPM package.  The RPM script then runs chkconfig(8) to setup the
initscript to run at the appropriate runlevels.
2005-04-26 21:13:08 -07:00
eike-hotplug@sf-tec.de
dbc9b3f3a2 [PATCH] add init.d/udev to "make install"
adds /etc/init.d/udev to "make install"
2005-04-26 21:13:07 -07:00
greg@kroah.com
71896b56ee [PATCH] tweak the config file generation portion of the Makefile a bit. 2005-04-26 21:13:07 -07:00
olh@suse.de
18a0d6522d [PATCH] use udevdir in udev.conf
udevdir is a define, but udev.conf has a hardcoded path. Maybe this
config file should be generated on the fly, like shown below.
2005-04-26 21:13:07 -07:00
greg@kroah.com
62adf3f739 [PATCH] Makefile tweaks for the DBUS build. 2005-04-26 21:13:07 -07:00
greg@kroah.com
bbd063b5c2 [PATCH] change USE_DBUS to DBUS in Makefile, and disable it by default as it's still to hard to build on all systems. 2005-04-26 21:13:06 -07:00
david@fubar.dk
5aebfbcb62 [PATCH] D-BUS patch for udev-008
Attached is a patch against udev-008 to send out a D-BUS message when a
device node is added or removed.

Using D-BUS lingo, udev acquires the org.kernel.udev service and sends
out a NodeCreated or NodeDeleted signal on the
org.kernel.udev.NodeMonitor interface. Each signal carries two
parameters: the node in question and the corresponding sysfs path.

[Note: the D-BUS concepts of service, interface, object can be a bit
confusing at first glance]

An example program listening for these messages looks like this

#!/usr/bin/python

import dbus
import gtk

def udev_signal_received(dbus_iface, member, service, object_path, message):
    [filename, sysfs_path] = message.get_args_list()
    if member=='NodeCreated':
        print 'Node %s created for %s'%(filename, sysfs_path)
    elif member=='NodeDeleted':
        print 'Node %s deleted for %s'%(filename, sysfs_path)

def main():
    bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM)
    bus.add_signal_receiver(udev_signal_received,
                            'org.kernel.udev.NodeMonitor',  # interface
                            'org.kernel.udev',              # service
                            '/org/kernel/udev/NodeMonitor') # object

    gtk.mainloop()

if __name__ == '__main__':
    main()

and this is the output when hot-plugging some usb-storage.

[david@laptop udev-008]$ ~/node_monitor.py
Node /udev/sda created for /block/sda
Node /udev/sda1 created for /block/sda/sda1
Node /udev/sda1 deleted for /block/sda/sda1
Node /udev/sda deleted for /block/sda

The patch requires D-BUS 0.20 or later while the python example program
requires D-BUS from CVS as I only recently applied a patch against the
python bindings.
2005-04-26 21:13:06 -07:00
patmans@us.ibm.com
eadb1bbc2e [PATCH] better allow builds of extras programs under udev
Here is an improved version of the patch that enables builds of the extras
progams for the targets all, clean, install, and uninstall, and passes
down the "prefix" for use by install and uninstall.

This patch enables building of the "extras" programs using the same build
environment as udev (i.e. build with udev's versions of klibc and
sysfsutils).

For example, build scsi_id and udev via:

	make EXTRAS=extras/scsi_id

Build scsi_id and udev with klibc via:

	make KLIBC=true EXTRAS=extras/scsi_id
2005-04-26 21:13:06 -07:00
greg@kroah.com
da146a3e36 [PATCH] 008_bk mark 2005-04-26 21:13:06 -07:00
greg@kroah.com
c9feb4d9f2 [PATCH] v008 release 2005-04-26 21:13:06 -07:00
greg@kroah.com
3836a3c49a [PATCH] get rid of the majority of the debug environment variables.
Now there are only 3 valid environment test variables.  The rest can be
specified with the config file.
2005-04-26 21:13:05 -07:00
greg@kroah.com
e8bacccab2 [PATCH] add support for a main udev config file, udev.conf.
the older udev.config file is now called udev.rules.
This allows us to better control configuration values, and move away from 
the environment variables.
2005-04-26 21:13:05 -07:00
greg@kroah.com
29b82deb7e [PATCH] turn debugging messages off by default.
it's a bit noisy for the masses...
2005-04-26 21:13:05 -07:00
greg@kroah.com
19feb35100 [PATCH] split out the namedev config parsing logic to namedev_parse.c 2005-04-26 21:13:05 -07:00
mort@wildopensource.com
7f2ea6a382 [PATCH] Add -nodefaultlibs while compiling against klibc
This patch adds -nodefaultlibs to LDFLAGS when compiling udev against
klibc.  This fixes the warning that I was getting when using $(LD)=gcc
in the versions after Makefile.klibc disappeared.  The problem was that
it was still including a "-lc" in the call to the linker.
2005-04-26 21:13:04 -07:00
olh@suse.de
bfd8a5d0f7 [PATCH] ARCH detection for ppc
I'm not sure why ppc is converted to powerpc, it breaks at least $(ARCH)
in klibc.

gcc -dumpmachine
powerpc-suse-linux
2005-04-26 21:13:04 -07:00
patmans@us.ibm.com
871ea775c7 [PATCH] fix udev parallel builds with klibc
I can't build udev with make -j9. Here's a patch to fix it.
2005-04-26 21:13:04 -07:00
arnd@arndb.de
74894b53f8 [PATCH] klibc makefile fixes 2005-04-26 21:13:02 -07:00
greg@kroah.com
58a16d607b [PATCH] 007_bk version change to Makefile. 2005-04-26 21:13:02 -07:00
greg@kroah.com
44132eca4e [PATCH] v007 release 2005-04-26 21:13:02 -07:00
greg@kroah.com
6a670d61bc [PATCH] only build klibc_fixups.c if we are actually using klibc. 2005-04-26 21:13:02 -07:00
olh@suse.de
ed83913730 [PATCH] static klibc udev does not link against crt0.o
On Wed, Nov 19, Greg KH wrote:

> > I did 'make KLIBC=true' in the current bk tree.
>
> try 'make -f Makefile.klibc' in the current tree.  For some reason I
> couldn't figure out how to have Makefile work for both KLIBC=true and
> KLIBC=false.  But I didn't try too hard :)

I dont understand that.

please do rm -f Makefile.klibc; apply this patch and tell me what fails.
works for me.
2005-04-26 21:06:26 -07:00
greg@kroah.com
95d3e90130 [PATCH] change to 006_bk version 2005-04-26 21:06:25 -07:00
greg@kroah.com
378fe59875 [PATCH] v006 2005-04-26 21:06:25 -07:00
greg@kroah.com
baa936855e [PATCH] fix make install rule for when the udev symlink is already there. 2005-04-26 21:06:24 -07:00
greg@kroah.com
54e3a5d3ae [PATCH] change release target in makefile. 2005-04-26 21:06:24 -07:00
olh@suse.de
4360a56d7f [PATCH] DESTDIR for udev 2005-04-26 21:06:23 -07:00
greg@kroah.com
8519ed1a5b [PATCH] version number to 005_bk 2005-04-26 21:06:22 -07:00
greg@kroah.com
2d5b68864f [PATCH] pull some klibc stuff into the make Makefile to try to stay in sync. 2005-04-26 21:06:22 -07:00
greg@kroah.com
e1b579406d [PATCH] 005 release 2005-04-26 21:06:22 -07:00
greg@kroah.com
c94705b564 [PATCH] get 'make release' to work properly again. 2005-04-26 21:06:22 -07:00
greg@kroah.com
5c75a3ecd1 [PATCH] build tdb and libsysfs from the same makefile as udev.
This fixes problem of libsysfs and tdb getting build with different gcc options
as the rest of udev.
2005-04-26 21:05:23 -07:00
greg@kroah.com
6c0eae77a1 [PATCH] makefile fix for now. 2005-04-26 21:05:22 -07:00
greg@kroah.com
daf0bafa81 [PATCH] hm, makefile bug with so many files... will fix later... 2005-04-26 21:05:22 -07:00
greg@kroah.com
d411208793 [PATCH] rename namedev.permissions and namedev.config to udev.permissions and udev.config
the namedev name didn't really make much sense anymore...
2005-04-26 21:04:09 -07:00
greg@kroah.com
7bfd1a5643 [PATCH] more warning flags to the build. 2005-04-26 21:04:09 -07:00
greg@kroah.com
ada26cf593 [PATCH] change version to 004_bk 2005-04-26 21:01:42 -07:00
greg@kroah.com
97d8c01567 [PATCH] 004 release 2005-04-26 21:01:42 -07:00
greg@kroah.com
410e08dd08 [PATCH] ok, rpm likes the "_" character instead of "-" better... 2005-04-26 21:01:41 -07:00
greg@kroah.com
45dbc61ebe [PATCH] change the version to 003-bk to keep things sane with people using the bk tree. 2005-04-26 21:01:41 -07:00
greg@kroah.com
d3069ca3b7 [PATCH] fix makefile release rule to not drop tdb.h file. 2005-04-26 21:01:41 -07:00
greg@kroah.com
8dfc8dbe01 [PATCH] copyright updates. 2005-04-26 21:01:41 -07:00
greg@kroah.com
6785820d38 [PATCH] added uninstall support 2005-04-26 21:01:41 -07:00
greg@kroah.com
9f53b06a8d [PATCH] added install target for makefile so people don't have to do it by hand anymore. 2005-04-26 21:01:41 -07:00
greg@kroah.com
6739707df5 [PATCH] put config files and database in /etc/udev by default
Can be overridden on the makefile line.
2005-04-26 21:01:40 -07:00
greg@kroah.com
a2822451e2 [PATCH] merge tdb into the build process. 2005-04-26 21:01:40 -07:00
lethal@linux-sh.org
b137e367bb [PATCH] udev/libsysfs cross compile fixes
I noticed that libsysfs doesn't inherently grab cross compilation arguments
that are set in the top-level Makefile, so I've come up with the following
patch to fix this. With the patch, I can succesfully cross compile for other
architectures (such as sh) by doing 'make ARCH=sh CROSS=sh-linux-' in the
top-level directory.
2005-04-26 21:01:40 -07:00
greg@kroah.com
cee360d32e [PATCH] added 0.2 change log info. 2005-04-26 21:01:40 -07:00
greg@kroah.com
ea733a2f00 [PATCH] split udev main logic into udev-add and udev-remove. 2005-04-26 21:01:39 -07:00
greg@kroah.com
28972fe8a9 [PATCH] added libsysfs to the build. 2005-04-26 21:01:39 -07:00
greg@kroah.com
2232cac825 [PATCH] Initial namedev parsing of config files
.permission parsing works, .config needs more work.
2005-04-26 21:01:38 -07:00
greg@kroah.com
d2ce181711 [PATCH] added more documentation in README and TODO files. 2005-04-26 21:01:38 -07:00
greg@kroah.com
1e7a3f9e11 [PATCH] cleaned up the makefile a bit. 2005-04-26 21:01:38 -07:00
greg@kroah.com
a507a01572 [PATCH] enabled debugging. 2005-04-26 21:00:23 -07:00
Greg KH
f0083e3d4e added initial files. 2005-04-26 20:59:47 -07:00