summary refs log tree commit diff
path: root/tests/guix-system.sh
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 23:39:43 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 23:39:43 -0400
commita9429c8f2207841c649438187d6e19046d323a16 (patch)
treea06e4b8a87b6a42742cf6750276746a10b6c2139 /tests/guix-system.sh
parentf0136b36ae8c1e9c174043bd50e0e24413c0f345 (diff)
parent49b350fafc2c3ea1db66461b73d4e304cd13ec92 (diff)
downloadguix-a9429c8f2207841c649438187d6e19046d323a16.tar.gz
Merge branch 'staging' into core-updates.
Diffstat (limited to 'tests/guix-system.sh')
-rw-r--r--tests/guix-system.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index 6aab1f380a..044fd131d6 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -1,5 +1,5 @@
 # GNU Guix --- Functional package management for GNU
-# Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+# Copyright © 2014-2022 Ludovic Courtès <ludo@gnu.org>
 # Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 # Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
 #
@@ -336,11 +336,15 @@ rm "$tmpdir/search"
 # Verify that the examples can be built.
 for example in gnu/system/examples/*.tmpl; do
     if echo "$example" | grep hurd; then
-        target="--target=i586-pc-gnu"
+        options="--target=i586-pc-gnu"
+    elif echo "$example" | grep asus; then
+	# 'asus-c201.tmpl' uses 'linux-libre-arm-generic', which is an
+	# ARM-only package.
+        options="--system=armhf-linux"
     else
-        target=
+	options=""
     fi
-    guix system -n disk-image $target "$example"
+    guix system -n disk-image $options "$example"
 done
 
 # Verify that the images can be built.