凌云实验室IGKBoard开发板的Yocto meta-layer文件
guowenxue
2023-11-07 0fd8b7d0d093c6917540ea5463b530c41a5a94e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Expand rootfs space on MMC"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
 
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
 
FILES:${PN} = "${sbindir}"
SRC_URI = " \
        file://expand_rootfs \
        file://pinloop \
        file://pinctrl-${MACHINE} \
"
 
do_install() {
    install -d ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/expand_rootfs      ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/pinloop            ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/pinctrl-${MACHINE} ${D}/${sbindir}/pinctrl
}
 
RDEPENDS:expand-tools = "bash e2fsprogs util-linux"