Fedora 33 and 34 Cloud Base Images have only one partition with the
following directory structure,
.
├── bin -> usr/bin
├── boot
├── dev
├── etc
├── home
├── root
By comparison, Fedora 35, 36 and 37 Cloud Base Images have multiple
partitions. The root partition which is the last partition has the
following directory,
.
├── home
└── root
├── bin -> usr/bin
├── boot
├── dev
├── etc
├── home
├── root
and the 2nd partition is the boot partition.
This patch address the above changes by mounting {LAST_PARTITION}/root as
to TEMP_ROOT and mount SECOND_PARTITION to TEMP_ROOT/boot. So the test
image can be built successfully.
Signed-off-by: Coiby Xu <coxu@redhat.com>
Reviewed-by: Philipp Rudo <prudo@redhat.com>
|
||
|---|---|---|
| .. | ||
| build-scripts | ||
| kexec-kdump-test | ||
| testcases | ||
| build-image.sh | ||
| copy-from-image.sh | ||
| image-init-lib.sh | ||
| run-qemu | ||
| run-test.sh | ||
| spawn-image-shell.sh | ||
| test-lib.sh | ||