Skip to content

Commit

Permalink
Merge pull request #2133 from ghaerr/hd64mbr
Browse files Browse the repository at this point in the history
[build] Create 64M MBR HD image with 'make images'
  • Loading branch information
ghaerr authored Dec 14, 2024
2 parents 31b645b + 888fe45 commit 80e2c75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ jobs:
path: image/hd64-minix.img

- name: upload17
uses: actions/upload-artifact@v4
with:
name: hd64mbr-minix.img
path: image/hd64mbr-minix.img

- name: upload18
uses: actions/upload-artifact@v4
with:
name: fd1232.img
Expand Down
6 changes: 5 additions & 1 deletion image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ images-minix: fd360-minix fd720-minix fd1200-minix fd1440-minix fd2880-minix

images-fat: fd360-fat fd720-fat fd1200-fat fd1440-fat fd2880-fat hd32-fat hd32mbr-fat

images-hd: hd32-minix hd32mbr-minix hd64-minix
images-hd: hd32-minix hd32mbr-minix hd64-minix hd64mbr-minix

fd360-minix:
echo CONFIG_APPS_360K=y > Config
Expand Down Expand Up @@ -206,6 +206,10 @@ hd32mbr-minix: hd32-minix
dd if=/dev/zero bs=512 count=63 | cat - hd32-minix.img > hd32mbr-minix.img
setboot hd32mbr-minix.img -P63,16,63 -Sm $(HD_MBR_BOOT)

hd64mbr-minix: hd64-minix
dd if=/dev/zero bs=512 count=63 | cat - hd64-minix.img > hd64mbr-minix.img
setboot hd64mbr-minix.img -P63,16,63 -Sm $(HD_MBR_BOOT)

hd32mbr-fat: hd32-fat
dd if=/dev/zero bs=512 count=63 | cat - hd32-fat.img > hd32mbr-fat.img
setboot hd32mbr-fat.img -P63,16,63 -Sf $(HD_MBR_BOOT)
Expand Down

0 comments on commit 80e2c75

Please sign in to comment.