target-dir-warning.txt 1.3 KB

1234567891011121314151617181920212223242526272829
  1. Warning!
  2. ========
  3. This directory does *not* contain the root filesystem that you can use
  4. on your embedded system. Since Buildroot does not run as root, it
  5. cannot create device files and set the permissions and ownership of
  6. files correctly in this directory to make it usable as a root
  7. filesystem.
  8. For that reason, do *not* use the contents of this directory to mount
  9. your root filesystem over NFS or copy the contents of this directory
  10. to a SD card or USB key, thinking it will work as the root filesystem
  11. for your embedded system. It will simply *not* work.
  12. Instead, if you need a usable root filesystem, please select one of
  13. the filesystem image formats available in the Buildroot configuration
  14. interface (make menuconfig or others) in the "Filesystem images"
  15. sub-menu. If you want to get a filesystem image that you can easily
  16. extract to your SD card or to some directory exposed through NFS,
  17. please use the "tar the root filesystem" option. It will generate a
  18. images/rootfs.tar image in your Buildroot output directory, which you
  19. can extract as root:
  20. sudo tar -C /destination/of/extraction -xf images/rootfs.tar
  21. Those image files are created using the contents of the target/
  22. directory, but there is a post-processing step to create device files
  23. and set ownership/permissions properly even if Buildroot does not run
  24. as root.