Harald Hoyer
c46cda8260
split 95udev-rules/59-persistent-storage.rules to md and dm modules
12 years ago
Harald Hoyer
4f6e293308
udev-rules: modify udev rules on initramfs creation time
12 years ago
Harald Hoyer
16c84f2873
udev-rules/udev-rules-prepare.sh: get UDEVVERSION, if unset
12 years ago
Amadeusz Żołnowski
579238a3ac
Fallback to external blkid and path_id in udev rules for <udev-176.
...
Starting with commit 24a38bc1cb
dracut
uses udev builtins but still depends on >=udev-166 in dracut.spec. This
patch makes dracut work with older udev again.
All credits go to Alexander Tsoy <alexander@tsoy.me>; see
https://bugs.gentoo.org/show_bug.cgi?id=437700
12 years ago
Harald Hoyer
b85f723535
udev-rules: do not install all /etc/group
13 years ago
Harald Hoyer
500d8e6002
udev-rules/module-setup.sh: add udev groups
13 years ago
Colin Guthrie
f9452c94c0
udev-rules: Pre usrmove systemd installs might not find udevd.
...
If users had switched to systemd-183+ but have not completed
the usrmove, then the variable ${systemdutildir} will likely
refer to /usr/lib/systemd NOT /lib/systemd and thus the
systemd-udevd daemon may not be found.
So let's try a little harder and add another hard coded path
and if we don't find it, then bail out hard.
13 years ago
Harald Hoyer
c0cae7f702
dmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs
13 years ago
Harald Hoyer
24a38bc1cb
fixed install locations for udev rules and change to IMPORT{builtin}
13 years ago
Harald Hoyer
c072e13162
get rid of "basename"
13 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Harald Hoyer
a0df73b493
udev-rules/module-setup.sh: ln with --force
13 years ago
Harald Hoyer
d161561290
make udevdir systemdutildir systemdsystemunitdir global vars
...
your distribution should ship those settings in
/etc/dracut.conf.d/01-distro.conf
see dracut.conf.d/fedora.conf.example
13 years ago
Juan RP
2cf4f4fb74
Avoid annonying warnings when pkg-config is not installed.
13 years ago
Harald Hoyer
6042b30c58
udev-rules: check for systemd-udevd symlink already present
13 years ago
Harald Hoyer
604d1eb21a
use pkg-config to determine the udev directory
13 years ago
Harald Hoyer
cce69be668
removed old udev "vol_id"
13 years ago
Harald Hoyer
168952cea6
udev-rules/module-setup.sh: fixed udevd location
13 years ago
Harald Hoyer
8a1a2f6ca4
udevd moved to /lib/systemd/systemd-udevd
13 years ago
Harald Hoyer
324be70f80
udev-rules: remove 01-ignore.rules
13 years ago
Jon Ander Hernandez
c9143a63fe
Debian multiarch support
...
Another solution could be searching in directories found at
/etc/ld.so.conf.d/*.conf or adding a new parameter. Here is a patch
which adds a new --libdirs parameter, and also a new inst_libdir_file
function which will try to expand metacharacters on each lib
directory:
inst_libdir_file "libdevmapper-event-lvm*.so"
13 years ago
Harald Hoyer
6f00044317
95udev-rules/module-setup.sh: correctly create udevd symlink
14 years ago
Harald Hoyer
450f5d6694
95udev-rules/module-setup.s: fixed symlink for udevd to initdir
14 years ago
Harald Hoyer
e0f9ecc6a4
95udev-rules/module-setup.sh: also search in /lib/udev and /usr/lib/udev
14 years ago
Harald Hoyer
f063d0e89f
95udev-rules: add input_id
14 years ago
Harald Hoyer
e59f58f854
use inst_simple to install non-binary files
14 years ago
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
df60555037
precreate /run/udev/rules.d
14 years ago
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
14 years ago
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
14 years ago
Peter Rajnoha
c2c3108882
*.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG
...
honour the DM_UDEV_DISABLE_OTHER_RULES_FLAG which is set by
libdevmapper/LVM directly for devices that should be skipped.
15 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Harald Hoyer
5acc508cae
fixed "use $libdir and $usrlibdir instead of ..."
15 years ago
Amadeusz Żołnowski
55309e7800
use $libdir and $usrlibdir instead of individual detect with ldd
15 years ago
Victor Lowther
5a4bbf1bda
Arch handles loading modules from udev in a somewhat customized manner.
15 years ago
Harald Hoyer
dafa4f621f
udev-rules: be more careful about md devices and blkid runs
15 years ago
Harald Hoyer
58ffd15bff
add module btrfs
15 years ago
Harald Hoyer
e606012ce6
udev-rules: hotplug.functions is not executable, so use -e instead of -x
15 years ago
Harald Hoyer
b686095f99
udev-rules: choose between several firmware upload tools
...
debian: firmware.agent hotplug.functions
old fedora: firmware.sh
new udev upstream: firmware
15 years ago
Harald Hoyer
4819ae98ac
fix lib64 check
...
on ppc we can have libc in /lib64/power6/
15 years ago
Harald Hoyer
d7b97367b2
udev-rules: do not run blkid on temporary device mapper devices
16 years ago
Harald Hoyer
b9c4654a63
devicemapper: add dmeventd and new rules for device mapper
16 years ago
Harald Hoyer
4839a7995e
add pcmcia adapter
16 years ago
Harald Hoyer
96f3cf1d27
95udev-rules: fixed c&p bug which did not install 61-persistent-storage.rules
16 years ago
Harald Hoyer
52168b7b9d
reordered blkid/vol_id rules
16 years ago
Harald Hoyer
68b26290f0
udev-rules: install vol_id
16 years ago
Harald Hoyer
0f1361ee1c
udev-rules: hardcode helper binaries
16 years ago
Daniel Drake
259e58a904
Add firmware loading support
16 years ago
Harald Hoyer
d19ed691e8
install rules to ignore some devices
16 years ago