Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

narcissus: don't select a default machine, force user to do it

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
commit 568a3511898d41eab2f515d76885d57f6386e4c6 1 parent 4d4c410
@koenkooi koenkooi authored
Showing with 3 additions and 1 deletion.
  1. +1 −0  machine-list.html
  2. +2 −1  scripts/extract-supported-machines.sh
View
1  machine-list.html
@@ -1,6 +1,7 @@
<div id='machinelist'>
Select the machine you want to build your rootfs image for:<br/><br/>
<select name='machine' onChange='showValues();'>
+ <option value="invalid">--------</option>
<option value="beagleboard">beagleboard</option>
<option value="beaglebone">beaglebone</option>
<option value="qemuarm">qemuarm</option>
View
3  scripts/extract-supported-machines.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Narcissus - Online image builder for the angstrom distribution
-# Koen Kooi (c) 2010-2011 all rights reserved
+# Koen Kooi (c) 2010-2012 all rights reserved
# This script extracts metadata from the cache dir to use in e.g. manifests
@@ -12,6 +12,7 @@ fi
echo "<div id='machinelist'>" > machine-list.html
echo " Select the machine you want to build your rootfs image for:<br/><br/>" >> machine-list.html
echo " <select name='machine' onChange='showValues();'>" >> machine-list.html
+echo " <option value=\"invalid\">--------</option>" >> machine-list.html
for machine in $(find conf/ -name "arch.conf" | awk -F/ '{print $2}' | sort | uniq) ; do
echo " <option value=\"$machine\">$machine</option>" >> machine-list.html
Please sign in to comment.
Something went wrong with that request. Please try again.