Extend snap packaging with further details

This commit is contained in:
Simon Fels 2016-08-22 21:58:09 +02:00
commit 117111ce20
8 changed files with 198 additions and 44 deletions

10
scripts/container-shell.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
$SNAP/bin/lxc-attach \
--lxcpath=$SNAP_COMMON/var/lib/anbox/containers \
--name default \
--clear-env \
--set-var PATH=/system/bin:/system/sbin:/system/xbin \
--set-var ANDROID_DATA=/data \
-- \
/system/bin/sh