summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-04-25 23:37:48 -0500
committerZach van Rijn <me@zv.io>2024-04-26 06:15:44 +0000
commit4e102887a9a85a90ee46cf3cd53cba32fff53537 (patch)
tree0a4a4d0290077b55ad063cfb9e38d6c43b47cf53 /user
parentd33c15fce1bebb00c666f707ca6577a95ababa0b (diff)
downloadpackages-4e102887a9a85a90ee46cf3cd53cba32fff53537.tar.gz
packages-4e102887a9a85a90ee46cf3cd53cba32fff53537.tar.bz2
packages-4e102887a9a85a90ee46cf3cd53cba32fff53537.tar.xz
packages-4e102887a9a85a90ee46cf3cd53cba32fff53537.zip
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
Diffstat (limited to 'user')
-rw-r--r--user/diskdev_cmds/APKBUILD11
1 files 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 <awilfox@adelielinux.org>
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
}