From 4e102887a9a85a90ee46cf3cd53cba32fff53537 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 25 Apr 2024 23:37:48 -0500 Subject: user/diskdev_cmds: Install hfsbootdata file This file is required to create bootable HFS+ partitions, which is needed by Horizon. Fixes: 9e44b83b0c49 ("user/diskdev_cmds: add 1985 Apple C code...") Closes: horizon#392 --- user/diskdev_cmds/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/user/diskdev_cmds/APKBUILD b/user/diskdev_cmds/APKBUILD index afcfd2ae0..f3a60eb61 100644 --- a/user/diskdev_cmds/APKBUILD +++ b/user/diskdev_cmds/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox pkgname=diskdev_cmds pkgver=332.14 -pkgrel=0 +pkgrel=1 pkgdesc="HFS+ utilities ported from OS X 10.8.4 (fsck/mkfs)" url="https://opensource.apple.com/release/mac-os-x-10411ppc.html" arch="all" @@ -29,10 +29,15 @@ package() { ln -s newfs_hfs "$pkgdir"/sbin/mkfs.hfs ln -s newfs_hfs "$pkgdir"/sbin/mkfs.hfsplus - install -D -m644 "$builddir"/fsck_hfs.tproj/fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck_hfs.8 + install -D -m644 "$builddir"/newfs_hfs.tproj/hfsbootdata.img \ + "$pkgdir"/usr/share/hfsprogs/hfsbootdata + + install -D -m644 "$builddir"/fsck_hfs.tproj/fsck_hfs.8 \ + "$pkgdir"/usr/share/man/man8/fsck_hfs.8 ln -s fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck.hfs.8 ln -s fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck.hfsplus.8 - install -m644 "$builddir"/newfs_hfs.tproj/newfs_hfs.8 "$pkgdir"/usr/share/man/man8/newfs_hfs.8 + install -m644 "$builddir"/newfs_hfs.tproj/newfs_hfs.8 \ + "$pkgdir"/usr/share/man/man8/newfs_hfs.8 ln -s newfs_hfs.8 "$pkgdir"/usr/share/man/man8/mkfs.hfs.8 ln -s newfs_hfs.8 "$pkgdir"/usr/share/man/man8/mkfs.hfsplus.8 } -- cgit v1.2.3-60-g2f50