提交 d5891765 编写于 作者: S Simon Fels

Further improvements for the snap packaging

上级 fb5ca57c
...@@ -6,43 +6,40 @@ description: | ...@@ -6,43 +6,40 @@ description: |
in a container using Linux namespaces (user, ipc, net, mount) to in a container using Linux namespaces (user, ipc, net, mount) to
separate the Android system fully from the host. separate the Android system fully from the host.
confinement: devmode confinement: devmode
grade: devel
apps: apps:
anbox: anbox:
command: bin/anbox-wrapper.sh command: bin/anbox-wrapper.sh run
container-manager: container-manager:
command: bin/anbox-wrapper.sh container-manager command: bin/container-manager.sh
# daemon: simple # daemon: simple
setup-rootfs:
command: bin/setup-rootfs.sh
shell:
command: bin/container-shell.sh
sh:
command: bin/shell.sh
start-container:
command: bin/start-container.sh
parts: parts:
android-rootfs: android-rootfs:
plugin: dump plugin: copy
source: . source: .
snap: files:
- anbox-android-rootfs.tar android-rootfs.tar: android-rootfs.tar
anbox-common: anbox-common:
plugin: dump plugin: copy
source: . source: .
organize: files:
scripts/snap-wrapper.sh: bin/anbox-wrapper.sh scripts/snap-wrapper.sh: bin/anbox-wrapper.sh
scripts/setup-rootfs.sh: bin/setup-rootfs.sh scripts/container-manager.sh: bin/container-manager.sh
scripts/container-shell.sh: bin/container-shell.sh
scripts/shell.sh: bin/shell.sh
scripts/start-container.sh: bin/start-container.sh
snap: snap:
- bin/anbox-wrapper.sh - bin/anbox-wrapper.sh
- bin/setup-rootfs.sh - bin/container-manager.sh
- bin/container-shell.sh kernel-module-binder:
- bin/shell.sh plugin: make
- bin/start-container.sh source: kernel/binder
snap:
- binder_linux.ko
kernel-module-ashmem:
plugin: make
source: kernel/ashmem
snap:
- ashmem_linux.ko
lxc: lxc:
source: git://github.com/morphis/lxc source: git://github.com/morphis/lxc
source-branch: snappy-support source-branch: snappy-support
...@@ -63,7 +60,7 @@ parts: ...@@ -63,7 +60,7 @@ parts:
- --disable-api-docs - --disable-api-docs
- --disable-bash - --disable-bash
- --disable-cgmanager - --disable-cgmanager
# FIXME: Enable again once stacked AppArmor support landed # FIXME: Enable again once stacked AppArmor support has landed
- --disable-apparmor - --disable-apparmor
- --disable-seccomp - --disable-seccomp
- --enable-capabilities - --enable-capabilities
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册