Troubleshooting, Tricks and Tips - dervishe-/GenBerry GitHub Wiki

WORK IN PROGRESS...

F.A.Q


  • Where can i find information about the build ? Where are the logs ?

The log file name is: builder.log and it is located at the root of your working directory. Thus, in one hand, if you'd fixed the working directory by the CLI using the -m option, for instance ~/work, the log file location will be ~/work/builder.log. In the other hand, the script will generate one working directory with a name like: /tmp/bldGenPiImg-XXXXXXXXXX and the builder.log file will be there. Finally, you can find this information just before to validate the build. The script will show you a resume of what it will do.

  • I've got not enough free space

Basically, you need some space for the building:

  • For the kernel source: 2GB
  • For the firmware: 530MB
  • For various files (portage, stage3, ...): 220MB
  • For the image (approx: 7GB) / the tarball (approx: 200MB)
Type of build Size
Media 3GB
Tarball 3.5GB
Image 10GB

Then, if the partition where reside the working directory has not enough free space, you have to move it elsewhere or use a method less greedy in space. To specify a precise location for the working directory, use the -m WORKING_DIR option. If you put your working directory in your /tmp or didn't set up the -m WORKING_DIR option and your /tmp directory use tmpfs, you can use:

mount -o remount,size=10G /tmp

And voilà ! :)