(→Overview) |
(→Usage and examples) |
||
| Line 18: | Line 18: | ||
<pre>./meego-sdk-update-target</pre> | <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 | + | <li>The tool only supports Handset and Netbook as targets at this stage.</li> |
<li>The tool is a shell script and free to change for your convenience.</li> | <li>The tool is a shell script and free to change for your convenience.</li> | ||
</ol> | </ol> | ||
| Line 37: | Line 37: | ||
<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> | </ol> | ||
| + | |||
== Create your own target (sysroot and runtime) == | == Create your own target (sysroot and runtime) == | ||
* The sysroot has to be a tar.gz or tar.bz2 and can be generated by adding following command parameters to mic2: | * The sysroot has to be a tar.gz or tar.bz2 and can be generated by adding following command parameters to mic2: | ||
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 handset -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
mad-admin list
to get target_name and runtime_name and then run following to remove it.
sudo mad-admin remove target_name sudo mad-admin remove runtime_name
But using above 2 commands will not totally remove the cached and already generated files for the target. To remove all of them to save disk space, you need to remove the related folder in /usr/lib/madde/linux-i686/runtimes, /usr/lib/madde/linux-i686/sysroots and the tarball file in /usr/lib/madde/linux-i686/cache. You may also remove the related madde configuration files from /usr/lib/madde/linux-i686/cache/madde.conf.d/ so the "mad-admin list" will not show them again.