diff mbox series

[meta-darwin] add hfsprogs (for mkfs.hfsplus)

Message ID 20260201043133.20872-1-dev@qinc.tv
State New
Headers show
Series [meta-darwin] add hfsprogs (for mkfs.hfsplus) | expand

Commit Message

Eric L. Hernes Feb. 1, 2026, 4:31 a.m. UTC
mkfs.hfsplus is used to create the .dmg with hfsplus filesystem image
---
 recipes-support/hfsprogs/hfsprogs_git.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 recipes-support/hfsprogs/hfsprogs_git.bb

Comments

Etienne Cordonnier Feb. 2, 2026, 10:14 a.m. UTC | #1
Hi Eric,
I've applied the patch as
https://git.yoctoproject.org/meta-darwin/commit/?id=a1fa09adf78fba1bee89213945aa5791bb8bd693
Note that as far as I know, BBCLASSEXTEND and "inherit native" are normally
mutually exclusive. "inherit native" communicates that the recipe is
available for native only (and by convention those recipes are usually
renamed to foobar-native.bb), while "BBCLASSEXTEND += "native" communicates
that the recipe is available for target and for native.

On Sun, Feb 1, 2026 at 5:31 AM Eric L. Hernes via lists.yoctoproject.org
<dev=qinc.tv@lists.yoctoproject.org> wrote:

> mkfs.hfsplus is used to create the .dmg with hfsplus filesystem image
> ---
>  recipes-support/hfsprogs/hfsprogs_git.bb | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 recipes-support/hfsprogs/hfsprogs_git.bb
>
> diff --git a/recipes-support/hfsprogs/hfsprogs_git.bb
> b/recipes-support/hfsprogs/hfsprogs_git.bb
> new file mode 100644
> index 0000000..9dfdfbc
> --- /dev/null
> +++ b/recipes-support/hfsprogs/hfsprogs_git.bb
> @@ -0,0 +1,18 @@
> +SUMMARY = "HFS+ filesystem utilities for Linux"
> +DESCRIPTION = "Apple's HFS+ filesystem utilities (mkfs.hfsplus,
> fsck.hfsplus) \
> +adapted to work on Linux systems. Based on Apple's diskdev-cmds source
> code."
> +HOMEPAGE = "https://github.com/Artoria2e5/hfsprogs "
> +
> +LICENSE = "APSL-2.0"
> +LIC_FILES_CHKSUM = "file://README.md;md5=ea27fd14a7e575753270cc5527d29023"
> +
> +SRCREV = "064b7fece00d069f206fd2d4a9a4493dd2777d9f"
> +SRC_URI = "git://
> github.com/elhernes/hfsprogs.git;branch=master;protocol=https"
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS = "openssl libbsd"
> +
> +inherit cmake native
> +
> +BBCLASSEXTEND += "native"
> --
> 2.50.1 (Apple Git-155)
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#3163):
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_message_3163&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=w3fXRU69Z5YfElM4ICjRW-4XowSrPXOFx7xKFaWJYwfNjcMesuqHG1ex2fgScca4&s=i-ALotW9A2WLEr9bgyU1V7yoSoTLkFKYZwWSRJ8Y6Xc&e=
> Mute This Topic:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_mt_117572941_7048771&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=w3fXRU69Z5YfElM4ICjRW-4XowSrPXOFx7xKFaWJYwfNjcMesuqHG1ex2fgScca4&s=tePwR6PHpMGhurcs9-U0YifO1ynZy4pVpP5u8bJxBNM&e=
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_leave_13184993_7048771_1814342232_xyzzy&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=w3fXRU69Z5YfElM4ICjRW-4XowSrPXOFx7xKFaWJYwfNjcMesuqHG1ex2fgScca4&s=bMvEzR8YJhudiFd_0mzLa6689n94eK7MLTdgPH9W6m8&e=
> [ecordonnier@snap.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
diff mbox series

Patch

diff --git a/recipes-support/hfsprogs/hfsprogs_git.bb b/recipes-support/hfsprogs/hfsprogs_git.bb
new file mode 100644
index 0000000..9dfdfbc
--- /dev/null
+++ b/recipes-support/hfsprogs/hfsprogs_git.bb
@@ -0,0 +1,18 @@ 
+SUMMARY = "HFS+ filesystem utilities for Linux"
+DESCRIPTION = "Apple's HFS+ filesystem utilities (mkfs.hfsplus, fsck.hfsplus) \
+adapted to work on Linux systems. Based on Apple's diskdev-cmds source code."
+HOMEPAGE = "https://github.com/Artoria2e5/hfsprogs"
+
+LICENSE = "APSL-2.0"
+LIC_FILES_CHKSUM = "file://README.md;md5=ea27fd14a7e575753270cc5527d29023"
+
+SRCREV = "064b7fece00d069f206fd2d4a9a4493dd2777d9f"
+SRC_URI = "git://github.com/elhernes/hfsprogs.git;branch=master;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "openssl libbsd"
+
+inherit cmake native
+
+BBCLASSEXTEND += "native"