没有许可证文件时如何处理“许可证"字段? [英] How to handle the LICENSE field when there is no license file?

查看:74
本文介绍了没有许可证文件时如何处理“许可证"字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果没有许可证文件,例如在此回购中: https://github.com/jwrdegoede/rtl8189ES_linux .而是在每个文件头中提供许可证.如何在 bitbake 食谱中适当地说明这一点?

What if there is no license file as e.g. in this repo: https://github.com/jwrdegoede/rtl8189ES_linux. The license is given in each file header instead. How do I account for that appropriately in a bitbake recipe?

谢谢

推荐答案

LIC_FILES_CHKSUM 可以指向定义许可证的任何文件.如果没有专用的许可证文件,则可以将其指向 README main.c 或类似文件的片段.例如,来自 ppp.bb :

LIC_FILES_CHKSUM can point to any file that defines the license. If there isn't a dedicated license file then you can point it at a fragment of a README or main.c or similar. For example from ppp.bb:

LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c4[...]"

这篇关于没有许可证文件时如何处理“许可证"字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆