fosslinux / live-bootstrap

Use of a Linux initramfs to fully automate the bootstrapping process
490 stars 34 forks source link

QEMU bootstrap broken without `--external-sources` #234

Closed doraskayo closed 1 year ago

doraskayo commented 1 year ago

The following bootstrap configuration fails to build:

 ./rootfs.py --qemu --update-checksum -qk bzImage --preserve --tmpfs

Specifically, this line results in a failure to mount the disk: https://github.com/fosslinux/live-bootstrap/blob/2c8b29556b2db9961815bbb45b417c49c94f068a/sysb/run.sh#L85

This could potentially be related to the fact that the handling an "else" case relating to the disk image format was (accidentally?) removed.

doraskayo commented 1 year ago

Should be fixed by https://github.com/fosslinux/live-bootstrap/commit/5458a3e6aa51c836d0572f7674daf28e736782ae.