diff --git a/.gitignore b/.gitignore index c84c3a14ea3cf5d1fafa41be901f2a6697542af1..4c8bbf125cf53846c7f34fbf1787faed573e5ed3 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,9 @@ CMakeLists.txt.user *.mod.o modules.order .tmp_versions + +debian/anbox-modules-dkms.debhelper.log +debian/anbox-modules-dkms.substvars +debian/anbox-modules-dkms/ +debian/debhelper-build-stamp +debian/files diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..1263948fb882b8c4fd639b01e17969c825e79619 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +all: diff --git a/data/anbox.conf.in b/data/anbox.conf.in new file mode 100644 index 0000000000000000000000000000000000000000..4600e0e268e459ed8821d80709f903833bc898fe --- /dev/null +++ b/data/anbox.conf.in @@ -0,0 +1,6 @@ +start on started dbus + +respawn +respawn limit 10 5 + +exec @SNAP_MOUNT_DIR@/anbox session-manager diff --git a/data/anbox.service.in b/data/anbox.service.in new file mode 100644 index 0000000000000000000000000000000000000000..933b4d1fc1bc6cecc9a5d49764b6d0f36df50b2a --- /dev/null +++ b/data/anbox.service.in @@ -0,0 +1,8 @@ +[Unit] +Description=Anbox session manager + +[Service] +ExecStart=@SNAP_MOUNT_DIR@/anbox session-manager + +[Install] +WantedBy=default.target diff --git a/data/xsession.conf b/data/xsession.conf new file mode 100644 index 0000000000000000000000000000000000000000..fcd0cb559d02d3f91f2163825c51e5ac79bbe2b3 --- /dev/null +++ b/data/xsession.conf @@ -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 diff --git a/kernel/debian/README.Debian b/debian/README.Debian similarity index 100% rename from kernel/debian/README.Debian rename to debian/README.Debian diff --git a/debian/anbox-common.install b/debian/anbox-common.install new file mode 100644 index 0000000000000000000000000000000000000000..4700a8eb4b06db137b05a177ed88a40e6e161152 --- /dev/null +++ b/debian/anbox-common.install @@ -0,0 +1,3 @@ +etc/X11/Xsession.d/68anbox +usr/share/upstart/sessions/anbox.conf +usr/lib/systemd/user/anbox.service diff --git a/debian/anbox-modules-dkms.install b/debian/anbox-modules-dkms.install new file mode 100644 index 0000000000000000000000000000000000000000..39bcdf74483ce0e51be9c77b6ce5fb1be377fb4f --- /dev/null +++ b/debian/anbox-modules-dkms.install @@ -0,0 +1,3 @@ +usr/src/anbox-modules-* +etc/modules-load.d +lib/udev/rules.d diff --git a/kernel/debian/postinst b/debian/anbox-modules-dkms.postinst similarity index 100% rename from kernel/debian/postinst rename to debian/anbox-modules-dkms.postinst diff --git a/kernel/debian/prerm b/debian/anbox-modules-dkms.prerm similarity index 100% rename from kernel/debian/prerm rename to debian/anbox-modules-dkms.prerm diff --git a/kernel/debian/changelog b/debian/changelog similarity index 57% rename from kernel/debian/changelog rename to debian/changelog index 24e9252003f8127ca642ee72059f290a9bf63714..eccc558c1e05172007b054ac0f47f5712bfa7b2b 100644 --- a/kernel/debian/changelog +++ b/debian/changelog @@ -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 Thu, 20 Apr 2017 19:58:22 +0200 + +anbox (4) zesty; urgency=medium * Fetch dkms version from debian package in post-install step. -- Simon Fels 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 builds on the target device. -- Simon Fels Tue, 21 Feb 2017 07:36:45 +0100 -anbox-modules-dkms (1) xenial; urgency=low +anbox (1) xenial; urgency=low * Initial release. diff --git a/kernel/debian/compat b/debian/compat similarity index 100% rename from kernel/debian/compat rename to debian/compat diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..8696f8e06e78e90f13a51007751d823aacd3c7e3 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: anbox +Section: misc +Priority: optional +Maintainer: Simon Fels +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..a633a8b7e7c816b9e0cbd879cd00de153338fa27 --- /dev/null +++ b/debian/copyright @@ -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 +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 +License: GPL-3 + +Files: android/service/* +Copyright: 2016, 2017, Simon Fels +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ß +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 +License: GPL-3 + +Files: scripts/setup-partial-chroot.sh +Copyright: 2012-2016, Canonical Ltd +License: LGPL-3 + +Files: src/* +Copyright: 2016, 2017, Simon Fels +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 +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 +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 +License: GPL-3 + +Files: src/anbox/graphics/emugl/Renderable.cpp + src/anbox/graphics/emugl/Renderable.h +Copyright: 2016, 2017, Simon Fels +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 + 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 +License: LGPL-3 + +Files: tests/* +Copyright: 2016, 2017, Simon Fels +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'. diff --git a/kernel/debian/dirs b/debian/dirs similarity index 100% rename from kernel/debian/dirs rename to debian/dirs diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..b14103495a09a5228041c105fd2cb4092e0c1740 --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..89ae9db8f88b823b6a7eabf55e203658739da122 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000000000000000000000000000000000000..b5fa99acb6da7e8c9fc9345e1e2d6a3fac7c64dd --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +tar-ignore = ".git" +tar-ignore = "*.swp" diff --git a/kernel/99-anbox.rules b/kernel/99-anbox.rules new file mode 100644 index 0000000000000000000000000000000000000000..1378986b97d472035cdc60a5c45bce63ab7e3edb --- /dev/null +++ b/kernel/99-anbox.rules @@ -0,0 +1,2 @@ +KERNEL=="ashmem", NAME="%k", MODE="0666" +KERNEL=="binder", NAME="%k", MODE="0666" diff --git a/kernel/Makefile b/kernel/Makefile deleted file mode 100644 index 43cb81521e5a439664b12c474afd181c30a0723b..0000000000000000000000000000000000000000 --- a/kernel/Makefile +++ /dev/null @@ -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 diff --git a/kernel/anbox.conf b/kernel/anbox.conf new file mode 100644 index 0000000000000000000000000000000000000000..ba8ae3885b6f5c7e16971f776798faa996746dc4 --- /dev/null +++ b/kernel/anbox.conf @@ -0,0 +1,2 @@ +ashmem_linux +binder_linux diff --git a/kernel/debian/control b/kernel/debian/control deleted file mode 100644 index 128ba37eb9d634a1c7f8dd57c80eea776c471645..0000000000000000000000000000000000000000 --- a/kernel/debian/control +++ /dev/null @@ -1,14 +0,0 @@ -Source: anbox-modules-dkms -Section: misc -Priority: optional -Maintainer: Simon Fels -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. diff --git a/kernel/debian/copyright b/kernel/debian/copyright deleted file mode 100644 index 650f695bf50ba2ef6510f3f24c89b73fbaab6645..0000000000000000000000000000000000000000 --- a/kernel/debian/copyright +++ /dev/null @@ -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 -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 . - . - 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. diff --git a/kernel/debian/rules b/kernel/debian/rules deleted file mode 100755 index b15c6491753f3fcbf1451ffface80d65b21ecb3d..0000000000000000000000000000000000000000 --- a/kernel/debian/rules +++ /dev/null @@ -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