diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-28 15:22:30 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-28 18:35:59 +0200 |
commit | a2b6a16119837df4a803effaefe8ef0be08fe396 (patch) | |
tree | 8d8e446d21ff21c5051a51fb42a8085cf3c216d4 /defaults | |
parent | defaults/linuxrc: Always preserve log (diff) | |
download | genkernel-a2b6a16119837df4a803effaefe8ef0be08fe396.tar.gz genkernel-a2b6a16119837df4a803effaefe8ef0be08fe396.tar.bz2 genkernel-a2b6a16119837df4a803effaefe8ef0be08fe396.zip |
defaults/linuxrc: Log udevd debug output into /run/initramfs/udevd.log
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/initrd.defaults | 1 | ||||
-rw-r--r-- | defaults/linuxrc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index e310f191..fa71ecb8 100644 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -95,6 +95,7 @@ GK_SSHD_LOCKFILE='/tmp/remote-rescueshell.lock' GK_SSHD_PIDFILE='/var/run/dropbear.pid' GK_SSHD_PORT=22 GK_SSHD_WAIT= +GK_UDEV_LOG='/run/initramfs/udevd.log' GK_UDEV_TIMEOUT=120 GK_USERINTERACTION_DISABLED_STATEFILE='/tmp/user-interaction.disabled' diff --git a/defaults/linuxrc b/defaults/linuxrc index a4ed8112..1a4ddac3 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -568,7 +568,7 @@ good_msg 'Activating udev ...' udevd_cmd="run udevd --resolve-names=never" if is_debug then - udevd_cmd="${udevd_cmd} --debug > /tmp/udev.debug 2>&1 &" + udevd_cmd="${udevd_cmd} --debug > ${GK_UDEV_LOG} 2>&1 &" else udevd_cmd="${udevd_cmd} --daemon" fi |