aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb
blob: e9757c56315f827d7ff5ea1428ce53fba27654e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Script to warn users of GPLv3 content on the target file system at boot time"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://print-gplv3-packages.sh;beginline=2;endline=18;md5=d134d0d385c53f9201a270fef8448f29"

PR = "r1"

S = "${WORKDIR}"

INITSCRIPT_NAME = "gplv3-notice"
INITSCRIPT_PARAMS = "defaults 99"

inherit allarch update-rc.d

SRC_URI = "file://print-gplv3-packages.sh"

do_install(){
	install -d ${D}${sysconfdir}/init.d
    install -m 0755 ${S}/print-gplv3-packages.sh ${D}${sysconfdir}/init.d/gplv3-notice
}