aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-19 15:54:36 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-19 15:55:35 +0200
commit6015d0cc954143cf4962881b91e38ae6912d94ef (patch)
tree9eba0780a3d77ca52e70eff8394af42f39a011d5 /main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
parentb4757511525f39fd8120d84a803bb8a7834dcc61 (diff)
downloadaports-6015d0cc954143cf4962881b91e38ae6912d94ef.tar.bz2
aports-6015d0cc954143cf4962881b91e38ae6912d94ef.tar.xz
main/alpine-conf: fix cciss devices
ref #2893
Diffstat (limited to 'main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch')
-rw-r--r--main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch b/main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
new file mode 100644
index 0000000000..7901447a42
--- /dev/null
+++ b/main/alpine-conf/0001-setup-disk-fix-partitioning-of-HP-raid-array-cciss.patch
@@ -0,0 +1,26 @@
+From dc06856daff9ba68eea716956c2e2383d4097747 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Mon, 19 May 2014 15:50:21 +0200
+Subject: [PATCH] setup-disk: fix partitioning of HP raid array (cciss)
+
+ref #2893
+---
+ setup-disk.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-disk.in b/setup-disk.in
+index e5cae87..e7a063c 100644
+--- a/setup-disk.in
++++ b/setup-disk.in
+@@ -950,7 +950,7 @@ if [ $# -gt 0 ]; then
+ echo "$i is not a suitable for partitioning"
+ exit 1
+ fi
+- diskdevs="$diskdevs /dev/$j"
++ diskdevs="$diskdevs /dev/${j//!//}"
+ done
+ else
+ ask_disk "Which disk(s) would you like to use? (or '?' for help or 'none')" \
+--
+1.9.3
+