install: don't try to embed firmware in split images (MR 2033)
Split images have /dev/installp1 and /dev/installp2 but no /dev/install to place the firmware, so it will actually create that file in devfs where it might run out of space since it's only 1MB big
This commit is contained in:
parent
af2b2b5933
commit
ed0bbf6069
|
@ -523,7 +523,12 @@ def install_system_image(args, size_reserve, suffix, step, steps,
|
|||
create_home_from_skel(args)
|
||||
configure_apk(args)
|
||||
copy_ssh_keys(args)
|
||||
embed_firmware(args, suffix)
|
||||
|
||||
# Don't try to embed firmware on split images since there's no
|
||||
# place to put it and it will end up in /dev of the chroot instead
|
||||
if not split:
|
||||
embed_firmware(args, suffix)
|
||||
|
||||
if sdcard:
|
||||
logging.info("Unmounting SD card (this may take a while "
|
||||
"to sync, please wait)")
|
||||
|
|
Loading…
Reference in New Issue