diff options
| author | Alexander Hill <ahill@breadpudding.dev> | 2025-05-06 23:37:40 -0400 |
|---|---|---|
| committer | Alexander Hill <ahill@breadpudding.dev> | 2025-05-06 23:37:40 -0400 |
| commit | c971eb2f31746e5e6c84c12baa4009e7b2764ba8 (patch) | |
| tree | 29254e2bc5b47512fd0c24102da6e627ca4f9fbc /chroot-bootstrap.sh | |
| parent | 2aeb13e7ee3f70e85f85bae9e77c2d3e1a10f94a (diff) | |
Built a version of cargo and rustc that won't crash
Co-authored-by: Alexander Hill <ahill@breadpudding.dev>
Co-authored-by: Nicholas McDaniel <nickmcdaniel00@gmail.com>
Diffstat (limited to 'chroot-bootstrap.sh')
| -rwxr-xr-x | chroot-bootstrap.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chroot-bootstrap.sh b/chroot-bootstrap.sh index 5fe43d0..f23e0b2 100755 --- a/chroot-bootstrap.sh +++ b/chroot-bootstrap.sh @@ -16,7 +16,14 @@ if mount --rbind /dev $MAPLE/dev && mount --make-rslave $MAPLE/dev; then if mount --bind /run $MAPLE/run; then if [ -d $MAPLE/maple/sources ]; then if mount --bind ./sources $MAPLE/maple/sources; then - run_chroot + if [ -d $MAPLE/maple/patches ]; then + if mount --bind ./patches $MAPLE/maple/patches; then + run_chroot + umount $MAPLE/maple/patches + fi + else + run_chroot + fi umount $MAPLE/maple/sources fi else |
