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.
14 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
Harald Hoyer
afd826bd6c
prepare udev rules for udev >= 143
16 years ago
Harald Hoyer
1b01ddbaa3
install "basename" for path_id
16 years ago
Philippe Seewer
f2b44e351b
Install debian renamed udev rules as well
...
Sadly, debian has reworked/renamed the udev default rules. If dracut
is to boot debian as well we need those rules.
16 years ago
Victor Lowther
4eba843dde
Revert --resolve-names=never in init
...
That flag is too new to work on most shipping distros, so fall back to
including /etc/group and the libnss_files.
16 years ago
Victor Lowther
5033486389
Have udevd never try to resolve user or group ownership of devices.
...
This gets rid of the need to have potentially security-sensitive files
like /etc/passwd and /etc/group in the initramfs, and makes the initramfs
a bit smaller. We trust the final userspace to do The Right Thing when
assigning user/group ownership to devices.
16 years ago
Harald Hoyer
85e90fd44b
removed trailing \
16 years ago
Victor Lowther
7bff75da14
Make udevd shut up
...
Do this by loading /etc/group and /lib*/libnss_files.so.* onto the initramfs
16 years ago
Victor Lowther
3ffa5b1135
Make 90lvm load the device-mapper rules instead of 95udev-rules
16 years ago
Victor Lowther
b2a843b471
Make 90dmraid load the dm-raid udev rules instead of 95udev-rules
16 years ago
Victor Lowther
09805e02b8
Get rid of some RedHat specific modules and udev rules
...
They are not needed to boot with dracut, so away they go.
Also rewrite inst_rules to automatically search likely rule locations when
installing udev rules.
16 years ago
Victor Lowther
20abd91484
Create a self-contained structure for dracut modules
...
All modules now live in a subdirectory /modules.d. Each module is
self-contained -- it should contain everything that it will install
on the initrd. All modules must include a script named install, which
will be sourced by dracut. This script should do the actual file installation
using inst methods. The moddir variable will point to the full path to the
module dracut is currently working on.
As usual, this patch series applies on top of my previous patch series,
and is available as normalize-modules from http://git.fnordovax.org/dracut .
16 years ago