Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
ci: Move the script to create QEMU disk image
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Polyakov <[email protected]>
  • Loading branch information
maxpoliak committed Oct 29, 2021
1 parent 232c3d8 commit 1f5450f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ grub on it and copy the exe file. You can do all this with create-boot-image.sh:
dd if=/dev/zero of=boot-disk.img bs=512 count=32130
```
```
sudo ./create-boot-image.sh --file boot-disk.img
sudo ./ci/ci-create-boot-image.sh --file boot-disk.img
```
After that you can test the result in QEMU:
```
Expand Down
3 changes: 2 additions & 1 deletion create-boot-image.sh → ci/ci-create-boot-image.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash -eu

IMAGE_NAME=
ROOT_DIR="$(dirname $(realpath ${BASH_SOURCE[0]}))"
CI_DIR="$(dirname $(realpath ${BASH_SOURCE[0]}))"
ROOT_DIR="${CI_DIR}/.."
OUT_EXE_NAME="rtems-ec-cli.exe"
MOUNT_DIR_NAME="rtems-boot-disk-image"

Expand Down

0 comments on commit 1f5450f

Please sign in to comment.