X-Git-Url: http://git.steven-mcdonald.id.au/?p=android-debian.git;a=blobdiff_plain;f=README;fp=README;h=c29d20f71ab5a02b86bf62fa2e7071076ba93701;hp=e9402a0336f28b0b862e697a428d2111983f5da1;hb=d456d9bfcd7342cc93d6aa69d9837e37607e1863;hpb=bbf19fa155453f9473673349cfc334250fca0467 diff --git a/README b/README index e9402a0..c29d20f 100644 --- a/README +++ b/README @@ -1,5 +1,39 @@ +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.