Skip to content

Commit

Permalink
fix: Fix for Inappropriate ioctl for device (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 1, 2024
1 parent bb640e7 commit c086523
Show file tree
Hide file tree
Showing 3 changed files with 504 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ FROM scratch AS runner
COPY --from=qemux/qemu-docker:6.02 / /

ARG VERSION_ARG="0.0"
ARG VERSION_OPENCORE="1.0.1"
ARG VERSION_OSX_KVM="326053dd61f49375d5dfb28ee715d38b04b5cd8e"

ARG REPO_OSX_KVM="https://raw.githubusercontent.com/kholia/OSX-KVM"
ARG REPO_OPENCORE="https://raw.githubusercontent.com/acidanthera/OpenCorePkg"

ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
Expand All @@ -49,7 +46,6 @@ RUN set -eu && \
COPY --chmod=755 ./src /run/
COPY --chmod=644 --from=builder /images /images

ADD --chmod=755 $REPO_OPENCORE/$VERSION_OPENCORE/Utilities/macrecovery/macrecovery.py /run/
ADD --chmod=644 \
$REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_CODE.fd \
$REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_VARS.fd \
Expand Down
2 changes: 1 addition & 1 deletion src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ downloadImage() {

/run/progress.sh "$path" "" "$msg ([P])..." &

if ! /run/macrecovery.py -b "$board" -n "$file" -o "$TMP" download; then
if ! /run/recovery.py -b "$board" -n "$file" -o "$TMP" download; then
error "Failed to fetch macOS \"${version^}\" recovery image with board id \"$board\"!"
fKill "progress.sh"
return 1
Expand Down
Loading

0 comments on commit c086523

Please sign in to comment.