凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
guowenxue
2022-01-03 b0cd99d409f38e1aafcd67fef85a95f913b8ffbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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:"
SRC_URI += " file://expand_rootfs "
FILES_${PN} += "${sbindir}/expand_rootfs"
 
do_install() { 
    install -d ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/expand_rootfs ${D}/${sbindir}/
}
 
RDEPENDS_expand-rootfs = "bash e2fsprogs util-linux"