Rework debian packaging to include things from anbox-installer
This commit is contained in:
parent
5ecc7ca52b
commit
432bb8d58b
24 changed files with 498 additions and 82 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -13,3 +13,9 @@ CMakeLists.txt.user
|
||||||
*.mod.o
|
*.mod.o
|
||||||
modules.order
|
modules.order
|
||||||
.tmp_versions
|
.tmp_versions
|
||||||
|
|
||||||
|
debian/anbox-modules-dkms.debhelper.log
|
||||||
|
debian/anbox-modules-dkms.substvars
|
||||||
|
debian/anbox-modules-dkms/
|
||||||
|
debian/debhelper-build-stamp
|
||||||
|
debian/files
|
||||||
|
|
|
||||||
1
Makefile
Normal file
1
Makefile
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
all:
|
||||||
6
data/anbox.conf.in
Normal file
6
data/anbox.conf.in
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
start on started dbus
|
||||||
|
|
||||||
|
respawn
|
||||||
|
respawn limit 10 5
|
||||||
|
|
||||||
|
exec @SNAP_MOUNT_DIR@/anbox session-manager
|
||||||
8
data/anbox.service.in
Normal file
8
data/anbox.service.in
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Anbox session manager
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=@SNAP_MOUNT_DIR@/anbox session-manager
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
11
data/xsession.conf
Normal file
11
data/xsession.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# This file is sourced by Xsession(5), not executed.
|
||||||
|
# Add additional anbox desktop path
|
||||||
|
if [ -z "$XDG_DATA_DIRS" ]; then
|
||||||
|
# 60x11-common_xdg_path does not always set XDG_DATA_DIRS
|
||||||
|
# so we ensure we have sensible defaults here (LP: #1575014)
|
||||||
|
# as a workaround
|
||||||
|
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:$HOME/snap/anbox/common/app-data
|
||||||
|
else
|
||||||
|
XDG_DATA_DIRS="$XDG_DATA_DIRS":$HOME/snap/anbox/common/app-data
|
||||||
|
fi
|
||||||
|
export XDG_DATA_DIRS
|
||||||
3
debian/anbox-common.install
vendored
Normal file
3
debian/anbox-common.install
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
etc/X11/Xsession.d/68anbox
|
||||||
|
usr/share/upstart/sessions/anbox.conf
|
||||||
|
usr/lib/systemd/user/anbox.service
|
||||||
3
debian/anbox-modules-dkms.install
vendored
Normal file
3
debian/anbox-modules-dkms.install
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
usr/src/anbox-modules-*
|
||||||
|
etc/modules-load.d
|
||||||
|
lib/udev/rules.d
|
||||||
13
kernel/debian/changelog → debian/changelog
vendored
13
kernel/debian/changelog → debian/changelog
vendored
|
|
@ -1,17 +1,24 @@
|
||||||
anbox-modules-dkms (4) zesty; urgency=medium
|
anbox (5) zesty; urgency=medium
|
||||||
|
|
||||||
|
* Rework packaging to also ship things we installed through the snap
|
||||||
|
based installer before.
|
||||||
|
|
||||||
|
-- Simon Fels <morphis@gravedo.de> Thu, 20 Apr 2017 19:58:22 +0200
|
||||||
|
|
||||||
|
anbox (4) zesty; urgency=medium
|
||||||
|
|
||||||
* Fetch dkms version from debian package in post-install step.
|
* Fetch dkms version from debian package in post-install step.
|
||||||
|
|
||||||
-- Simon Fels <morphis@gravedo.de> Thu, 23 Feb 2017 19:12:15 +0100
|
-- Simon Fels <morphis@gravedo.de> Thu, 23 Feb 2017 19:12:15 +0100
|
||||||
|
|
||||||
anbox-modules-dkms (3) zesty; urgency=medium
|
anbox (3) zesty; urgency=medium
|
||||||
|
|
||||||
* Use correct package version in our Makefile to avoid failing module
|
* Use correct package version in our Makefile to avoid failing module
|
||||||
builds on the target device.
|
builds on the target device.
|
||||||
|
|
||||||
-- Simon Fels <morphis@gravedo.de> Tue, 21 Feb 2017 07:36:45 +0100
|
-- Simon Fels <morphis@gravedo.de> Tue, 21 Feb 2017 07:36:45 +0100
|
||||||
|
|
||||||
anbox-modules-dkms (1) xenial; urgency=low
|
anbox (1) xenial; urgency=low
|
||||||
|
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
|
||||||
0
kernel/debian/compat → debian/compat
vendored
0
kernel/debian/compat → debian/compat
vendored
29
debian/control
vendored
Normal file
29
debian/control
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
Source: anbox
|
||||||
|
Section: misc
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Simon Fels <morphis@gravedo.de>
|
||||||
|
Build-Depends: debhelper (>= 7), dkms, dh-systemd
|
||||||
|
Standards-Version: 3.9.7
|
||||||
|
Homepage: http://anbox.io
|
||||||
|
Vcs-Browser: https://github.com/anbox/anbox
|
||||||
|
Vcs-Git: https://github.com/anbox/anbox.git
|
||||||
|
|
||||||
|
Package: anbox-common
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Description: Common files necessary for Anbox
|
||||||
|
.
|
||||||
|
This package contains necessary things which can't be shipped
|
||||||
|
with anbox snap package
|
||||||
|
|
||||||
|
Package: anbox-modules-dkms
|
||||||
|
Architecture: all
|
||||||
|
Depends: dkms (>= 1.95), ${misc:Depends}
|
||||||
|
# Get existing installations to install the anbox-common package
|
||||||
|
# as this will replace our existing classic snap based install
|
||||||
|
# approach.
|
||||||
|
Recommends: anbox-common
|
||||||
|
Description: Android kernel driver (binder, ashmem) in DKMS format.
|
||||||
|
.
|
||||||
|
This package contains a out-of-tree version of the core Android
|
||||||
|
kernel functionalities binder and ashmem.
|
||||||
374
debian/copyright
vendored
Normal file
374
debian/copyright
vendored
Normal file
|
|
@ -0,0 +1,374 @@
|
||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: anbox
|
||||||
|
Source: http://github.com/anbox/anbox
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: android/*
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: android/appmgr/src/org/anbox/appmgr/AppViewActivity.java
|
||||||
|
android/appmgr/src/org/anbox/appmgr/LauncherActivity.java
|
||||||
|
android/appmgr/src/org/anbox/appmgr/LauncherService.java
|
||||||
|
android/appmgr/src/org/anbox/appmgr/MainApplication.java
|
||||||
|
android/appmgr/src/org/anbox/appmgr/PackageEventReceiver.java
|
||||||
|
android/appmgr/src/org/anbox/appmgr/PlatformService.java
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: android/appmgr/src/org/anbox/appmgr/GridFragment.java
|
||||||
|
Copyright: 2012, Loupe Inc
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: android/hwcomposer/*
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: android/service/*
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: cross-compile-chroot.sh
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: external/android-emugl/*
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: external/android-emugl/host/include/ETC1/*
|
||||||
|
Copyright: 2009, Google Inc
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: external/android-emugl/host/libs/Translator/GLcommon/etc1.cpp
|
||||||
|
Copyright: 2009, Google Inc
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: external/android-emugl/host/libs/Translator/include/GLcommon/etc1.h
|
||||||
|
Copyright: 2009, Google Inc
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: external/nsexec/*
|
||||||
|
Copyright: 2012-2016, Canonical, Inc
|
||||||
|
License: GPL-2
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/include/*
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/include/core/testing/*
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/include/core/testing/fork_and_run.h
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/src/*
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/src/core/posix/*
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: external/process-cpp-minimal/src/core/testing/fork_and_run.cpp
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: external/xdg/*
|
||||||
|
Copyright: 2015, Thomas Voß <thomas.voss.bochum@gmail.com>
|
||||||
|
License: LGPL-3+
|
||||||
|
|
||||||
|
Files: kernel/*
|
||||||
|
Copyright: 2008-2012 Google Inc.
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: kernel/ashmem/ashmem.c
|
||||||
|
Copyright: 2007, 2008, 2012, Google, Inc
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: kernel/ashmem/ashmem.h
|
||||||
|
Copyright: 2008, Google Inc
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: kernel/ashmem/uapi/*
|
||||||
|
Copyright: 2008, Google Inc
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: kernel/binder/binder.c
|
||||||
|
kernel/binder/binder_trace.h
|
||||||
|
Copyright: 2007, 2008, 2012, Google, Inc
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: kernel/binder/binder.h
|
||||||
|
Copyright: 2008, Google, Inc
|
||||||
|
2005, Palmsource, Inc
|
||||||
|
License: GPL-2
|
||||||
|
Copyright (C) 2008-2012 Google, Inc.
|
||||||
|
.
|
||||||
|
This software is licensed under the terms of the GNU General Public
|
||||||
|
License version 2, as published by the Free Software Foundation, and
|
||||||
|
may be copied, distributed, and modified under those terms.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Files: scripts/*
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: scripts/setup-partial-chroot.sh
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/*
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/cli.cpp
|
||||||
|
src/anbox/cli.h
|
||||||
|
src/anbox/not_reachable.cpp
|
||||||
|
src/anbox/not_reachable.h
|
||||||
|
src/anbox/optional.h
|
||||||
|
src/anbox/version.cpp
|
||||||
|
src/anbox/version.h
|
||||||
|
Copyright: 2016, Canonical, Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/cmds/system_info.cpp
|
||||||
|
src/anbox/cmds/system_info.h
|
||||||
|
Copyright: 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/cmds/version.cpp
|
||||||
|
src/anbox/cmds/version.h
|
||||||
|
Copyright: 2016, Canonical, Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/common/dispatcher.cpp
|
||||||
|
src/anbox/common/dispatcher.h
|
||||||
|
Copyright: 2016, Canonical, Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/common/fd.cpp
|
||||||
|
src/anbox/common/fd.h
|
||||||
|
src/anbox/common/variable_length_array.h
|
||||||
|
src/anbox/common/wait_handle.cpp
|
||||||
|
src/anbox/common/wait_handle.h
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/common/fd_sets.h
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/common/message_channel.cpp
|
||||||
|
src/anbox/common/message_channel.h
|
||||||
|
src/anbox/common/type_traits.h
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/common/scope_ptr.h
|
||||||
|
src/anbox/common/small_vector.h
|
||||||
|
Copyright: 2014, 2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/dbus/codecs.h
|
||||||
|
Copyright: 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/buffer_queue.cpp
|
||||||
|
src/anbox/graphics/buffer_queue.h
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/emugl/*
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/emugl/DisplayManager.cpp
|
||||||
|
src/anbox/graphics/emugl/DisplayManager.h
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/emugl/Renderable.cpp
|
||||||
|
src/anbox/graphics/emugl/Renderable.h
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/primitives.h
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/graphics/program_family.cpp
|
||||||
|
src/anbox/graphics/program_family.h
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/logger.cpp
|
||||||
|
src/anbox/logger.h
|
||||||
|
Copyright: 2015, Canonical, Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/network/base_socket_messenger.cpp
|
||||||
|
src/anbox/network/base_socket_messenger.h
|
||||||
|
src/anbox/network/connection_context.h
|
||||||
|
src/anbox/network/connections.h
|
||||||
|
src/anbox/network/message_receiver.h
|
||||||
|
src/anbox/network/message_sender.h
|
||||||
|
src/anbox/network/socket_connection.cpp
|
||||||
|
src/anbox/network/socket_connection.h
|
||||||
|
src/anbox/network/socket_messenger.h
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/network/fd_socket_transmission.cpp
|
||||||
|
src/anbox/network/fd_socket_transmission.h
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/protobuf/*
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/rpc/channel.cpp
|
||||||
|
Copyright: 2016, Simon Fels <morphis@gravedo.de>
|
||||||
|
2012, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/rpc/make_protobuf_object.h
|
||||||
|
src/anbox/rpc/pending_call_cache.cpp
|
||||||
|
src/anbox/rpc/pending_call_cache.h
|
||||||
|
Copyright: 2012-2016, Canonical Ltd
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/rpc/template_message_processor.h
|
||||||
|
Copyright: 2012-2015, Canonical Ltd
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: src/anbox/testing/*
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: src/anbox/utils/*
|
||||||
|
Copyright: 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: LGPL-3
|
||||||
|
|
||||||
|
Files: tests/*
|
||||||
|
Copyright: 2016, 2017, Simon Fels <morphis@gravedo.de>
|
||||||
|
License: GPL-3
|
||||||
|
|
||||||
|
Files: tests/anbox/common/*
|
||||||
|
Copyright: 2014, 2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: tests/anbox/common/message_channel_tests.cpp
|
||||||
|
tests/anbox/common/scope_ptr_tests.cpp
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: tests/anbox/graphics/buffer_queue_tests.cpp
|
||||||
|
Copyright: 2008-2016, The Android Open Source Project
|
||||||
|
License: Apache-2.0
|
||||||
|
|
||||||
|
License: Apache-2.0
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS"BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the Apache License,
|
||||||
|
Version 2.0 can be found in '/usr/share/common-licenses/Apache-2.0'.
|
||||||
|
|
||||||
|
License: GPL-2
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 2 dated June, 1991.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 2 of the GNU General
|
||||||
|
Public License can be found in '/usr/share/common-licenses/GPL-2'.
|
||||||
|
|
||||||
|
License: GPL-3
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 3 dated June, 2007.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 3 of the GNU General
|
||||||
|
Public License can be found in '/usr/share/common-licenses/GPL-3'.
|
||||||
|
|
||||||
|
License: LGPL-3
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU Lesser General Public License as published by the
|
||||||
|
Free Software Foundation; version 3 of the License.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 3 of the GNU Lesser
|
||||||
|
General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
|
||||||
|
|
||||||
|
License: LGPL-3+
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU Lesser General Public License as published by the
|
||||||
|
Free Software Foundation; version 3 of the License, or (at
|
||||||
|
your option) any later version.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 3 of the GNU Lesser
|
||||||
|
General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
|
||||||
0
kernel/debian/dirs → debian/dirs
vendored
0
kernel/debian/dirs → debian/dirs
vendored
40
debian/rules
vendored
Executable file
40
debian/rules
vendored
Executable file
|
|
@ -0,0 +1,40 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
VERSION=$(shell dpkg-parsechangelog -SVersion)
|
||||||
|
|
||||||
|
# include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --parallel --fail-missing --with systemd
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
cat data/anbox.service.in | sed s:@SNAP_MOUNT_DIR@:/snap/bin:g > data/anbox.service
|
||||||
|
cat data/anbox.conf.in | sed s:@SNAP_MOUNT_DIR@:/snap/bin:g > data/anbox.conf
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
VERSION=$(shell dpkg-parsechangelog -SVersion)
|
||||||
|
install -d $(CURDIR)/debian/tmp/usr/src
|
||||||
|
for d in ashmem binder ; do \
|
||||||
|
cp -a $(CURDIR)/kernel/$$d $(CURDIR)/debian/tmp/usr/src/anbox-modules-$$d-$(VERSION) ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
install -d $(CURDIR)/debian/tmp/lib/udev/rules.d
|
||||||
|
install -m 0644 kernel/99-anbox.rules $(CURDIR)/debian/tmp/lib/udev/rules.d
|
||||||
|
|
||||||
|
install -d $(CURDIR)/debian/tmp/etc/modules-load.d
|
||||||
|
install -m 0644 kernel/anbox.conf $(CURDIR)/debian/tmp/etc/modules-load.d
|
||||||
|
|
||||||
|
install -d $(CURDIR)/debian/tmp/usr/lib/systemd/user/
|
||||||
|
install -m 0644 data/anbox.service $(CURDIR)/debian/tmp/usr/lib/systemd/user/
|
||||||
|
|
||||||
|
install -d $(CURDIR)/debian/tmp/usr/share/upstart/sessions/
|
||||||
|
install -m 0644 data/anbox.conf $(CURDIR)/debian/tmp/usr/share/upstart/sessions/
|
||||||
|
|
||||||
|
install -d $(CURDIR)/debian/tmp/etc/X11/Xsession.d
|
||||||
|
install -m 0644 data/xsession.conf $(CURDIR)/debian/tmp/etc/X11/Xsession.d/68anbox
|
||||||
|
|
||||||
|
dh_install
|
||||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
||||||
2
debian/source/options
vendored
Normal file
2
debian/source/options
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
tar-ignore = ".git"
|
||||||
|
tar-ignore = "*.swp"
|
||||||
2
kernel/99-anbox.rules
Normal file
2
kernel/99-anbox.rules
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
KERNEL=="ashmem", NAME="%k", MODE="0666"
|
||||||
|
KERNEL=="binder", NAME="%k", MODE="0666"
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
#/usr/bin/make
|
|
||||||
VERSION = $(shell dpkg-parsechangelog -SVersion)
|
|
||||||
SRC = $(DESTDIR)/usr/src
|
|
||||||
|
|
||||||
all:
|
|
||||||
|
|
||||||
clean:
|
|
||||||
|
|
||||||
install:
|
|
||||||
install -d $(SRC)
|
|
||||||
for d in ashmem binder ; do \
|
|
||||||
cp -a $$d $(SRC)/anbox-modules-$$d-$(VERSION) ; \
|
|
||||||
done
|
|
||||||
2
kernel/anbox.conf
Normal file
2
kernel/anbox.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
ashmem_linux
|
||||||
|
binder_linux
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
Source: anbox-modules-dkms
|
|
||||||
Section: misc
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Simon Fels <morphis@gravedo.de>
|
|
||||||
Build-Depends: debhelper (>= 7), dkms
|
|
||||||
Standards-Version: 3.9.7
|
|
||||||
|
|
||||||
Package: anbox-modules-dkms
|
|
||||||
Architecture: all
|
|
||||||
Depends: dkms (>= 1.95), ${misc:Depends}
|
|
||||||
Description: Android kernel driver (binder, ashmem) in DKMS format.
|
|
||||||
.
|
|
||||||
This package contains a out-of-tree version of the core Android
|
|
||||||
kernel functionalities binder and ashmem.
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: anbox
|
|
||||||
Source: http://github.com/anbox
|
|
||||||
|
|
||||||
files: debian/* Makefile
|
|
||||||
Copyright: 2017 Simon Fels <morphis@gravedo.de>
|
|
||||||
License: GPL-3
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
|
||||||
under the terms of the the GNU General Public License version 3, as
|
|
||||||
published by the Free Software Foundation.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranties of
|
|
||||||
MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the applicable version of the GNU Lesser General Public
|
|
||||||
License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General Public License
|
|
||||||
can be found in `/usr/share/common-licenses/GPL-3'
|
|
||||||
|
|
||||||
|
|
||||||
files: ashmem/* binder/*
|
|
||||||
Copyright: 2008-2012 Google Inc.
|
|
||||||
License: GPL-2
|
|
||||||
Copyright (C) 2008-2012 Google, Inc.
|
|
||||||
.
|
|
||||||
This software is licensed under the terms of the GNU General Public
|
|
||||||
License version 2, as published by the Free Software Foundation, and
|
|
||||||
may be copied, distributed, and modified under those terms.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#!/usr/bin/make -f
|
|
||||||
# -*- makefile -*-
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
#export DH_VERBOSE=1
|
|
||||||
|
|
||||||
DEB_NAME=anbox-modules
|
|
||||||
|
|
||||||
include /usr/share/dpkg/default.mk
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@ --parallel --fail-missing
|
|
||||||
|
|
||||||
override_dh_install:
|
|
||||||
$(MAKE) DESTDIR=$(CURDIR)/debian/$(DEB_NAME)-dkms install
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue