mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
dracut: backport e2fsck invocation fix
Closes: #43332 [via git-merge-pr]
This commit is contained in:
parent
55311d96f9
commit
05f85fd27e
2 changed files with 28 additions and 1 deletions
27
srcpkgs/dracut/patches/fix-fsck.patch
Normal file
27
srcpkgs/dracut/patches/fix-fsck.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
https://github.com/dracutdevs/dracut/pull/2262
|
||||||
|
|
||||||
|
From 26990cb90bf0f516ccbd56583000d6d02ab18acd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Laszlo Gombos <laszlo.gombos@gmail.com>
|
||||||
|
Date: Sat, 4 Mar 2023 23:28:17 +0000
|
||||||
|
Subject: [PATCH] fix(fs-lib): remove quoting form the first argument of the
|
||||||
|
e2fsck call
|
||||||
|
|
||||||
|
Fix regression.
|
||||||
|
---
|
||||||
|
modules.d/99fs-lib/fs-lib.sh | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/modules.d/99fs-lib/fs-lib.sh b/modules.d/99fs-lib/fs-lib.sh
|
||||||
|
index dd20731f2..c4640fa8a 100755
|
||||||
|
--- a/modules.d/99fs-lib/fs-lib.sh
|
||||||
|
+++ b/modules.d/99fs-lib/fs-lib.sh
|
||||||
|
@@ -107,7 +107,8 @@ fsck_drv_com() {
|
||||||
|
|
||||||
|
info "issuing $_drv $_fop $_dev"
|
||||||
|
# we enforce non-interactive run, so $() is fine
|
||||||
|
- _out=$($_drv "$_fop" "$_dev")
|
||||||
|
+ # shellcheck disable=SC2086
|
||||||
|
+ _out=$($_drv $_fop "$_dev")
|
||||||
|
_ret=$?
|
||||||
|
fsck_tail
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=059
|
version=059
|
||||||
revision=2
|
revision=3
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||||
conf_files="/etc/dracut.conf"
|
conf_files="/etc/dracut.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue