Skip to content

Commit

Permalink
tools/gen_stage2.sh: dont run modprobe on behalf of user
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Aug 18, 2022
1 parent 4ed26d0 commit ebab820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/ci/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Support of a given platform is indicated by a tier system. The tiers are as foll
> Note: while some functionality listed below might work, then number is only updated once verified.
> Note: if your kernel does not have support for [network block devices](https://www.kernel.org/doc/Documentation/blockdev/nbd.txt) you may need to run `# modprobe nbd max_part=8`.
0. The os/arch combo is supported in some official capacity by upstream and a potential candidate.
1. A script exists in [`generate/`](../../generate) that can download and run the OS' installer; the process is documented in [bootstrap_images.md](bootstrap_images.md).
2. [`tools/gen_stage2.sh`](../../tools/gen_stage2.sh) can run the generated stage 1 `.qcow2` image; enables ssh, and dowloads LLVM + Zig.
Expand Down
1 change: 0 additions & 1 deletion tools/gen_stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set -x
#
# mount qcow2 to local file system
mkdir -p mnt
sudo modprobe nbd max_part=8
sudo qemu-nbd --connect=/dev/nbd0 $after
sudo fdisk /dev/nbd0 -l

Expand Down

0 comments on commit ebab820

Please sign in to comment.