added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Copyright (C) 2019, STMicroelectronics - All Rights Reserved
|
||||
|
||||
SUMMARY = "Add apt configuration files for OpenSTLinux"
|
||||
DESCRIPTION = "Add apt configuration files for OpenSTLinux"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
RDEPENDS:${PN} += " gnupg "
|
||||
|
||||
SRC_URI = "file://packages.openstlinux.st.com.list \
|
||||
file://packages.openstlinux.st.com.gpg \
|
||||
file://01-st-disclaimer \
|
||||
file://disclaimer \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${sysconfdir}/apt/sources.list.d
|
||||
install -d ${D}/${sysconfdir}/apt/trusted.gpg.d
|
||||
install -d ${D}/${sysconfdir}/apt/apt.conf.d
|
||||
install ${S}/packages.openstlinux.st.com.list ${D}/${sysconfdir}/apt/sources.list.d
|
||||
install ${S}/packages.openstlinux.st.com.gpg ${D}/${sysconfdir}/apt/trusted.gpg.d
|
||||
install ${S}/disclaimer ${D}/${sysconfdir}/apt/
|
||||
install ${S}/01-st-disclaimer ${D}/${sysconfdir}/apt/apt.conf.d
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
DPkg::Pre-Invoke {"echo ; fold -sw $(stty size | sed 's,.* ,,;s,^0$,40,' ) /etc/apt/disclaimer ; echo ; ";};
|
||||
APT::Update::Pre-Invoke {"echo ; fold -sw $(stty size | sed 's,.* ,,;s,^0$,40,' ) /etc/apt/disclaimer ; echo ;";};
|
||||
@@ -0,0 +1,2 @@
|
||||
The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA).
|
||||
The detailed content licenses can be found at https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
deb http://packages.openstlinux.st.com/5.0 mickledore main updates untested
|
||||
@@ -0,0 +1,2 @@
|
||||
RDEPENDS:${PN} += " gnupg "
|
||||
|
||||
Reference in New Issue
Block a user