projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
80fae65
)
Merge branch 'version' of https://github.com/adrelanos/grml-debootstrap
author
Michael Prokop
<mika@grml.org>
Mon, 24 Feb 2014 14:39:19 +0000
(15:39 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 24 Feb 2014 14:39:19 +0000
(15:39 +0100)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
0c0df3f
..
147465a
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-792,6
+792,16
@@
else
fi
# }}}
+# It is not possible to build amd64 on i686. {{{
+CURRENT_ARCH="$(uname -m)"
+if [ "$CURRENT_ARCH" != "x86_64" ] ; then
+ if [ "$ARCH" = "amd64" ] ; then
+ eerror "It is not possible to build amd64 on $CURRENT_ARCH." ; eend 1
+ bailout 1
+ fi
+fi
+# }}}
+
checkconfiguration
# finally make sure at least $TARGET is set [the partition for the new system] {{{