Skip to content

Commit

Permalink
fix minor bug in mount_efi.sh; stop building static combo patches
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabMan committed Apr 26, 2016
1 parent f07b214 commit db59e98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ STATIC = patches/4x30s.txt patches/4x40s_IvyBridge.txt patches/4x40s_SandyBridge
MINI = $(MINIDIR)/Mini-SSDT.aml $(MINIDIR)/Mini-SSDT-DualLink.aml $(MINIDIR)/Mini-SSDT-IMEI.aml $(MINIDIR)/Mini-SSDT-$(MINIDIR)/DisableGraphics.aml $(MINIDIR)/Mini-SSDT-AR9285.aml
#//REVIEW: stop building MINI for now
MINI=
STATIC=

# core files
HACK:=$(BUILDDIR)/SSDT-HACK.aml
Expand Down
2 changes: 1 addition & 1 deletion mount_efi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ EFIIndex=$(LC_ALL=C /usr/sbin/gpt -r show "/dev/$DiskDevice" 2>/dev/null | awk '
EFIDevice="${DiskDevice}s$EFIIndex"

# Get the EFI mount point if the partition is currently mounted
EFIMountPoint=$(LC_ALL=C mount | grep "$EFIDevice" | cut -f 3 -d ' ')
EFIMountPoint=$(LC_ALL=C mount | grep "$EFIDevice on" | cut -f 3 -d ' ')

code=0
if [ ! "$EFIMountPoint" ]; then
Expand Down

0 comments on commit db59e98

Please sign in to comment.