summaryrefslogtreecommitdiff
path: root/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-24 00:29:28 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-24 00:29:28 +0000
commitcbefdc59f4331d3aa25152c37ddeb73b6e71f339 (patch)
treec36f1686884b49e194348ed6096c2a069d877b28 /sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
parent8b2df332991d0d24c8f4f1d9a11ec25441e4ede9 (diff)
preconfigure dracut, so we don't have to patch calamares, or pass ubercomplicated arguments while building the initramfs
Diffstat (limited to 'sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch')
-rw-r--r--sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch b/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
new file mode 100644
index 00000000..85ebc7e6
--- /dev/null
+++ b/sys-kernel/dracut/files/044-0003-50-dracut.install-use-bin-bash-shebang.patch
@@ -0,0 +1,23 @@
+From 69395a528aed99ec04b16c14ebacf4c2e10afd26 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Fri, 4 Nov 2016 13:09:28 -0400
+Subject: [PATCH] 50-dracut.install: use /bin/bash shebang
+
+This script utilizes several bash-specific constructs.
+---
+ 50-dracut.install | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/50-dracut.install b/50-dracut.install
+index 7d081d5..54c71d4 100755
+--- a/50-dracut.install
++++ b/50-dracut.install
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ COMMAND="$1"
+ KERNEL_VERSION="$2"
+--
+2.10.2
+