segunda-feira, 31 de janeiro de 2011

Create a custom MADDE target for MeeGo

Prerequisites:

  • Create SDK Meego image
You should get a base MeeGo sysroot KickStart file to make your changes above it. The MeeGo SDK KickStart files are available at http://meego.gitorious.org/meego-os-base/image-configurations/trees/MeeGo1.1/SDK. We chose the core-armv7l-madde-sysroot.ks file (ARM architecture) as our start point. You can change the KickStart file as described at http://oss.signove.com/. The modified '''sysroot''' MeeGo image can be created with the following command:

$mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch=armv7l --config=core-armv7l-madde-sysroot.ks --package=tar.bz2
  • Add the image to MADDE
The script ma-create-target-from-image.sh should be used to add the modified target to MADDE, it is available at ma-create-target-from-image.sh. We have to modify the original script since it is not supported by MeeGo anymore. It follows the command line to create the MADDE target using the script:

$sudo ./ma-create-target-from-image.sh /full/path/image/meego-core-armv7l-madde-sysroot-1.1.20101213.0940-fs.tar.bz2

NOTE1: do not use relative path to MADDE image file, always use absolute path
NOTE2: the script only works with tar.bz2 files

You can check if the target was successfully installed using ''mad-adim list'' command:

$ mad-admin list

Targets:
fremantle-1030                                       (installable)
maemo412-1                                           (installable)
meego-core-armv7l-1.1                                (installable)
meego-core-armv7l-trunk                              (installable)
meego-core-ia32-1.1                                  (installable)
meego-core-ia32-trunk                                (installable)
meego-handset-ia32-1.1                               (installable)
meego-handset-ia32-trunk                             (installable)
meego-netbook-ia32-1.1                               (installed)
meego-netbook-ia32-trunk                             (installable)
meego-core-armv7l-madde-sysroot-1.1.20101213.0940-fs (installed)

Nenhum comentário:

Postar um comentário