daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
b9a53a
From 27d1acaa1d4c9299db461f0f1922c573be6a52c0 Mon Sep 17 00:00:00 2001
4b8c80
From: Frantisek Sumsal <fsumsal@redhat.com>
4b8c80
Date: Mon, 21 Oct 2019 18:39:39 +0200
4b8c80
Subject: [PATCH] test: bump the second partition's size to 50M
4b8c80
4b8c80
The former size (10M) caused systemd-journald to crash with SIGABRT when
4b8c80
used on a LUKS2 partition, as the LUKS2 metadata consume a significant
4b8c80
part of the 10M partition, thus leaving no space for the journal file
4b8c80
itself (relevant for TEST-02-CRYPTSETUP). This change has been present
4b8c80
in upstream for a while anyway.
4b8c80
b9a53a
Related: #1761519
4b8c80
rhel-only
4b8c80
---
4b8c80
 test/test-functions | 2 +-
4b8c80
 1 file changed, 1 insertion(+), 1 deletion(-)
4b8c80
4b8c80
diff --git a/test/test-functions b/test/test-functions
4b8c80
index af9d16140f..fe25a501da 100644
4b8c80
--- a/test/test-functions
4b8c80
+++ b/test/test-functions
4b8c80
@@ -433,7 +433,7 @@ create_empty_image() {
4b8c80
     [ -b "$LOOPDEV" ] || return 1
4b8c80
     echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
4b8c80
     sfdisk "$LOOPDEV" <
4b8c80
-,390M
4b8c80
+,350M
4b8c80
 ,
4b8c80
 EOF
4b8c80