Skip to content

Commit

Permalink
Merge pull request #311 from lumag/drop-96boards
Browse files Browse the repository at this point in the history
Drop meta-96boards dependency
  • Loading branch information
lumag authored Nov 14, 2023
2 parents e370909 + f1afd04 commit 619b0ab
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ BBFILE_PRIORITY_meta-rpb = "8"
LAYERSERIES_COMPAT_meta-rpb = "nanbield"

LAYERDEPENDS_meta-rpb = "openembedded-layer meta-python networking-layer \
filesystems-layer virtualization-layer meta-96boards"
filesystems-layer virtualization-layer"
33 changes: 33 additions & 0 deletions recipes-samples/96boards-tools/96boards-tools_0.12.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
SUMMARY = "Useful bits an pieces to make 96Boards more standard across the board"
HOMEPAGE = "https://github.com/96boards/96boards-tools"
SECTION = "devel"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"

SRCREV = "52ad42bb74ba4b3fcece2483f0d496494d60715f"
SRC_URI = "git://github.com/96boards/96boards-tools;branch=master;protocol=https \
"

S = "${WORKDIR}/git"

inherit systemd allarch update-rc.d

do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0755 ${S}/*.rules ${D}${sysconfdir}/udev/rules.d/
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/resize-disk ${D}${sysconfdir}/init.d/

install -d ${D}${systemd_unitdir}/system
install -m 0644 ${S}/resize-helper.service ${D}${systemd_unitdir}/system

install -d ${D}${sbindir}
install -m 0755 ${S}/resize-helper ${D}${sbindir}
}

INITSCRIPT_NAME = "resize-disk"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."

SYSTEMD_SERVICE:${PN} = "resize-helper.service"
RDEPENDS:${PN} += "e2fsprogs-resize2fs gptfdisk parted util-linux udev"

0 comments on commit 619b0ab

Please sign in to comment.