Introduction ------------ These scripts are intended to ease the process of bootstrapping a Debian chroot on an Android device. Instructions for installing such a chroot may be found at: http://www.steven-mcdonald.id.au/tutorials/debian_on_samsung_galaxy.shtml Overview -------- These scripts come in pairs; the ones under android/ are to be executed in an Android environment, and the ones under debian/ get executed in a chroot by the Android scripts. These scripts are ready to roll if: - your Debian chroot lives in /debian, - you place the scripts under android/ in /data/local/bin/, and - you place the scripts under debian/ in /debian/usr/local/sbin/. If this is not the case, then you will need to modify these scripts to work for you. Starting Debian services at boot time ------------------------------------- In order to run the debian-init script at boot time, you can add the following to /system/etc/init.local.rc: service debian /data/local/bin/debian-init user root group root For some reason, Android's init won't start Debian if supplied with the 'oneshot' option, so do not use that.