summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-23 22:28:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-23 22:28:04 +0100
commit86d7ffda38b870dc96035feb4788ae1589aab11c (patch)
treef059bcc2b8a26525e791c12e3ea4f28d0bd77822 /package/base-files
parent488a2ab4bcb764ee9f4c50cbe31627b6e0c7d881 (diff)
optimize foxg20 target
- make cfgfs work, a small busybox fdisk patch needed - make adkinstall and adkupdate work
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 6c2f58006..bc1082b1c 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -27,6 +27,8 @@ prepare() {
mount -o remount,rw /
if [ "$system" == "RB532" ];then
mount -t yaffs2 /dev/mtdblock0 /boot
+ elif [ "$system" == "FOXG20" ];then
+ mount -t vfat /dev/mmcblk0p1 /boot
fi
}
@@ -78,6 +80,8 @@ sync
mount -o bind /etc /tmp/.cfgfs/root
if [ "$system" == "RB532" ];then
umount -f /boot
+elif [ "$system" == "FOXG20" ];then
+ umount -f /boot
fi
echo "Update sucessful. You should reboot now."