jyio / botbrew-gui

Android GUI for BotBrew
49 stars 19 forks source link

implement "anise" compatibility #16

Open jyio opened 12 years ago

jyio commented 12 years ago

BotBrew "anise" lives entirely within /data/botbrew and is mounted at /botbrew. Supporting "anise" packages should be as simple as moving it to /data/botbrew-basil/botbrew and continuing to mount it at /botbrew.

Additional mounts might enhance the experience:

/data/botbrew-basil/etc => /botbrew/etc
/data/botbrew-basil/run => /botbrew/run
/data/botbrew-basil/lib/arm-linux-androideabi => /botbrew/lib (for ARM)
/data/botbrew-basil/lib/mips-linux-android => /botbrew/lib (for MIPS)
/data/botbrew-basil/lib/i686-android-linux => /botbrew/lib (for x86)

With these mounts, "android-native" software should work as usual, both inside the chroot and outside.

As far as packaging is concerned: multiarch support should allow the same libraries to be installed from both Debian and BotBrew, as long as they have different architecture names and install to different locations.