Skip to contentSkip to conversation

overlayfs-progs: add new recipe

PATCH Superseded Vyacheslav Yurkov 2 participants 2 messages May 22, 2022 – May 23, 2022

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 overlayfs-progs: add new recipe

From: Vyacheslav Yurkov <[email protected]>

overlayfs-progs contains fsck.overlay, which is used to check and optionally repair underlying directories of overlay-filesystem.

---
 .../overlayfs/overlayfs-progs_git.bb          | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/overlayfs/overlayfs-progs_git.bb
meta-filesystems/recipes-utils/overlayfs/overlayfs-progs_git.bb new file +24 -0
new file mode 100644
index 000000000..2f173b259
@@ -0,0 +1,24 @@
+SUMMARY = "File system check utility for OverlayFS"
+HOMEPAGE = "https://github.com/hisilicon/overlayfs-progs"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+SRC_URI = "git://github.com/hisilicon/overlayfs-progs.git;protocol=https;branch=master"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "e10ef686570d9c7eff42f52461593a5c15da56bd"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+EXTRA_OEMAKE += "'CC=${CC} -O2'"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_compile () {
+    oe_runmake
+}
+
+do_install () {
+    install -d ${D}${bindir}
+    install -m 0755 ${B}/fsck.overlay ${D}${bindir}
+}
Signature · 1 line
2.25.1
#1 lore raw

Fails to build on musl

https://errors.yoctoproject.org/Errors/Details/657139/

Quoted 54 lines · Vyacheslav Yurkov

From: Vyacheslav Yurkov <[email protected]>

overlayfs-progs contains fsck.overlay, which is used to check and optionally repair underlying directories of overlay-filesystem.

---
 .../overlayfs/overlayfs-progs_git.bb          | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/overlayfs/overlayfs-progs_git.bb
meta-filesystems/recipes-utils/overlayfs/overlayfs-progs_git.bb new file +24 -1
new file mode 100644
index 000000000..2f173b259
@@ -0,0 +1,24 @@
+SUMMARY = "File system check utility for OverlayFS"
+HOMEPAGE = "https://github.com/hisilicon/overlayfs-progs"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+SRC_URI = "git://github.com/hisilicon/overlayfs-progs.git;protocol=https;branch=master"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "e10ef686570d9c7eff42f52461593a5c15da56bd"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+EXTRA_OEMAKE += "'CC=${CC} -O2'"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_compile () {
+    oe_runmake
+}
+
+do_install () {
+    install -d ${D}${bindir}
+    install -m 0755 ${B}/fsck.overlay ${D}${bindir}
+}
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97221): https://lists.openembedded.org/g/openembedded-devel/message/97221
Mute This Topic: https://lists.openembedded.org/mt/91275909/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-