Andes Workshop
http://forum.andestech.com/

Build ramdisk error in Ubuntu 12.04
http://forum.andestech.com/viewtopic.php?f=16&t=821
Page 1 of 1

Author:  ianfeng [ Tue Apr 08, 2014 12:04 pm ]
Post subject:  Build ramdisk error in Ubuntu 12.04

In Ubuntu 12.04, when building ramdisk
in running shell script step "sh -x build_busybox.sh -EL -install ../disk",
it will display "unexpected operator" error.
Attachment:
e1.jpg
e1.jpg [ 54.72 KiB | Viewed 3266 times ]


It is due to the default "sh" is linking to "dash" which is more lightweight than "bash" command.
Change "sh" command to link to "bash".
$ sudo ln -sf /bin/bash /bin/sh
Attachment:
chln.jpg
chln.jpg [ 56.36 KiB | Viewed 3265 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/