Skip to content

Commit

Permalink
resin packages: Use layer license file
Browse files Browse the repository at this point in the history
Include a license for the resin repository defined as Apache-2.0.
Use this file for all the resin developed packages (eg scripts,
binaries etc.).

This license file will be used as package file using
LIC_FILES_CHKSUM.

Signed-off-by: Theodor Gherzan <theodor@resin.io>
  • Loading branch information
Theodor Gherzan committed Feb 17, 2015
1 parent cbb66bf commit 6400a4f
Show file tree
Hide file tree
Showing 24 changed files with 39 additions and 1,749 deletions.
@@ -1,4 +1,5 @@


Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -176,7 +177,18 @@

END OF TERMS AND CONDITIONS

Copyright 2014 Docker, Inc.
APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don`t include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -189,3 +201,4 @@
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.

2 changes: 2 additions & 0 deletions meta-resin-beaglebone/conf/layer.conf
Expand Up @@ -8,3 +8,5 @@ BBFILE_PATTERN_resin-beaglebone := "^${LAYERDIR}/"
BBFILE_PRIORITY_resin-beaglebone = "1337"
# Image class for our custom Image
IMAGE_CLASSES += "image-resin-beaglebone"

RESIN_COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'
Expand Up @@ -3,7 +3,7 @@ SECTION = "console/utils"
RDEPENDS_${PN} = "resin-device-register resin-device-progress"
LICENSE = "Apache-2.0"
PR = "r1.7"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
LIC_FILES_CHKSUM = "file://${RESIN_COREBASE}/COPYING.Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://LICENSE \
file://beaglebone-init \
file://init-bbb-flasher.sh \
Expand Down
1 change: 1 addition & 0 deletions meta-resin-common/conf/layer.conf
Expand Up @@ -7,3 +7,4 @@ BBFILE_COLLECTIONS += "resin-common"
BBFILE_PATTERN_resin-common := "^${LAYERDIR}/"
BBFILE_PRIORITY_resin-common = "1337"

RESIN_COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'
191 changes: 0 additions & 191 deletions meta-resin-common/recipes-devtools/rce/files/LICENSE

This file was deleted.

3 changes: 1 addition & 2 deletions meta-resin-common/recipes-devtools/rce/rce-armv6.inc
@@ -1,11 +1,10 @@
DESCRIPTION = "rce build for ARM v6"
SECTION = "console/utils"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
LIC_FILES_CHKSUM = "file://${RESIN_COREBASE}/COPYING.Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

SRC_URI = " \
https://s3.amazonaws.com/resin-share/build_requirements/rce-arm-${PV}.tar.xz;name=rce \
file://LICENSE \
file://cgroupfs-mount \
"

Expand Down

0 comments on commit 6400a4f

Please sign in to comment.