Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Create 64M MBR HD image with 'make images' #2133

Merged
merged 2 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading