Clarification on the Parted and Resize2fs Issue

Clarification on the Parted and Resize2fs Issue

di LIVIO TENZE -
Numero di risposte: 0

Dear Students,

The issue encountered this morning with parted and resize2fs is due to these packages being native-only in Yocto. This means they are compiled exclusively for the host environment (the build system) and not for the target device.

To verify this, you can check the parted*.bb file, which contains the line:

BBCLASSEXTEND = "native nativesdk"  
This indicates that the package is intended for the host (native) or SDK (nativesdk) and not for the target system.

The installation of these packages inadvertently overwrote /sbin/init, which is why the system failed to boot.

Best regards,
Livio Tenze