Code Review
/
ta
/
build-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
DIB: Add custom block-device-efi element
[ta/build-tools.git]
/
dib_elements
/
block-device-efi
/
environment.d
/
15-block-device.bash
diff --git a/dib_elements/block-device-efi/environment.d/15-block-device.bash
b/dib_elements/block-device-efi/environment.d/15-block-device.bash
new file mode 100644
(file)
index 0000000..
ad8a267
--- /dev/null
+++ b/
dib_elements/block-device-efi/environment.d/15-block-device.bash
@@ -0,0
+1,10
@@
+#
+# Arch gate
+#
+
+if [[ "ppc64 ppc64le ppc64el" =~ "$ARCH" ]]; then
+ echo "block-device-efi is not supported on Power; use block-device-gpt or block-device-mbr"
+ exit 1
+fi
+
+export DIB_BLOCK_DEVICE=efi