ldlinux.sys is part of the syslinux bootloader and gets installed at a fixed sector location in the boot partition.
It must not be moved.
When the archive file kernel_current.tar is unpacked with a ldlinux.sys present, ldlinux.sys will be rewritten and its sector location will change.
This results in the loader not being able to locate ldlinux.sys and subsequently fails with Boot error.
Therefore it must be excluding from the archive file.
ldlinux.sys is part of the syslinux bootloader and gets installed at a fixed sector location in the boot partition. It must not be moved. When the archive file kernel_current.tar is unpacked with a ldlinux.sys present, ldlinux.sys will be rewritten and its sector location will change. This results in the loader not being able to locate ldlinux.sys and subsequently fails with Boot error. Therefore it must be excluding from the archive file.