pandora: workaround some reported problems

This commit is contained in:
notaz 2013-09-01 20:22:14 +03:00
parent 8d9b4b32d4
commit d9653efdf7
3 changed files with 17 additions and 6 deletions

View file

@ -1,7 +1,10 @@
#!/bin/sh
# 2x2M hugepages should be enough
sudo -n /usr/pandora/scripts/op_hugetlb.sh 4
# 3.2.30 on pandora has broken hugetlb
if [ "`uname -r`" != "3.2.30" ]; then
# 2x2M hugepages should be enough
sudo -n /usr/pandora/scripts/op_hugetlb.sh 4
fi
./PicoDrive "$@"