1 |
commit: a2b6a16119837df4a803effaefe8ef0be08fe396 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 13:22:30 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 16:35:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a2b6a161 |
7 |
|
8 |
defaults/linuxrc: Log udevd debug output into /run/initramfs/udevd.log |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
defaults/initrd.defaults | 1 + |
13 |
defaults/linuxrc | 2 +- |
14 |
2 files changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults |
17 |
index e310f19..fa71ecb 100644 |
18 |
--- a/defaults/initrd.defaults |
19 |
+++ b/defaults/initrd.defaults |
20 |
@@ -95,6 +95,7 @@ GK_SSHD_LOCKFILE='/tmp/remote-rescueshell.lock' |
21 |
GK_SSHD_PIDFILE='/var/run/dropbear.pid' |
22 |
GK_SSHD_PORT=22 |
23 |
GK_SSHD_WAIT= |
24 |
+GK_UDEV_LOG='/run/initramfs/udevd.log' |
25 |
GK_UDEV_TIMEOUT=120 |
26 |
GK_USERINTERACTION_DISABLED_STATEFILE='/tmp/user-interaction.disabled' |
27 |
|
28 |
|
29 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
30 |
index a4ed811..1a4ddac 100644 |
31 |
--- a/defaults/linuxrc |
32 |
+++ b/defaults/linuxrc |
33 |
@@ -568,7 +568,7 @@ good_msg 'Activating udev ...' |
34 |
udevd_cmd="run udevd --resolve-names=never" |
35 |
if is_debug |
36 |
then |
37 |
- udevd_cmd="${udevd_cmd} --debug > /tmp/udev.debug 2>&1 &" |
38 |
+ udevd_cmd="${udevd_cmd} --debug > ${GK_UDEV_LOG} 2>&1 &" |
39 |
else |
40 |
udevd_cmd="${udevd_cmd} --daemon" |
41 |
fi |