diff options
Diffstat (limited to 'meta-mel-support/recipes-bsp')
-rwxr-xr-x | meta-mel-support/recipes-bsp/96boards-tools/96boards-tools/resize-helper.sh.in | 31 | ||||
-rw-r--r-- | meta-mel-support/recipes-bsp/96boards-tools/96boards-tools_0.12.bb | 44 |
2 files changed, 0 insertions, 75 deletions
diff --git a/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools/resize-helper.sh.in b/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools/resize-helper.sh.in deleted file mode 100755 index 8897ee97..00000000 --- a/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools/resize-helper.sh.in +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh - -# --------------------------------------------------------------------------------------------------------------------- -# SPDX-License-Identifier: GPL-2.0-or-later -# --------------------------------------------------------------------------------------------------------------------- - -### BEGIN INIT INFO -# Provides: Resize root filesystem to fit available disk space -# Description: Start resize helper, then remove own init from runlevels, -# as it is required only for first boot. run settle to provide partition -# table details. -### END INIT INFO - -DESC="resize helper" - -case $1 in - start) - echo "Starting $DESC" - @bindir@/udevadm settle - @sbindir@/resize-helper - @sbindir@/update-rc.d remove resize-helper.sh - ;; - *) - echo "Usage: @sysconfdir@/init.d/resize-helper.sh {start}" >&2 - exit 1 - ;; -esac - -exit 0 - -# vim:noet diff --git a/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools_0.12.bb b/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools_0.12.bb deleted file mode 100644 index 53ec6fc2..00000000 --- a/meta-mel-support/recipes-bsp/96boards-tools/96boards-tools_0.12.bb +++ /dev/null @@ -1,44 +0,0 @@ -# --------------------------------------------------------------------------------------------------------------------- -# SPDX-License-Identifier: MIT -# --------------------------------------------------------------------------------------------------------------------- - -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;md5=801f80980d171dd6425610833a22dbe6" - -SRCREV = "a999d655417bb19ce8a476ff8c811e957748b661" -SRC_URI = "git://github.com/96boards/96boards-tools;branch=master;protocol=https\ - file://resize-helper.sh.in" - -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}${sbindir} - install -m 0755 ${S}/resize-helper ${D}${sbindir} - - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${S}/resize-helper.service ${D}${systemd_unitdir}/system - fi - - if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/resize-helper.sh.in ${D}${sysconfdir}/init.d/resize-helper.sh - sed -i -e "s:@bindir@:${bindir}:; s:@sbindir@:${sbindir}:; s:@sysconfdir@:${sysconfdir}:" \ - ${D}${sysconfdir}/init.d/resize-helper.sh - fi -} - -SYSTEMD_SERVICE:${PN} = "resize-helper.service" -RDEPENDS:${PN} += "e2fsprogs-resize2fs gptfdisk parted util-linux udev" - -INITSCRIPT_NAME = "resize-helper.sh" -INITSCRIPT_PARAMS = "start 22 5 3 ." |