Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUMMARY = "A console development image with some C/C++ dev tools"
- IMAGE_FEATURES += "package-management splash"
- IMAGE_LINGUAS = "en-us"
- inherit image
- DEPENDS += "bcm2835-bootfiles"
- CORE_OS = " \
- ifupdown \
- kernel-modules \
- openssh openssh-keygen openssh-sftp-server \
- packagegroup-core-boot \
- term-prompt \
- tzdata \
- "
- WIFI_SUPPORT = " \
- crda \
- iw \
- wpa-supplicant \
- "
- WIREGUARD_SUPPORT = " \
- wireguard-init \
- wireguard-module \
- wireguard-tools \
- "
- DEV_SDK_INSTALL = " \
- binutils \
- binutils-symlinks \
- coreutils \
- cpp \
- cpp-symlinks \
- diffutils \
- elfutils elfutils-binutils \
- file \
- g++ \
- g++-symlinks \
- gcc \
- gcc-symlinks \
- gdb \
- gdbserver \
- gettext \
- git \
- ldd \
- libstdc++ \
- libstdc++-dev \
- libtool \
- ltrace \
- make \
- pkgconfig \
- python3-modules \
- strace \
- "
- DEV_EXTRAS = " \
- serialecho \
- spiloop \
- "
- EXTRA_TOOLS_INSTALL = " \
- bzip2 \
- devmem2 \
- dosfstools \
- ethtool \
- fbset \
- findutils \
- firewall \
- grep \
- i2c-tools \
- iperf3 \
- iproute2 \
- iptables \
- less \
- lsof \
- nano \
- netcat-openbsd \
- nmap \
- ntp ntp-tickadj \
- procps \
- rndaddtoentcnt \
- rng-tools \
- sysfsutils \
- tcpdump \
- unzip \
- util-linux \
- wget \
- zip \
- "
- RPI_STUFF = " \
- raspi2fb \
- userland \
- "
- IMAGE_INSTALL += " \
- ${CORE_OS} \
- ${DEV_SDK_INSTALL} \
- ${DEV_EXTRAS} \
- ${EXTRA_TOOLS_INSTALL} \
- ${RPI_STUFF} \
- ${WIFI_SUPPORT} \
- ${WIREGUARD_SUPPORT} \
- "
- set_local_timezone() {
- ln -sf /usr/share/zoneinfo/EST5EDT ${IMAGE_ROOTFS}/etc/localtime
- }
- disable_bootlogd() {
- echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
- }
- ROOTFS_POSTPROCESS_COMMAND += " \
- set_local_timezone ; \
- disable_bootlogd ; \
- "
- export IMAGE_BASENAME = "console-image"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement