Advertisement
gatorback

smbus3_picore_01

Feb 27th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. #picore smbus3
  2. #per http://forum.tinycorelinux.net/index.php/topic,23572.0.html
  3.  
  4. tc@box:~/smbus3$ cd smbus2-0.3.0/
  5. tc@box:~/smbus3/smbus2-0.3.0$ ls
  6. PKG-INFO README.rst setup.cfg setup.py smbus2/ smbus2.egg-info/
  7.  
  8. tc@box:~/smbus3/smbus2-0.3.0$ sudo -H python3.6 setup.py build
  9. running build
  10. running build_py
  11. creating build
  12. creating build/lib
  13. creating build/lib/smbus2
  14. copying smbus2/smbus2.py -> build/lib/smbus2
  15. copying smbus2/__init__.py -> build/lib/smbus2
  16.  
  17. tc@box:~/smbus3/smbus2-0.3.0$ sudo python3.6 setup.py install --root=/tmp/pkg
  18. running install
  19. running build
  20. running build_py
  21. running install_lib
  22. creating /tmp/pkg
  23. creating /tmp/pkg/usr
  24. creating /tmp/pkg/usr/local
  25. creating /tmp/pkg/usr/local/lib
  26. creating /tmp/pkg/usr/local/lib/python3.6
  27. creating /tmp/pkg/usr/local/lib/python3.6/site-packages
  28. creating /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2
  29. copying build/lib/smbus2/__init__.py -> /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2
  30. copying build/lib/smbus2/smbus2.py -> /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2
  31. byte-compiling /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2/__init__.py to __init__.cpython-36.pyc
  32. byte-compiling /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2/smbus2.py to smbus2.cpython-36.pyc
  33. running install_egg_info
  34. running egg_info
  35. writing smbus2.egg-info/PKG-INFO
  36. writing dependency_links to smbus2.egg-info/dependency_links.txt
  37. writing requirements to smbus2.egg-info/requires.txt
  38. writing top-level names to smbus2.egg-info/top_level.txt
  39. reading manifest file 'smbus2.egg-info/SOURCES.txt'
  40. writing manifest file 'smbus2.egg-info/SOURCES.txt'
  41. Copying smbus2.egg-info to /tmp/pkg/usr/local/lib/python3.6/site-packages/smbus2-0.3.0-py3.6.egg-info
  42. running install_scripts
  43. tc@box:~/smbus3/smbus2-0.3.0$
  44.  
  45.  
  46. tc@box:/tmp$ tce-load -w squashfs-tools
  47. Downloading: squashfs-tools.tcz
  48. Connecting to mirror.cpsc.ucalgary.ca (136.159.2.91:80)
  49. squashfs-tools.tcz 100% |**************************************************************************| 104k 0:00:00 ETA
  50. squashfs-tools.tcz: OK
  51. tc@box:/tmp$ mksquashfs pkg/ py_smbus3.tcz
  52. -sh: mksquashfs: not found
  53. tc@box:/tmp$ tce-load -w squashfs-tools
  54. squashfs-tools is already downloaded.
  55. tc@box:/tmp$ tce-load -i squashfs-tools
  56. squashfs-tools.tcz: OK
  57. tc@box:/tmp$ tce-load -i squashfs-tools
  58. squashfs-tools is already installed!
  59.  
  60. tc@box:/tmp$ sudo mksquashfs pkg/ py_smbus3.tcz
  61. Parallel mksquashfs: Using 1 processor
  62. Creating 4.0 filesystem on py_smbus3.tcz, block size 131072.
  63. [==============================================================================================================|] 7/7 100%
  64.  
  65. Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
  66. compressed data, compressed metadata, compressed fragments, no xattrs
  67. duplicates are removed
  68. Filesystem size 7.52 Kbytes (0.01 Mbytes)
  69. 24.22% of uncompressed filesystem size (31.06 Kbytes)
  70. Inode table size 197 bytes (0.19 Kbytes)
  71. 38.33% of uncompressed inode table size (514 bytes)
  72. Directory table size 259 bytes (0.25 Kbytes)
  73. 68.34% of uncompressed directory table size (379 bytes)
  74. Number of duplicate files found 0
  75. Number of inodes 16
  76. Number of files 7
  77. Number of fragments 1
  78. Number of symbolic links 0
  79. Number of device nodes 0
  80. Number of fifo nodes 0
  81. Number of socket nodes 0
  82. Number of directories 9
  83. Number of ids (unique uids + gids) 1
  84. Number of uids 1
  85. root (0)
  86. Number of gids 1
  87. root (0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement