SharkBait-setup performs setup of a device to run Android as a container in Gentoo. It's made up of the following two parts:
decrypt.shdisables force encryption that's present on the device, which preventspreinitfrom finding the Gentoo root and mounting it.deploy.shwill be installed on the system assharkbait-deployand will set up the LXC root and mounts.
Basically the deploy.sh part is an automatic reproduction of the results in the blog article on how to start LXC in Android. Read deploy.sh along with the article to understand the internals of SharkBait-setup.
Ports to other devices are strongly welcomed! Read the SharkBait-setup section in the Porter's Guide for more information.