[Fedora-livecd-list] Branch 'f19-branch' - tools/livecd-iso-to-disk.sh

Brian C. Lane bcl at fedoraproject.org
Tue Jan 7 21:35:18 UTC 2014


 tools/livecd-iso-to-disk.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 323137081aca8d3e997771d891067621f33d2adc
Author: Brian C. Lane <bcl at redhat.com>
Date:   Tue Jan 7 13:32:31 2014 -0800

    Use LC_ALL=C for parted calls (#1045854)

diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index b38e3b2..77691d6 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -528,7 +528,7 @@ checkGPT() {
     dev=$1
     getdisk $dev
 
-    if [ "$(/sbin/parted -m $device p 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then
+    if [ "$(LC_ALL=C /sbin/parted -m $device p 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then
         echo "EFI boot requires a GPT partition table."
         echo "This can be done manually or you can run with --format"
         exitclean




More information about the livecd mailing list