mkbootimg tool not using contents of file to make partition

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
LyricalRain
Posts: 16
Joined: Thu Jul 01, 2021 3:24 pm

mkbootimg tool not using contents of file to make partition

Post by LyricalRain »

I'm using the mkbootimg tool to generate partitions in my disk image. However, although the directory structure is preseved, the contents of the text file are gone. Anyone know why? I'm using the "directory" option in the json file.
User avatar
bzt
Member
Member
Posts: 1584
Joined: Thu Oct 13, 2016 4:55 pm
Contact:

Re: mkbootimg tool not using contents of file to make partit

Post by bzt »

LyricalRain wrote:I'm using the mkbootimg tool to generate partitions in my disk image. However, although the directory structure is preseved, the contents of the text file are gone. Anyone know why? I'm using the "directory" option in the json file.
What were you creating? An initrd? A boot partition? A data partition? With which file system? Can you create a minimal example to reproduce the problem?

Please open an in issue on gitlab and provide the details so that I can reproduce the error. I need your json as well as an archive with the files and directory hierarchy in question.

Cheers,
bzt
Post Reply