{"id":477,"date":"2007-03-01T00:58:41","date_gmt":"2007-03-01T05:58:41","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/01\/maemo-30-on-fedora-core-6-n800-development-environment"},"modified":"2007-03-02T06:12:47","modified_gmt":"2007-03-02T11:12:47","slug":"maemo-30-on-fedora-core-6-n800-development-environment","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/01\/maemo-30-on-fedora-core-6-n800-development-environment","title":{"rendered":"Maemo 3.0 on Fedora Core 6 (N800 development environment)"},"content":{"rendered":"<p>Maemo 3.0 (Bora), and Scratchbox APOPHIS installs just fine on Fedora Core 6. Its important to probably follow the <a href=\"http:\/\/repository.maemo.org\/stable\/bora\/INSTALL.txt\">install documentation<\/a>, and do just a few other things.<\/p>\n<p>First of, it starts with the installation. If you&#8217;re on an x86_64 platform, it is suggested that you have some kind of <tt>chroot<\/tt> environment setup. In Debian land, you might find reading <a href=\"http:\/\/danielkitta.org\/howto\/maemo-amd64\">Maemo 2.0 on AMD64<\/a> handy, however in Fedora-land, there&#8217;s a great utility called <tt>setarch<\/tt>.<\/p>\n<p>SELinux should be disabled before installation. As root, type <tt>echo 0 &gt; \/selinux\/enforce<\/tt>. Then proceed to install via:<\/p>\n<pre>setarch i386sudo .\/maemo-scratchbox-install_3.0.sh -s \/opt\/scratchbox -u username<\/pre>\n<p>The above installs it to the path \/opt\/scratchbox, and adds username to the sbox group. Now, while in your i386 &#8220;chroot&#8221;, run, <tt>sudo \/opt\/scratchbox\/sbin\/sbox_ctl start<\/tt>, and try running <tt>\/opt\/scratchbox\/login<\/tt>. You should be greeted with a prompt like: <tt>[sbox-SDK_X86: ~]&gt;<\/tt>.<\/p>\n<p>Outside of Scratchbox (I suggest you exit it), run <tt>bash maemo-sdk-install_3.0.sh -s \/opt\/scratchbox<\/tt> (the -s specifies the path, if you installed it in \/scratchbox, its not necessary). Continue following on the instructions in the install documentation.<\/p>\n<p>Pull down Xephyr via YUM &#8211; its <code>xorg-x11-server-Xephyr<\/code>. Remember that all this won&#8217;t work unless you&#8217;re in the sbox group, so if things seem to be broken, run <tt>id<\/tt> and see if you can see that you&#8217;re a member of the sbox group.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/maemofc6.png\"><center><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"maemo on fc6\" src=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/maemofc6-small.png\" \/><\/center><\/a><\/p>\n<div align=\"center\"><small>Maemo running on Fedora Core 6<\/small><\/div>\n<p>At startup, just run <code>setarch i386<\/code>, then don&#8217;t forget to start scratchbox via <code>sudo \/opt\/scratchbox\/sbin\/sbox_ctl start<\/code>. Fire up Xephyr, via <code>Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac<\/code> (this should be done outside your setarch-ed environment), and then login to scratchbox, export the display to :2, and run <tt>af-sb-init.sh start<\/tt>. You should have the Maemo environment running now.<\/p>\n<p><strong>Update:<\/strong> <a href=\"http:\/\/etbe.blogspot.com\/\">Russell Coker<\/a> dropped me a line, and yes, while I don&#8217;t simply encourage the turning off, of SELinux, this was not implied by me. There&#8217;s a test in <tt>maemo-scracthbox-install_3.0.sh<\/tt> that checks on this (lines 420-427), and it recommends that it should be dropped to permissive mode. You can also obviously use the <tt>setenforce<\/tt> tool. Also, if you&#8217;re looking for a guide to Xephyr, he&#8217;s got a <a href=\"http:\/\/etbe.blogspot.com\/2007\/01\/xephyr.html\">resource<\/a> that&#8217;s pretty good.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maemo 3.0 (Bora), and Scratchbox APOPHIS installs just fine on Fedora Core 6. Its important to probably follow the install documentation, and do just a few other things. First of, it starts with the installation. If you&#8217;re on an x86_64 platform, it is suggested that you have some kind of chroot environment setup. In Debian [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-477","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-7H","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=477"}],"version-history":[{"count":0,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}