{"id":54,"date":"2017-01-03T15:04:16","date_gmt":"2017-01-03T15:04:16","guid":{"rendered":"http:\/\/blogs.gentoo.org\/alicef\/?p=54"},"modified":"2017-01-03T15:28:53","modified_gmt":"2017-01-03T15:28:53","slug":"zenfone-gentoo-prefix-part2","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/alicef\/2017\/01\/03\/zenfone-gentoo-prefix-part2\/","title":{"rendered":"Zenfone gentoo prefix part2"},"content":{"rendered":"<p>In the end I bootstrap directly into stage3 and using chroot.<br \/>\nFor doing this is pretty straightforward and probably just busybox command is enough.<br \/>\nMake gentoo directory.<\/p>\n<pre class=\"code\">mkdir gentoo<\/pre>\n<p>Download stage3 i686 files.<\/p>\n<pre class=\"code\">wget http:\/\/distfiles.gentoo.org\/releases\/x86\/autobuilds\/current-stage3-i686\/stage3-i686-20161227.tar.bz2<\/pre>\n<p>Untar the file.<\/p>\n<pre class=\"code\">tar -vjxf *.tar.bz2 -C gentoo<\/pre>\n<p>Get in the chroot.<br \/>\nmaybe <code>ln -s \/proc\/self\/fd \/dev<\/code> is needed.<\/p>\n<pre class=\"code\">export GENTOO_ROOT=\"\/data\/data\/com.termux\/files\/home\/gentoo\/\"\r\ncp -L \/etc\/resolv.conf $GENTOO_ROOT\/etc\/\r\nmount -t proc proc $GENTOO_ROOT\/proc\r\nmount --rbind \/sys $GENTOO_ROOT\/sys\r\nmount --rbind \/dev $GENTOO_ROOT\/dev\r\n<\/pre>\n<p>unset LD_PRELOAD<\/p>\n<p>in make.conf i&#8217;m using<\/p>\n<p><code>FEATURES=\"-userfetch -sandbox -usersandbox\"<\/code><\/p>\n<p>next will be trying to install plasma mobile on Gentoo<\/p>\n<p><a href=\"https:\/\/github.com\/plasma-phone-packaging\">https:\/\/github.com\/plasma-phone-packaging<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the end I bootstrap directly into stage3 and using chroot. For doing this is pretty straightforward and probably just busybox command is enough. Make gentoo directory. mkdir gentoo Download stage3 i686 files. wget http:\/\/distfiles.gentoo.org\/releases\/x86\/autobuilds\/current-stage3-i686\/stage3-i686-20161227.tar.bz2 Untar the file. tar -vjxf *.tar.bz2 -C gentoo Get in the chroot. maybe ln -s \/proc\/self\/fd \/dev is needed. export &hellip; <a href=\"https:\/\/blogs.gentoo.org\/alicef\/2017\/01\/03\/zenfone-gentoo-prefix-part2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Zenfone gentoo prefix part2<\/span><\/a><\/p>\n","protected":false},"author":166,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[5,3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/users\/166"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":2,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/posts\/54\/revisions\/56"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/alicef\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}