(→Usage) |
|||
| Line 16: | Line 16: | ||
* Get help | * Get help | ||
<ol> | <ol> | ||
| - | + | <pre>./meego-sdk-update-target</pre> | |
<li>There are some options set with default value if they are not specified on command line. You can change them for your convenience.</li> | <li>There are some options set with default value if they are not specified on command line. You can change them for your convenience.</li> | ||
<li>The tool only support Handset and Netbook as targets at this stage.</li> | <li>The tool only support Handset and Netbook as targets at this stage.</li> | ||
| Line 23: | Line 23: | ||
* To update with a new Handset MeeGo trunk build 1.1.80.13.20110104.1 from http://repo.meego.com/MeeGo/builds/trunk/ | * To update with a new Handset MeeGo trunk build 1.1.80.13.20110104.1 from http://repo.meego.com/MeeGo/builds/trunk/ | ||
<ol> | <ol> | ||
| - | + | <pre>sudo meego-sdk-update-target -u 1.1.80.13.20110104.1 -url http://repo.meego.com/MeeGo/builds/trunk</pre> | |
| - | + | </ol> | |
* To update with a new Netbook MeeGo trunk-daily build trunk-daily-1.1.80.12.20101223.1 from http://download.meego.com/trunk-daily/builds/1.1.80 | * To update with a new Netbook MeeGo trunk-daily build trunk-daily-1.1.80.12.20101223.1 from http://download.meego.com/trunk-daily/builds/1.1.80 | ||
<ol> | <ol> | ||
| - | + | <pre>sudo meego-sdk-update-target -d netbook -u trunk-daily-1.1.80.12.20101223.1 -url http://download.meego.com/trunk-daily/builds/1.1.80</pre> | |
| - | + | </ol> | |
* To update with a new Handset MeeGo testing-daily build testing-daily-1.1.80.13.20110104.1 from http://download.meego.com/testing-daily/builds/1.1.80 | * To update with a new Handset MeeGo testing-daily build testing-daily-1.1.80.13.20110104.1 from http://download.meego.com/testing-daily/builds/1.1.80 | ||
<ol> | <ol> | ||
| - | + | <pre>sudo meego-sdk-update-target -d -u testing-daily-1.1.80.13.20110104.1 -url http://download.meego.com/testing-daily/builds/1.1.80</pre> | |
| - | + | </ol> | |
* To update with a new Handset MeeGo target with specific sysroot and runtime tarball files, you need to provide a name of the target with "-u" option. | * To update with a new Handset MeeGo target with specific sysroot and runtime tarball files, you need to provide a name of the target with "-u" option. | ||
<ol> | <ol> | ||
| - | |||
<pre>sudo meego-sdk-update-target -u my-target -sysroot url_to_sysroot_tar.gz -runtime url_to_runtime_tar.bz2</pre> | <pre>sudo meego-sdk-update-target -u my-target -sysroot url_to_sysroot_tar.gz -runtime url_to_runtime_tar.bz2</pre> | ||
| - | </ | + | </ol> |
| - | + | == To create your own sysroot and runtime == | |
| + | * The sysroot has to be a tar.gz or tar.bz2 and can be generated by adding commands parameters to mic2: | ||
| + | <ol> | ||
<pre>mic-image-creator --format=fs --package=tar.gz ...</pre> | <pre>mic-image-creator --format=fs --package=tar.gz ...</pre> | ||
| - | </ | + | </ol> |
| - | + | * The runtime has to be a tar.gz or tar.bz2 and can be generated by adding following commands parameters to mic2: | |
| + | <ol> | ||
<pre>mic-image-creator --format=raw --package=tar.bz2 --release=release_no --compress-disk-image=none ...</pre> | <pre>mic-image-creator --format=raw --package=tar.bz2 --release=release_no --compress-disk-image=none ...</pre> | ||
| - | </ | + | </ol> |
| - | < | + | * Please check help of mic-image-creator for detailed explanation of those options. |
| - | + | <ol> | |
| + | <pre>mic-image-creator --help</pre> | ||
| + | </ol> | ||
| + | * You can find the ks file to create MeeGo sysroot and runtime at http://meego.gitorious.org/meego-os-base/image-configurations/trees/master/. | ||
Contents |
./meego-sdk-update-target
sudo meego-sdk-update-target -u 1.1.80.13.20110104.1 -url http://repo.meego.com/MeeGo/builds/trunk
sudo meego-sdk-update-target -d netbook -u trunk-daily-1.1.80.12.20101223.1 -url http://download.meego.com/trunk-daily/builds/1.1.80
sudo meego-sdk-update-target -d -u testing-daily-1.1.80.13.20110104.1 -url http://download.meego.com/testing-daily/builds/1.1.80
sudo meego-sdk-update-target -u my-target -sysroot url_to_sysroot_tar.gz -runtime url_to_runtime_tar.bz2
mic-image-creator --format=fs --package=tar.gz ...
mic-image-creator --format=raw --package=tar.bz2 --release=release_no --compress-disk-image=none ...
mic-image-creator --help