Advertisement
Guest User

console-image.bb

a guest
Sep 30th, 2019
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. SUMMARY = "A console development image with some C/C++ dev tools"
  2.  
  3. IMAGE_FEATURES += "package-management splash"
  4. IMAGE_LINGUAS = "en-us"
  5.  
  6. inherit image
  7.  
  8. DEPENDS += "bcm2835-bootfiles"
  9.  
  10. CORE_OS = " \
  11. ifupdown \
  12. kernel-modules \
  13. openssh openssh-keygen openssh-sftp-server \
  14. packagegroup-core-boot \
  15. term-prompt \
  16. tzdata \
  17. "
  18.  
  19. WIFI_SUPPORT = " \
  20. crda \
  21. iw \
  22. wpa-supplicant \
  23. "
  24.  
  25. WIREGUARD_SUPPORT = " \
  26. wireguard-init \
  27. wireguard-module \
  28. wireguard-tools \
  29. "
  30.  
  31. DEV_SDK_INSTALL = " \
  32. binutils \
  33. binutils-symlinks \
  34. coreutils \
  35. cpp \
  36. cpp-symlinks \
  37. diffutils \
  38. elfutils elfutils-binutils \
  39. file \
  40. g++ \
  41. g++-symlinks \
  42. gcc \
  43. gcc-symlinks \
  44. gdb \
  45. gdbserver \
  46. gettext \
  47. git \
  48. ldd \
  49. libstdc++ \
  50. libstdc++-dev \
  51. libtool \
  52. ltrace \
  53. make \
  54. pkgconfig \
  55. python3-modules \
  56. strace \
  57. "
  58.  
  59. DEV_EXTRAS = " \
  60. serialecho \
  61. spiloop \
  62. "
  63.  
  64. EXTRA_TOOLS_INSTALL = " \
  65. bzip2 \
  66. devmem2 \
  67. dosfstools \
  68. ethtool \
  69. fbset \
  70. findutils \
  71. firewall \
  72. grep \
  73. i2c-tools \
  74. iperf3 \
  75. iproute2 \
  76. iptables \
  77. less \
  78. lsof \
  79. nano \
  80. netcat-openbsd \
  81. nmap \
  82. ntp ntp-tickadj \
  83. procps \
  84. rndaddtoentcnt \
  85. rng-tools \
  86. sysfsutils \
  87. tcpdump \
  88. unzip \
  89. util-linux \
  90. wget \
  91. zip \
  92. "
  93.  
  94. RPI_STUFF = " \
  95. raspi2fb \
  96. userland \
  97. "
  98.  
  99. IMAGE_INSTALL += " \
  100. ${CORE_OS} \
  101. ${DEV_SDK_INSTALL} \
  102. ${DEV_EXTRAS} \
  103. ${EXTRA_TOOLS_INSTALL} \
  104. ${RPI_STUFF} \
  105. ${WIFI_SUPPORT} \
  106. ${WIREGUARD_SUPPORT} \
  107. "
  108.  
  109. set_local_timezone() {
  110. ln -sf /usr/share/zoneinfo/EST5EDT ${IMAGE_ROOTFS}/etc/localtime
  111. }
  112.  
  113. disable_bootlogd() {
  114. echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
  115. }
  116.  
  117. ROOTFS_POSTPROCESS_COMMAND += " \
  118. set_local_timezone ; \
  119. disable_bootlogd ; \
  120. "
  121.  
  122. export IMAGE_BASENAME = "console-image"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement