File: test-log-error-when-constructing-sysroot.patch

package info (click to toggle)
dracut 106-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,708 kB
  • sloc: sh: 24,384; ansic: 4,704; makefile: 315; perl: 186; python: 28; javascript: 19
file content (34 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Benjamin Drung <benjamin.drung@canonical.com>
Date: Fri, 7 Feb 2025 18:51:25 +0100
Subject: test: log error when constructing sysroot

Log dracut errors for all dracut invocations. Otherwise tests can fail
without any log output.

Fixes: 8631284afbfa ("ci: do not log how sysroot is constructed")
Forwarded: https://github.com/dracut-ng/dracut-ng/pull/1201
---
 test/dracut.conf.d/test-makeroot/test-makeroot.conf | 2 +-
 test/dracut.conf.d/test-root/test-root.conf         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/dracut.conf.d/test-makeroot/test-makeroot.conf b/test/dracut.conf.d/test-makeroot/test-makeroot.conf
index 48373e0..d6a0067 100644
--- a/test/dracut.conf.d/test-makeroot/test-makeroot.conf
+++ b/test/dracut.conf.d/test-makeroot/test-makeroot.conf
@@ -5,4 +5,4 @@ do_strip="no"
 do_hardlink="no"
 early_microcode="no"
 hostonly_cmdline="no"
-stdloglvl=1
+stdloglvl=2
diff --git a/test/dracut.conf.d/test-root/test-root.conf b/test/dracut.conf.d/test-root/test-root.conf
index 9ebf4a59..2bb46dc 100644
--- a/test/dracut.conf.d/test-root/test-root.conf
+++ b/test/dracut.conf.d/test-root/test-root.conf
@@ -5,4 +5,4 @@ do_strip="no"
 do_hardlink="no"
 early_microcode="no"
 hostonly_cmdline="no"
-stdloglvl=1
+stdloglvl=2