summaryrefslogtreecommitdiff
path: root/system/parted/posix-shell.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/parted/posix-shell.patch')
-rw-r--r--system/parted/posix-shell.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/parted/posix-shell.patch b/system/parted/posix-shell.patch
index 3418e31c6..54a11d380 100644
--- a/system/parted/posix-shell.patch
+++ b/system/parted/posix-shell.patch
@@ -22,7 +22,7 @@
--- parted-3.2/tests/t-local.sh.old 2014-06-15 18:17:43.000000000 +0000
+++ parted-3.2/tests/t-local.sh 2019-10-04 23:48:32.670000000 +0000
-@@ -135,7 +135,7 @@
+@@ -138,7 +138,7 @@
peek_()
{
case $# in 2) ;; *) echo "usage: peek_ FILE 0_BASED_OFFSET" >&2; exit 1;; esac
@@ -31,7 +31,7 @@
dd if="$1" bs=1 skip="$2" count=1
}
-@@ -143,7 +143,7 @@
+@@ -146,7 +146,7 @@
{
case $# in 3) ;; *) echo "usage: poke_ FILE 0_BASED_OFFSET BYTE" >&2; exit 1;;
esac
@@ -40,7 +40,7 @@
case $3 in ?) ;; *) echo "poke_: invalid byte: '$3'" >&2; exit 1 ;; esac
printf %s "$3" | dd of="$1" bs=1 seek="$2" count=1 conv=notrunc
}
-@@ -152,7 +152,7 @@
+@@ -155,7 +155,7 @@
gpt1_pte_name_offset_()
{
local ss=$1
@@ -49,7 +49,7 @@
expr $ss \* 2 + 56
return 0
}
-@@ -164,7 +164,7 @@
+@@ -167,7 +167,7 @@
case $# in 2) ;; *) echo "$0: expected 2 args, got $#" >&2; return 1;; esac
local dev=$1
local ss=$2
@@ -58,7 +58,7 @@
# get the first byte of the name
local orig_pte_name_byte
-@@ -185,7 +185,7 @@
+@@ -188,7 +188,7 @@
case $# in 3) ;; *) echo "$0: expected 2 args, got $#" >&2; return 1;; esac
local dev=$1
local ss=$2