This article focuses on the MeegoSDK installation and testing issues in MeegoSDK development. MeegoSDK includes the Meegochroot environment, which contains a basic simulator of xephyr on MeegoSDK for Linux only, some scripts start/stop an internal xephyr Meego desktop and Qt creator, and can be configured and deployed to a remote Meego device.
MeegoSDK installation and testing in Meego Development
MeegoSDK includes:
Meegochroot environment, which contains a Meego application for Linux only) on xephyr basic http://www.freedesktop.org/wiki/Software/Xephyr) simulator, some scripts to start/stop an internal xephyr Meego desktop, and Qt creator, deploy to a remote Meego Device
The script under the chroot of Meego-SDK can be run in the Meegochroot environment of the simulator and Qt creator.
The simplest way to install MeegoSDK is to download and install the encapsulated version of these components, as described below.
Prerequisites
All internal running of xephyr requires reasonable Meego for modern Linux distributions such as Fedora 11, Ubuntu9.10) to run on Intel hardware. The hardware must comply with the following requirements:
Processor: 32-bit intel R) AtomTM) or Intel R) Core trademark) 2 CPUs
Install chroot of Meego
Meego's chroot archive is a file larger than MB. It contains almost all the databases. The full Meego allocation plus some other things, xephyr's, scripts, and Qt creators ):
Wgethttp: // download3.Meego.com/Meego-sdk-0524.tar.bz2
Decompress the chroot of Meego in the archive file:
0524.tar.bz2 of Jiaozuo jxvfmeego-sdk
Install the script under the chroot of Meego-SDK in Meego Development
The script in the chroot of the Meego-SDK sets the chroot environment mount point, and then the chroot is started correctly. It also tries to unload everything when it exits and cleans up any process starting at chroot. Obtain it:
Wget http://download3.Meego.com/Meego-sdk-chroot
Make the script executable chroot:
Use chmod + xMeego-SDK under chroot
Move to/usr/bin:
In the chroot/usr/bin of the Meego-SDK
◆ Prepare the simulator for configuring the host
Next, configure X on the host so that the simulator runs under the chroot) to access the normal display of the User:
Xhost and + local:
You need to perform a simulation or Qt creation before running after each boot .)
◆ Input the Meegochroot Environment
The Meego-SDK chroot script sets a Meegochroot environment and discards it to a shell. You:
Sugen Meego-SDK's chroot ~/Meego-SDK's 0524
Replace ~/with 0524 of Meego-SDK In the chroot directory)
Note that the chroot command used here may not be used for the chroot command of the root PATH in Fedora in the/usr/sbin directory ). You can add an alias to the top of the script under the chroot of Meego-SDK:
Alias chroot = '/usr/sbin directory/chroot'
The output from running the script should look like this:
- Mount-bind/proc/home/ell/Meego-sdk-0524/procmount-bind
-
- /Sys/home/ell/Meego-sdk-0524/sysmount-bound/
-
- Dev/home/ell/Meego-sdk-0524/devmount-bound/dev/points/home/ell/Meego-sdk-0524/dev/ptsmount-
-
- Bind/tmp directory/home/ell/Meego-sdk-0524/tmpmount-bind/reactive/lib/secrets/home/ell/Meego-sdk-0524/var/lib/dbusmount-
-
- Bind/reactive/run/secrets/home/ell/Meego-sdk-0524/var/run/dbuscp/etc/resolv. conf/
-
- Home/ell/Meego-sdk-0524/etc/resolv. confroot @ Meego-netbook-sdk :/#
-
Install other software in Meego Development
It can be installed in the standard position at least it is on the netbook image software to the chroot ).
Enter chroot and run: zypper to install <package>
It should also be able to improve the usage of the entire Meego image:
Zypper's dist-upgrade
◆ Set the host display before the simulator runs
Xephyr does not see the environment variables displayed from the host system because it is run under chroot. Because in chroot, set "startMeego" to call the DISPLAY variable of xephyr before running.
Outlet display =: 0
Running Simulator
Run startMeego as root from the internal chroot.
This will start the xephyr server, and then run a script to start it to its Meego desktop.
If you want to run the chroot application and display it in the simulator window, you can run the following command to replace glxgears with glxgears: Display =: 2 ).
Debugging Simulator
If you have a problem with the simulator, use the debugging script to see what happened:
StartMeego debugging
This indicates that from the script console, this may give you some clues, if it is abnormal output.