mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
commit
fcc9328138
@ -1,5 +1,5 @@
|
||||
|
||||
ARPL_VERSION="0.3-alpha5"
|
||||
ARPL_VERSION="0.3-alpha6"
|
||||
|
||||
# Define paths
|
||||
TMP_PATH="/tmp"
|
||||
|
@ -63,6 +63,7 @@ function modelMenu() {
|
||||
M="`basename ${M}`"
|
||||
M="${M::-4}"
|
||||
PLATFORM=`readModelKey "${M}" "platform"`
|
||||
DT="`readModelKey "${M}" "dt"`"
|
||||
# Check id model is compatible with CPU
|
||||
COMPATIBLE=1
|
||||
for F in `readModelArray "${M}" "flags"`; do
|
||||
@ -71,9 +72,10 @@ function modelMenu() {
|
||||
break
|
||||
fi
|
||||
done
|
||||
[ ${COMPATIBLE} -eq 1 ] && ITEMS+="${M} ${PLATFORM} "
|
||||
[ "${DT}" = "true" ] && DT="-DT" || DT=""
|
||||
[ ${COMPATIBLE} -eq 1 ] && ITEMS+="${M} \Zb${PLATFORM}${DT}\Zn "
|
||||
done < <(find "${MODEL_CONFIG_PATH}" -maxdepth 1 -name \*.yml | sort)
|
||||
dialog --backtitle "`backtitle`" --menu "Choose the model" 0 0 0 \
|
||||
dialog --backtitle "`backtitle`" --colors --menu "Choose the model" 0 0 0 \
|
||||
${ITEMS} 2>${TMP_PATH}/resp
|
||||
[ $? -ne 0 ] && return
|
||||
resp=$(<${TMP_PATH}/resp)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -73,7 +73,8 @@ echo "Version: ${VERSION}"
|
||||
echo "Building... Drink a coffee and wait!"
|
||||
make BR2_EXTERNAL=../external
|
||||
cd -
|
||||
qemu-img convert -O vmdk arpl.img arpl.vmdk
|
||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arpl.img arpl.vmdk
|
||||
#qemu-img convert -O vmdk -o adapter_type=lsilogic arpl.img -o subformat=monolithicFlat arpl.vmdk
|
||||
[ -x test.sh ] && ./test.sh
|
||||
rm -f *.zip
|
||||
zip -9 "arpl-${VERSION}.img.zip" arpl.img
|
||||
|
Loading…
x
Reference in New Issue
Block a user