Packrfs failed? ubuntu is incomplete

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Packrfs failed? ubuntu is incomplete

跳至解决方案
1,108 次查看
m_kei
Contributor III

I am trying to generate RFS in LSDK2108. We are trying to build userland by referring to "How to build various userland with custom packages" in the LSDK2108 user guide.

Whenever I run "flex-builder -i packrfs", I get something like the following error message.

/xxx/flexbuild_lsdk2108/build/rfs/rootfs_lsdk2108_ubuntu_main_arm64 is incomplete

Since no further messages are output, it is difficult to tell if this is an error or not. What kind of output message is this?

Is it an error? Or is it an advice to continue doing mkboot?

 

0 项奖励
1 解答
1,104 次查看
m_kei
Contributor III

The cause seems to have been a corrupted file in build/rfs or some other problem.

For some reason, build/rfs was not erased even with cleanrfs, and because of the corrupted rfs file, the rootfs is not created in mkrfs, resulting in an error that there is no target rootfs as packrfs.

在原帖中查看解决方案

0 项奖励
3 回复数
496 次查看
mdecandia
Contributor III

Hi all,

which is the cause and the solution for this kind of error?

0 项奖励
1,105 次查看
m_kei
Contributor III

The cause seems to have been a corrupted file in build/rfs or some other problem.

For some reason, build/rfs was not erased even with cleanrfs, and because of the corrupted rfs file, the rootfs is not created in mkrfs, resulting in an error that there is no target rootfs as packrfs.

0 项奖励
1,105 次查看
m_kei
Contributor III

The packrfs command is supposed to generate rootfs, but when this error is printed, rootfs was not generated in the image folder. In other words, packrfs has failed.

However, as shown above, it only shows "incomplete", so it is unclear why it is failing. What is the cause of the error?

0 项奖励