File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,11 @@ And these did not:
39
39
system-image-m68k - qemu-system-m68k: -M q800: Unsupported machine type
40
40
system-image-mips64 - init dies before reaching /mnt/init
41
41
system-image-sh4 - hdc does not mount (no support for 2 disks)
42
+
43
+
44
+ To debug a build problem in one of sandboxes, change keep_hdb
45
+ to "keep_hdb=true" in parallel-build-hdc-img.sh
46
+
47
+ This preserves system-image-DIR1/hdb.img after the build,
48
+ so you can go into system-image-DIR1 and run
49
+ "HDB=hdb.img ./dev-environment.sh" to debug the problem.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
export HDBMEGS=64
4
+ keep_hdb=false
4
5
5
6
build_in_dir ()
6
7
{
7
8
cd " $1 " || exit 1
8
9
rm -f hdb.img
9
10
nice -n10 time ./native-build.sh ../hdc.img
10
- rm -f hdb.img
11
+ $keep_hdb || rm -f hdb.img
11
12
echo >&3 " Finished: $1 "
12
13
}
13
14
You can’t perform that action at this time.
0 commit comments