From c1c6a6ce2183b11f7a4a17e6630474ead1454666 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 19 May 2021 22:20:50 +0200 Subject: [PATCH] Update buildroot to 2021.02.2 (#1370) --- ...ware-Allow-to-deploy-multiple-firmwa.patch | 76 ------ ...ocker-engine-bump-version-to-20.10.6.patch | 39 --- ...rmware-add-RTL87XX-RTL88XX-Bluetooth.patch | 74 ------ ...e-docker-cli-bump-version-to-20.10.6.patch | 39 --- buildroot/CHANGES | 51 ++++ buildroot/Config.in.legacy | 25 ++ buildroot/DEVELOPERS | 25 +- buildroot/Makefile | 4 +- .../boot/at91bootstrap/at91bootstrap.hash | 1 + buildroot/boot/at91bootstrap/at91bootstrap.mk | 2 + .../docs/manual/customize-post-image.txt | 3 +- buildroot/docs/manual/customize-rootfs.txt | 3 + buildroot/docs/manual/manual.html | 19 +- buildroot/docs/manual/manual.pdf | Bin 584325 -> 584473 bytes buildroot/docs/manual/manual.text | 11 +- buildroot/linux/Config.in | 2 +- buildroot/linux/linux.hash | 12 +- buildroot/package/Makefile.in | 1 + buildroot/package/acl/acl.mk | 1 + buildroot/package/automake/automake.mk | 1 + buildroot/package/avahi/avahi.mk | 4 + buildroot/package/bash/bash.mk | 13 +- buildroot/package/bind/bind.hash | 4 +- buildroot/package/bind/bind.mk | 6 +- buildroot/package/boost/boost.mk | 2 +- .../bridge-utils/0001-fix-build-on-musl.patch | 51 ++++ .../package/bridge-utils/bridge-utils.hash | 4 +- .../package/bridge-utils/bridge-utils.mk | 6 +- buildroot/package/c-periphery/c-periphery.mk | 1 + buildroot/package/cegui/cegui.mk | 7 + .../package/cgroupfs-mount/cgroupfs-mount.mk | 1 + ...-installing-mount.smb3-and-optionall.patch | 41 --- buildroot/package/cifs-utils/Config.in | 18 ++ buildroot/package/cifs-utils/cifs-utils.hash | 2 +- buildroot/package/cifs-utils/cifs-utils.mk | 12 +- buildroot/package/clamav/clamav.hash | 2 +- buildroot/package/clamav/clamav.mk | 2 +- buildroot/package/cmake/cmake.mk | 3 + .../package/coremark-pro/coremark-pro.mk | 2 +- buildroot/package/coreutils/coreutils.mk | 4 + buildroot/package/cryptsetup/cryptsetup.mk | 3 +- buildroot/package/cutelyst/cutelyst.mk | 2 +- buildroot/package/dmalloc/0001-add-fpic.patch | 58 ----- .../{0002-mips.patch => 0001-mips.patch} | 0 ...ld.patch => 0002-fix-parallel-build.patch} | 0 ...fix-shlibs.patch => 0003-fix-shlibs.patch} | 0 ...fix-strdup.patch => 0004-fix-strdup.patch} | 0 ...x-strndup.patch => 0005-fix-strndup.patch} | 0 buildroot/package/dmalloc/dmalloc.mk | 4 + buildroot/package/dnsmasq/dnsmasq.hash | 4 +- buildroot/package/dnsmasq/dnsmasq.mk | 2 +- buildroot/package/docker-cli/docker-cli.mk | 3 + .../package/docker-engine/docker-engine.mk | 3 + ...nd-placeholders-in-global-namespace.patch} | 0 ...CMake-configuration-file-to-use-vers.patch | 55 ---- ... 0002-Build-failure-with-python-3-9.patch} | 0 ...=> 0003-Load-python-3-9-shared-libs.patch} | 0 buildroot/package/domoticz/Config.in | 1 + buildroot/package/efl/efl.hash | 4 +- buildroot/package/efl/efl.mk | 2 +- buildroot/package/exim/exim.hash | 4 +- buildroot/package/exim/exim.mk | 2 +- ...-make-sure-mpegts-read-header-always.patch | 38 --- buildroot/package/ffmpeg/ffmpeg.hash | 2 +- buildroot/package/ffmpeg/ffmpeg.mk | 2 +- buildroot/package/flex/flex.mk | 3 + buildroot/package/fmt/fmt.mk | 1 + .../freescale-imx/imx-vpu/imx-vpu.hash | 4 +- .../0001-arc-Refurbish-adc-sbc-patterns.patch | 242 ------------------ ...et-92095-internal-error-with-O1-mcp.patch} | 31 ++- buildroot/package/gcc/Config.in.host | 2 +- buildroot/package/gcc/gcc.hash | 4 +- ...wnership-and-permission-of-the-root-.patch | 36 +++ buildroot/package/gerbera/gerbera.mk | 2 +- buildroot/package/go/go.hash | 2 +- buildroot/package/go/go.mk | 2 +- buildroot/package/gperf/gperf.mk | 2 + .../gst1-interpipe/gst1-interpipe.hash | 2 +- .../gst1-interpipe/gst1-interpipe.mk | 2 +- buildroot/package/haproxy/haproxy.hash | 4 +- buildroot/package/haproxy/haproxy.mk | 2 +- ...DigestAlgorithmIdentifier-parameters.patch | 116 +++++++++ buildroot/package/hostapd/hostapd.mk | 3 + ...transfer-add-check-for-returned-leng.patch | 41 +++ buildroot/package/iproute2/iproute2.mk | 1 + buildroot/package/iputils/iputils.mk | 1 + .../json-for-modern-cpp.mk | 2 + ...c-tools-fix-build-on-pre-4.4-kernels.patch | 34 +++ .../package/kf5/kf5-kcoreaddons/Config.in | 1 + .../kf5-modemmanager-qt.mk | 2 +- buildroot/package/kismet/kismet.mk | 3 + buildroot/package/kodi/kodi.mk | 3 +- buildroot/package/libcamera/Config.in | 1 + buildroot/package/libcap/libcap.mk | 1 + buildroot/package/libcgroup/libcgroup.mk | 1 + buildroot/package/libcurl/libcurl.hash | 4 +- buildroot/package/libcurl/libcurl.mk | 2 +- buildroot/package/libdaemon/libdaemon.mk | 2 + buildroot/package/libdrm/libdrm.mk | 2 +- buildroot/package/libfreefare/Config.in | 4 - buildroot/package/libfuse3/libfuse3.hash | 2 +- buildroot/package/libfuse3/libfuse3.mk | 2 +- buildroot/package/libgeos/Config.in | 9 +- buildroot/package/libgpiod/libgpiod.hash | 2 +- buildroot/package/libgpiod/libgpiod.mk | 2 +- buildroot/package/libnl/libnl.mk | 2 + buildroot/package/libnpupnp/libnpupnp.hash | 4 +- buildroot/package/libnpupnp/libnpupnp.mk | 2 +- buildroot/package/libopenssl/Config.in | 4 - buildroot/package/libopenssl/libopenssl.mk | 25 +- buildroot/package/libp11/libp11.hash | 4 +- buildroot/package/libp11/libp11.mk | 2 +- buildroot/package/libqmi/libqmi.mk | 1 + buildroot/package/librsync/librsync.hash | 2 +- buildroot/package/librsync/librsync.mk | 4 +- buildroot/package/libtomcrypt/Config.in | 2 +- buildroot/package/libtomcrypt/libtomcrypt.mk | 4 + buildroot/package/libtool/libtool.mk | 1 + buildroot/package/libupnp/libupnp.hash | 2 +- buildroot/package/libupnp/libupnp.mk | 2 +- .../package/linux-headers/Config.in.host | 12 +- ...ACK-only-build-and-install-localedef.patch | 0 ...y-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0 .../localedef.hash | 2 +- buildroot/package/localedef/localedef.mk | 2 +- buildroot/package/lvm2/lvm2.hash | 2 +- buildroot/package/lvm2/lvm2.mk | 2 +- buildroot/package/lxc/lxc.hash | 2 +- buildroot/package/lxc/lxc.mk | 2 +- .../m4/0003-c-stack-stop-using-SIGSTKSZ.patch | 106 ++++++++ buildroot/package/make/make.mk | 2 + buildroot/package/makedevs/makedevs.mk | 6 +- buildroot/package/mender/mender.mk | 8 - .../package/mesa3d-headers/mesa3d-headers.mk | 2 +- buildroot/package/mesa3d/mesa3d.hash | 6 +- buildroot/package/mesa3d/mesa3d.mk | 2 +- buildroot/package/mkpasswd/mkpasswd.mk | 6 +- buildroot/package/mkpimage/mkpimage.mk | 6 +- .../package/modem-manager/modem-manager.mk | 7 + buildroot/package/monkey/monkey.hash | 7 +- buildroot/package/monkey/monkey.mk | 18 +- buildroot/package/mpd/mpd.hash | 2 +- buildroot/package/mpd/mpd.mk | 2 +- buildroot/package/ncurses/ncurses.mk | 6 + .../0001-disable-testsuite-examples.patch | 4 +- buildroot/package/nettle/Config.in | 2 +- buildroot/package/nettle/nettle.hash | 4 +- buildroot/package/nettle/nettle.mk | 2 +- .../network-manager/network-manager.hash | 10 +- .../network-manager/network-manager.mk | 2 +- ...to-os-linux-fix-build-with-libxcrypt.patch | 38 +++ buildroot/package/nginx/nginx.mk | 4 +- ...0001-Do-not-stringify-SYMVER-symbols.patch | 25 ++ buildroot/package/numactl/Config.in | 11 +- buildroot/package/numactl/numactl.mk | 4 + .../package/openjdk-bin/openjdk-bin.hash | 2 +- buildroot/package/openjdk-bin/openjdk-bin.mk | 4 +- .../11.0.8+10/0001-fix-gcc-10-support.patch | 119 --------- buildroot/package/openjdk/openjdk.hash | 2 +- buildroot/package/openjdk/openjdk.mk | 4 +- ...TS-9454-fix-issuerAndThisUpdateCheck.patch | 26 -- buildroot/package/openldap/openldap.hash | 10 +- buildroot/package/openldap/openldap.mk | 5 +- buildroot/package/openresolv/openresolv.mk | 1 + buildroot/package/openvpn/openvpn.hash | 2 +- buildroot/package/openvpn/openvpn.mk | 2 +- buildroot/package/parted/parted.mk | 1 + buildroot/package/php/php.hash | 2 +- buildroot/package/php/php.mk | 2 +- buildroot/package/pipewire/Config.in | 7 +- buildroot/package/pkgconf/pkgconf.mk | 1 + buildroot/package/poppler/poppler.mk | 2 +- buildroot/package/popt/popt.mk | 2 + buildroot/package/pugixml/pugixml.mk | 2 + .../python-aioconsole/python-aioconsole.hash | 4 +- .../python-aioconsole/python-aioconsole.mk | 4 +- .../python-asgiref/python-asgiref.hash | 4 +- .../package/python-asgiref/python-asgiref.mk | 4 +- buildroot/package/python-botocore/Config.in | 1 - .../package/python-django/python-django.hash | 4 +- .../package/python-django/python-django.mk | 4 +- .../python-dnspython/python-dnspython.mk | 7 + buildroot/package/python-flup/Config.in | 2 +- buildroot/package/python-httplib2/Config.in | 1 + .../python-httplib2/python-httplib2.hash | 8 +- .../python-httplib2/python-httplib2.mk | 8 +- .../python-markdown2/python-markdown2.mk | 1 + .../package/python-mbstrdecoder/Config.in | 1 + .../python-mbstrdecoder.hash | 4 +- .../python-mbstrdecoder.mk | 4 +- .../python3-decorator/python3-decorator.mk | 2 + .../python3-setuptools/python3-setuptools.mk | 2 + buildroot/package/python3/python3.hash | 6 +- buildroot/package/python3/python3.mk | 2 +- buildroot/package/quickjs/Config.in | 2 + ...rses-link.patch => 0001-curses-link.patch} | 2 + buildroot/package/rng-tools/rng-tools.mk | 2 + buildroot/package/rp-pppoe/rp-pppoe.mk | 2 + buildroot/package/rsyslog/rsyslog.mk | 9 + buildroot/package/rsyslog/rsyslog.service | 19 ++ buildroot/package/rt-tests/Config.in | 4 +- buildroot/package/ruby/ruby.hash | 4 +- buildroot/package/ruby/ruby.mk | 2 +- buildroot/package/rust-bin/rust-bin.hash | 96 +++---- buildroot/package/rust-bin/rust-bin.mk | 2 +- buildroot/package/rust/rust.hash | 6 +- buildroot/package/rust/rust.mk | 2 +- buildroot/package/samba4/Config.in | 2 + buildroot/package/samba4/samba4.hash | 4 +- buildroot/package/samba4/samba4.mk | 12 +- buildroot/package/sconeserver/Config.in | 8 - buildroot/package/sconeserver/sconeserver.mk | 15 +- buildroot/package/snort/snort.hash | 4 +- buildroot/package/snort/snort.mk | 2 +- ...ure.ac-fix-static-linking-with-magic.patch | 18 +- buildroot/package/sox/sox.mk | 4 +- buildroot/package/sysdig/sysdig.mk | 1 + buildroot/package/sysklogd/sysklogd.hash | 5 +- buildroot/package/sysklogd/sysklogd.mk | 2 +- buildroot/package/sysstat/sysstat.mk | 1 + buildroot/package/systemd/Config.in | 2 +- buildroot/package/systemd/systemd.mk | 7 +- buildroot/package/sysvinit/sysvinit.mk | 1 + .../0001-Fix-memory-leak-in-read_header.patch | 129 ++++++++++ buildroot/package/tar/tar.mk | 5 + .../package/timescaledb/timescaledb.hash | 2 +- buildroot/package/timescaledb/timescaledb.mk | 2 +- buildroot/package/tio/Config.in | 7 + buildroot/package/tor/tor.hash | 2 +- buildroot/package/tor/tor.mk | 7 +- .../usb_modeswitch/usb_modeswitch.hash | 8 +- .../package/usb_modeswitch/usb_modeswitch.mk | 2 +- buildroot/package/wampcc/wampcc.mk | 2 +- ...DigestAlgorithmIdentifier-parameters.patch | 116 +++++++++ .../package/wpa_supplicant/wpa_supplicant.mk | 3 + .../x11r7/xdriver_xf86-video-ati/Config.in | 2 + .../x11r7/xlib_libXaw/xlib_libXaw.hash | 8 +- .../package/x11r7/xlib_libXaw/xlib_libXaw.mk | 2 +- .../x11r7/xserver_xorg-server/Config.in | 30 --- .../xserver_xorg-server.hash | 6 +- .../xserver_xorg-server.mk | 35 +-- buildroot/package/xen/xen.hash | 8 +- buildroot/package/xen/xen.mk | 15 +- buildroot/support/misc/Vagrantfile | 2 +- buildroot/support/scripts/cve.py | 11 + .../testing/tests/package/test_openjdk.py | 2 +- buildroot/toolchain/Config.in | 6 + 247 files changed, 1386 insertions(+), 1257 deletions(-) delete mode 100644 buildroot-patches/0005-package-rpi-firmware-Allow-to-deploy-multiple-firmwa.patch delete mode 100644 buildroot-patches/0006-package-docker-engine-bump-version-to-20.10.6.patch delete mode 100644 buildroot-patches/0006-package-linux-firmware-add-RTL87XX-RTL88XX-Bluetooth.patch delete mode 100644 buildroot-patches/0008-package-docker-cli-bump-version-to-20.10.6.patch create mode 100644 buildroot/package/bridge-utils/0001-fix-build-on-musl.patch delete mode 100644 buildroot/package/cifs-utils/0001-Use-DESTDIR-when-installing-mount.smb3-and-optionall.patch delete mode 100644 buildroot/package/dmalloc/0001-add-fpic.patch rename buildroot/package/dmalloc/{0002-mips.patch => 0001-mips.patch} (100%) rename buildroot/package/dmalloc/{0003-fix-parallel-build.patch => 0002-fix-parallel-build.patch} (100%) rename buildroot/package/dmalloc/{0004-fix-shlibs.patch => 0003-fix-shlibs.patch} (100%) rename buildroot/package/dmalloc/{0005-fix-strdup.patch => 0004-fix-strdup.patch} (100%) rename buildroot/package/dmalloc/{0006-fix-strndup.patch => 0005-fix-strndup.patch} (100%) rename buildroot/package/domoticz/{0002-Avoid-deprecated-bind-placeholders-in-global-namespace.patch => 0001-Avoid-deprecated-bind-placeholders-in-global-namespace.patch} (100%) delete mode 100644 buildroot/package/domoticz/0001-Revert-Updating-CMake-configuration-file-to-use-vers.patch rename buildroot/package/domoticz/{0003-Build-failure-with-python-3-9.patch => 0002-Build-failure-with-python-3-9.patch} (100%) rename buildroot/package/domoticz/{0004-Load-python-3-9-shared-libs.patch => 0003-Load-python-3-9-shared-libs.patch} (100%) delete mode 100644 buildroot/package/ffmpeg/0004-avformat-mpegts-make-sure-mpegts-read-header-always.patch delete mode 100644 buildroot/package/gcc/10.2.0/0001-arc-Refurbish-adc-sbc-patterns.patch rename buildroot/package/gcc/{10.2.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch => 10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch} (93%) create mode 100644 buildroot/package/genext2fs/0002-allow-changing-ownership-and-permission-of-the-root-.patch create mode 100644 buildroot/package/hostapd/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch create mode 100644 buildroot/package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch create mode 100644 buildroot/package/kexec/0003-kexec-tools-fix-build-on-pre-4.4-kernels.patch rename buildroot/package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/0001-HACK-only-build-and-install-localedef.patch (100%) rename buildroot/package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%) rename buildroot/package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/localedef.hash (72%) create mode 100644 buildroot/package/m4/0003-c-stack-stop-using-SIGSTKSZ.patch create mode 100644 buildroot/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch create mode 100644 buildroot/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch delete mode 100644 buildroot/package/openjdk/11.0.8+10/0001-fix-gcc-10-support.patch delete mode 100644 buildroot/package/openldap/0005-ITS-9454-fix-issuerAndThisUpdateCheck.patch rename buildroot/package/readline/{0000-curses-link.patch => 0001-curses-link.patch} (85%) create mode 100644 buildroot/package/rsyslog/rsyslog.service create mode 100644 buildroot/package/tar/0001-Fix-memory-leak-in-read_header.patch create mode 100644 buildroot/package/wpa_supplicant/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch diff --git a/buildroot-patches/0005-package-rpi-firmware-Allow-to-deploy-multiple-firmwa.patch b/buildroot-patches/0005-package-rpi-firmware-Allow-to-deploy-multiple-firmwa.patch deleted file mode 100644 index a6644b644..000000000 --- a/buildroot-patches/0005-package-rpi-firmware-Allow-to-deploy-multiple-firmwa.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 49e3db2dafa620dcbb11c1ed68f442aa8fd4696f Mon Sep 17 00:00:00 2001 -Message-Id: <49e3db2dafa620dcbb11c1ed68f442aa8fd4696f.1614713774.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Mon, 8 Feb 2021 14:08:28 +0100 -Subject: [PATCH 5/5] package/rpi-firmware: Allow to deploy multiple firmware - files - -Add a new config option to allow a specific list of firmware files to be -deployed. This is useful if the system needs to decide at runtime which -firmware to use. - -Signed-off-by: Stefan Agner ---- - package/rpi-firmware/Config.in | 10 ++++++++++ - package/rpi-firmware/rpi-firmware.mk | 17 +++++++++++++++-- - 2 files changed, 25 insertions(+), 2 deletions(-) - -diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in -index f5a25c5680..ce31ad46de 100644 ---- a/package/rpi-firmware/Config.in -+++ b/package/rpi-firmware/Config.in -@@ -58,8 +58,18 @@ config BR2_PACKAGE_RPI_FIRMWARE_CD - The cut-down firmware, for emergency situations, with only - features required to boot a Linux kernel. - -+config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_LIST -+ bool "deploy firmware files from list" -+ help -+ Deploy firmware files as listed. -+ - endchoice - -+config BR2_PACKAGE_RPI_FIRMWARE_LIST -+ string -+ default "start.elf start_x.elf start_cd.elf fixup.dat fixup_x.dat fixup_cd.dat" if BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI -+ default "start4.elf start4x.elf start4cd.elf fixup4.dat fixup4x.dat fixup4cd.dat" if BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 -+ - config BR2_PACKAGE_RPI_FIRMWARE_BOOT - string - default "" if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI -diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk -index f3d28ef825..58085a8ca8 100644 ---- a/package/rpi-firmware/rpi-firmware.mk -+++ b/package/rpi-firmware/rpi-firmware.mk -@@ -48,11 +48,24 @@ define RPI_FIRMWARE_INSTALL_BOOTCODE_BIN - endef - endif - -+ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_LIST),y) -+define RPI_FIRMWARE_INSTALL_FIRMWARE -+ $(foreach firmware,$(call qstrip,$(BR2_PACKAGE_RPI_FIRMWARE_LIST)), \ -+ $(INSTALL) -D -m 0644 $(@D)/boot/$(firmware) $(BINARIES_DIR)/rpi-firmware/$(firmware) -+ ) -+endef -+else -+define RPI_FIRMWARE_INSTALL_FIRMWARE -+ $(INSTALL) -D -m 0644 $(@D)/boot/start$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).elf $(BINARIES_DIR)/rpi-firmware/start.elf -+ $(INSTALL) -D -m 0644 $(@D)/boot/fixup$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).dat $(BINARIES_DIR)/rpi-firmware/fixup.dat -+endef -+endif -+ -+ - define RPI_FIRMWARE_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 package/rpi-firmware/config.txt $(BINARIES_DIR)/rpi-firmware/config.txt - $(INSTALL) -D -m 0644 package/rpi-firmware/cmdline.txt $(BINARIES_DIR)/rpi-firmware/cmdline.txt -- $(INSTALL) -D -m 0644 $(@D)/boot/start$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).elf $(BINARIES_DIR)/rpi-firmware/start.elf -- $(INSTALL) -D -m 0644 $(@D)/boot/fixup$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).dat $(BINARIES_DIR)/rpi-firmware/fixup.dat -+ $(RPI_FIRMWARE_INSTALL_FIRMWARE) - $(RPI_FIRMWARE_INSTALL_BOOTCODE_BIN) - $(RPI_FIRMWARE_INSTALL_DTB) - $(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS) --- -2.30.1 - diff --git a/buildroot-patches/0006-package-docker-engine-bump-version-to-20.10.6.patch b/buildroot-patches/0006-package-docker-engine-bump-version-to-20.10.6.patch deleted file mode 100644 index 182237d81..000000000 --- a/buildroot-patches/0006-package-docker-engine-bump-version-to-20.10.6.patch +++ /dev/null @@ -1,39 +0,0 @@ -From fd8fc4e0640965e06657782d324eef73f33ed745 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch> -References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch> -From: Stefan Agner -Date: Thu, 15 Apr 2021 17:21:47 +0200 -Subject: [PATCH 6/9] package/docker-engine: bump version to 20.10.6 - -Signed-off-by: Stefan Agner ---- - package/docker-engine/docker-engine.hash | 2 +- - package/docker-engine/docker-engine.mk | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash -index 7e3ce6a5cf..6c55b9a9b9 100644 ---- a/package/docker-engine/docker-engine.hash -+++ b/package/docker-engine/docker-engine.hash -@@ -1,3 +1,3 @@ - # Locally calculated --sha256 bcf651d75e5c80421e8cd3b0d47f3425e01047cf67aef0eda83b68776905a583 docker-engine-20.10.5.tar.gz -+sha256 fd7f5571b1f64f26b5ca520a3e1fefb33c190f3732b931051c23a76bdba5000e docker-engine-20.10.6.tar.gz - sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE -diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk -index d3f4d81572..c383ef8510 100644 ---- a/package/docker-engine/docker-engine.mk -+++ b/package/docker-engine/docker-engine.mk -@@ -4,7 +4,7 @@ - # - ################################################################################ - --DOCKER_ENGINE_VERSION = 20.10.5 -+DOCKER_ENGINE_VERSION = 20.10.6 - DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) - - DOCKER_ENGINE_LICENSE = Apache-2.0 --- -2.31.1 - diff --git a/buildroot-patches/0006-package-linux-firmware-add-RTL87XX-RTL88XX-Bluetooth.patch b/buildroot-patches/0006-package-linux-firmware-add-RTL87XX-RTL88XX-Bluetooth.patch deleted file mode 100644 index 5179394f1..000000000 --- a/buildroot-patches/0006-package-linux-firmware-add-RTL87XX-RTL88XX-Bluetooth.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 51c25488d718cdeb022e60cacc8ddcb6d9a97cc7 Mon Sep 17 00:00:00 2001 -Message-Id: <51c25488d718cdeb022e60cacc8ddcb6d9a97cc7.1616146775.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Wed, 17 Mar 2021 14:48:43 +0100 -Subject: [PATCH 6/6] package/linux-firmware: add RTL87XX/RTL88XX Bluetooth - firmware - -Add firmware files for Realtek 87XX and 88XX Bluetooth chipsets. Those -are supported by the upstream Realtek Bluetooth driver CONFIG_BT_RTL. - -Signed-off-by: Stefan Agner ---- - package/linux-firmware/Config.in | 10 ++++++++++ - package/linux-firmware/linux-firmware.mk | 21 +++++++++++++++++++++ - 2 files changed, 31 insertions(+) - -diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in -index a41310ff2a..ba3322fa18 100644 ---- a/package/linux-firmware/Config.in -+++ b/package/linux-firmware/Config.in -@@ -79,6 +79,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB - help - Firmware files for Atheros bluetooth chipset AR3012 on USB. - -+config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT -+ bool "Realtek 87xx Bluetooth" -+ help -+ Realtek 8723a/8723b/8723bs/8723d/8723ds/8761a -+ -+config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT -+ bool "Realtek 88xx Bluetooth" -+ help -+ Realtek 8821a/8821c/8822b/8822cs/8822cu/8852au -+ - config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 - bool "TI CC2560" - help -diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk -index f23da171c6..9c512ab750 100644 ---- a/package/linux-firmware/linux-firmware.mk -+++ b/package/linux-firmware/linux-firmware.mk -@@ -64,6 +64,27 @@ LINUX_FIRMWARE_FILES += qca/rampatch_usb_00000302.bin qca/nvm_usb_00000302.bin - LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom - endif - -+# Realtek 87xx Bluetooth -+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT),y) -+LINUX_FIRMWARE_FILES += \ -+ rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \ -+ rtl_bt/rtl8723bs_config-OBDA8723.bin \ -+ rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \ -+ rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin -+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -+endif -+ -+# Realtek 88xx Bluetooth -+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y) -+LINUX_FIRMWARE_FILES += \ -+ rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \ -+ rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \ -+ rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \ -+ rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \ -+ rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin -+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -+endif -+ - # rt2501/rt61 - ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y) - LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin --- -2.30.2 - diff --git a/buildroot-patches/0008-package-docker-cli-bump-version-to-20.10.6.patch b/buildroot-patches/0008-package-docker-cli-bump-version-to-20.10.6.patch deleted file mode 100644 index 2aa971ed4..000000000 --- a/buildroot-patches/0008-package-docker-cli-bump-version-to-20.10.6.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 6d3b66a8211a91ca74361a0a3393e9bc529009a1 Mon Sep 17 00:00:00 2001 -Message-Id: <6d3b66a8211a91ca74361a0a3393e9bc529009a1.1618500237.git.stefan@agner.ch> -In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch> -References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch> -From: Stefan Agner -Date: Thu, 15 Apr 2021 17:22:40 +0200 -Subject: [PATCH 8/9] package/docker-cli: bump version to 20.10.6 - -Signed-off-by: Stefan Agner ---- - package/docker-cli/docker-cli.hash | 2 +- - package/docker-cli/docker-cli.mk | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/package/docker-cli/docker-cli.hash b/package/docker-cli/docker-cli.hash -index f4787062bb..bb3444c270 100644 ---- a/package/docker-cli/docker-cli.hash -+++ b/package/docker-cli/docker-cli.hash -@@ -1,3 +1,3 @@ - # Locally calculated --sha256 4ba845f8c7e2e0a2ca1ec6589847159ca8d0d37b609f0e6f78def7a893b9b342 docker-cli-20.10.5.tar.gz -+sha256 eda53b96ab83a59502df2e5e00ab7ee867243259407ef454be55e695303c1113 docker-cli-20.10.6.tar.gz - sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE -diff --git a/package/docker-cli/docker-cli.mk b/package/docker-cli/docker-cli.mk -index d710bb2fee..8607070e17 100644 ---- a/package/docker-cli/docker-cli.mk -+++ b/package/docker-cli/docker-cli.mk -@@ -4,7 +4,7 @@ - # - ################################################################################ - --DOCKER_CLI_VERSION = 20.10.5 -+DOCKER_CLI_VERSION = 20.10.6 - DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) - - DOCKER_CLI_LICENSE = Apache-2.0 --- -2.31.1 - diff --git a/buildroot/CHANGES b/buildroot/CHANGES index 9afcc4ab7..35f8fbec0 100644 --- a/buildroot/CHANGES +++ b/buildroot/CHANGES @@ -1,3 +1,54 @@ +2021.02.2, released May 12th, 2021 + + Important / security related fixes. + + Toolchain: Add logic to mark toolchains affected by binutils + bug 27597 (Nios II). + + support/scripts/cve.py: Use the (significantly) faster yajl2 + ijson backend for older (< 2.5) ijson versions rather than the + slow python default, speeding up pkg-stats by ~2x. + + CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than + CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility + issue with poppler. + + Infrastructure: Expose CONFIG_DIR to post-build/post-image + scripts, so they can call the Buildroot Makefile in the + correct directory for both in-tree / out-of-tree builds. + + Updated/fixed packages: at91bootstrap, avahi, bash, bind, + bridge-utils, boost, cegui, cifs-utils, clamav, cmake, + coremark-pro, coreutils, cryptsetup, dmalloc, dnsmasq, + docker-cli, docker-engine, domoticz, efl, exim, ffmpeg, flex, + gcc, genext2fs, go, gst1-interpipe, haproxy, hostapd, + i2c-tools, imx-vpu, kexec, kf5-kcoreaddons, kismet, libcamera, + libcurl, libdrm, libfreefare, libfuse3, libgeos, libgpiod, + libnpupnp, libopenssl, libp11, librsync, libtomcrypt, libupnp, + localedef, lvm2, lxc, m4, makedevs, mender, mesa3d, + mesa3d-headers, mkpasswd, mkpimage, modem-manager, monkey, + mpd, ncurses, nettle, network-manager, nginx, numactl, + openjdk, openjdk-bin, openldap, openvpn, php, pipewire, + python-aioconsole, python-asgiref, python-botocore, + python-django, python-dnspython, python-flup, python-httplib2, + python-markdown2, python-mbrstrdecoder, python3, quickjs, + readline, rsyslog, ruby, rust, samba4, sconeserver, snort, + sox, systemd, tar, timescaledb, tio, tor, usb_modeswitch, + wpa_supplicant, xdriver_xf86-video-ati, xen, xlib_libXaw, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa.. + #13551: 2021.02.rc2: Unicode not work on qt 5.15.2 + #13651: pkg-golang cannot build when main.go is in the root + #13661: host-python2 build fails on aarch64 + #13721: c-stack.c:55:26: error: missing binary operator before .. + #13731: Readline Patch is missing Author Information + #13741: genext2fs does not allow to set perms of root node + #13751: libopenssl (static): huge drop in performance in newer .. + #13771: package htop has undeclared dependency on host python + 2021.02.1, released April 7, 2021 Important / security related fixes. diff --git a/buildroot/Config.in.legacy b/buildroot/Config.in.legacy index 9deb67b31..530c2ba82 100644 --- a/buildroot/Config.in.legacy +++ b/buildroot/Config.in.legacy @@ -146,6 +146,31 @@ endif comment "Legacy options removed in 2021.02" +config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE + bool "sconeserver http::sconesite::image removed" + select BR2_LEGACY + help + Sconeserver cannot be built with ImageMagick - it uses the + "transofrm" function which is removed from public API. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV + bool "KDrive/TinyX evdev input driver removed" + select BR2_LEGACY + help + The evdev input driver in KDrive was removed. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD + bool "KDrive/TinyX kbd input driver removed" + select BR2_LEGACY + help + The kbd input driver in KDrive was removed. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE + bool "KDrive/TinyX mouse input driver removed" + select BR2_LEGACY + help + The mouse input driver in KDrive was removed. + config BR2_PACKAGE_MPD_AUDIOFILE bool "mpd audiofile support removed" select BR2_LEGACY diff --git a/buildroot/DEVELOPERS b/buildroot/DEVELOPERS index 53626566b..52dabb9d1 100644 --- a/buildroot/DEVELOPERS +++ b/buildroot/DEVELOPERS @@ -468,7 +468,7 @@ N: Bogdan Radulescu F: package/iftop/ F: package/ncdu/ -N: Brandon Maier +N: Brandon Maier F: package/vmtouch/ N: Brock Williams @@ -569,7 +569,7 @@ F: package/perl-sys-mmap/ F: package/perl-time-parsedate/ F: package/perl-x10/ -N: Clayton Shotwell +N: Clayton Shotwell F: package/audit/ F: package/checkpolicy/ F: package/cpio/ @@ -671,6 +671,19 @@ F: package/libstrophe/ N: Derrick Lyndon Pallas F: package/ipcalc/ +N: Dick Olsson +F: package/bearssl/ +F: package/execline/ +F: package/mdevd/ +F: package/s6-dns/ +F: package/s6-linux-init/ +F: package/s6-linux-utils/ +F: package/s6-networking/ +F: package/s6-portable-utils/ +F: package/s6-rc/ +F: package/s6/ +F: package/skalibs/ + N: Dimitrios Siganos F: package/wireless-regdb/ @@ -1201,7 +1214,7 @@ F: package/python-sockjs/ F: package/python-terminaltables/ F: package/python-yarl/ -N: James Knight +N: James Knight F: package/atkmm/ F: package/cairomm/ F: package/google-material-design-icons/ @@ -1690,7 +1703,7 @@ F: board/technologic/ts4900/ F: configs/ts4900_defconfig F: package/ts4900-fpga/ -N: Matt Weber +N: Matt Weber F: board/freescale/p* F: board/freescale/t* F: board/qemu/ppc64-e5500/ @@ -2303,7 +2316,7 @@ F: toolchain/ N: Roman Gorbenkov F: package/davfs2/ -N: Ryan Barnett +N: Ryan Barnett F: package/atftp/ F: package/c-periphery/ F: package/miraclecast/ @@ -2340,7 +2353,7 @@ F: support/misc/toolchainfile.cmake.in N: Sam Voss F: package/ripgrep/ -N: Santosh Multhalli +N: Santosh Multhalli F: package/valijson/ N: Sébastien Szymanski diff --git a/buildroot/Makefile b/buildroot/Makefile index 01352eec5..83e90317e 100644 --- a/buildroot/Makefile +++ b/buildroot/Makefile @@ -92,9 +92,9 @@ all: .PHONY: all # Set and export the version string -export BR2_VERSION := 2021.02.1 +export BR2_VERSION := 2021.02.2 # Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1617790000 +BR2_VERSION_EPOCH = 1620810000 # Save running make version since it's clobbered by the make package RUNNING_MAKE_VERSION := $(MAKE_VERSION) diff --git a/buildroot/boot/at91bootstrap/at91bootstrap.hash b/buildroot/boot/at91bootstrap/at91bootstrap.hash index b1f963b82..d9f8db889 100644 --- a/buildroot/boot/at91bootstrap/at91bootstrap.hash +++ b/buildroot/boot/at91bootstrap/at91bootstrap.hash @@ -1,2 +1,3 @@ # locally computed sha256 d66192a274247f4baa39fa932eadf903d7add55641d89d30402f967c4f2282a5 AT91Bootstrap1.16.zip +sha256 6a3ac5dfcf19e6bac1b1109d30d72818768a3855e2594b84fe2b012b5fe0e77b include/sdramc.h diff --git a/buildroot/boot/at91bootstrap/at91bootstrap.mk b/buildroot/boot/at91bootstrap/at91bootstrap.mk index c68b56b6e..1a084756f 100644 --- a/buildroot/boot/at91bootstrap/at91bootstrap.mk +++ b/buildroot/boot/at91bootstrap/at91bootstrap.mk @@ -7,6 +7,8 @@ AT91BOOTSTRAP_VERSION = 1.16 AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip +AT91BOOTSTRAP_LICENSE = BSD-Source-Code +AT91BOOTSTRAP_LICENSE_FILES = include/sdramc.h AT91BOOTSTRAP_BOARD = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_BOARD)) AT91BOOTSTRAP_MEMORY = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_MEMORY)) diff --git a/buildroot/docs/manual/customize-post-image.txt b/buildroot/docs/manual/customize-post-image.txt index 90ea2b932..5308093d0 100644 --- a/buildroot/docs/manual/customize-post-image.txt +++ b/buildroot/docs/manual/customize-post-image.txt @@ -28,7 +28,8 @@ different sets of arguments to each script. Again just like for the post-build scripts, the scripts have access to the environment variables +BR2_CONFIG+, +HOST_DIR+, +STAGING_DIR+, -+TARGET_DIR+, +BUILD_DIR+, +BINARIES_DIR+ and +BASE_DIR+. ++TARGET_DIR+, +BUILD_DIR+, +BINARIES_DIR+, +CONFIG_DIR+ and ++BASE_DIR+. The post-image scripts will be executed as the user that executes Buildroot, which should normally _not_ be the root user. Therefore, any diff --git a/buildroot/docs/manual/customize-rootfs.txt b/buildroot/docs/manual/customize-rootfs.txt index e1dbadda5..e46306fd2 100644 --- a/buildroot/docs/manual/customize-rootfs.txt +++ b/buildroot/docs/manual/customize-rootfs.txt @@ -60,6 +60,9 @@ The post-build scripts are run with the main Buildroot tree as current In addition, you may also use these environment variables: - +BR2_CONFIG+: the path to the Buildroot .config file + - +CONFIG_DIR+: the directory containing the .config file, and + therefore the top-level Buildroot Makefile to use (which is + correct for both in-tree and out-of-tree builds) - +HOST_DIR+, +STAGING_DIR+, +TARGET_DIR+: see xref:generic-package-reference[] - +BUILD_DIR+: the directory where packages are extracted and built diff --git a/buildroot/docs/manual/manual.html b/buildroot/docs/manual/manual.html index fbdef4a27..4ba10a3f8 100644 --- a/buildroot/docs/manual/manual.html +++ b/buildroot/docs/manual/manual.html @@ -1,8 +1,8 @@ -The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Details about packages
8.9. Graphing the dependencies between packages
8.10. Graphing the build duration
8.11. Graphing the filesystem size contribution of packages
8.12. Top-level parallel build
8.13. Integration with Eclipse
8.14. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Using SELinux in Buildroot
10.1. Enabling SELinux support
10.2. SELinux policy tweaking
11. Frequently Asked Questions & Troubleshooting
11.1. The boot hangs after Starting network…
11.2. Why is there no compiler on the target?
11.3. Why are there no development files on the target?
11.4. Why is there no documentation on the target?
11.5. Why are some packages not visible in the Buildroot config menu?
11.6. Why not use the target directory as a chroot directory?
11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
11.8. How to speed-up the build process?
12. Known issues
13. Legal notice and licensing
13.1. Complying with open source licenses
13.2. Complying with the Buildroot license
14. Beyond Buildroot
14.1. Boot the generated images
14.2. Chroot
III. Developer guide
15. How Buildroot works
16. Coding style
16.1. Config.in file
16.2. The .mk file
16.3. The documentation
16.4. Support scripts
17. Adding support for a particular board
18. Adding new packages to Buildroot
18.1. Package directory
18.2. Config files
18.3. The .mk file
18.4. The .hash file
18.5. Infrastructure for packages with specific build systems
18.6. Infrastructure for autotools-based packages
18.7. Infrastructure for CMake-based packages
18.8. Infrastructure for Python packages
18.9. Infrastructure for LuaRocks-based packages
18.10. Infrastructure for Perl/CPAN packages
18.11. Infrastructure for virtual packages
18.12. Infrastructure for packages using kconfig for configuration files
18.13. Infrastructure for rebar-based packages
18.14. Infrastructure for Waf-based packages
18.15. Infrastructure for Meson-based packages
18.16. Integration of Cargo-based packages
18.17. Infrastructure for Go packages
18.18. Infrastructure for QMake-based packages
18.19. Infrastructure for packages building kernel modules
18.20. Infrastructure for asciidoc documents
18.21. Infrastructure specific to the Linux kernel package
18.22. Hooks available in the various build steps
18.23. Gettext integration and interaction with packages
18.24. Tips and tricks
18.25. Conclusion
19. Patching a package
19.1. Providing patches
19.2. How patches are applied
19.3. Format and licensing of the package patches
19.4. Integrating patches found on the Web
20. Download infrastructure
21. Debugging Buildroot
22. Contributing to Buildroot
22.1. Reproducing, analyzing and fixing bugs
22.2. Analyzing and fixing autobuild failures
22.3. Reviewing and testing patches
22.4. Work on items from the TODO list
22.5. Submitting patches
22.6. Reporting issues/bugs or getting help
22.7. Using the run-tests framework
23. DEVELOPERS file and get-developers
24. Release Engineering
24.1. Releases
24.2. Development
IV. Appendix
25. Makedev syntax documentation
26. Makeusers syntax documentation
27. Migrating from older Buildroot versions
27.1. Migrating to 2016.11
27.2. Migrating to 2017.08

Buildroot 2021.02.1 manual generated on 2021-04-07 -10:22:21 UTC from git revision 6668381363

The Buildroot manual is written by the Buildroot developers. +The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Details about packages
8.9. Graphing the dependencies between packages
8.10. Graphing the build duration
8.11. Graphing the filesystem size contribution of packages
8.12. Top-level parallel build
8.13. Integration with Eclipse
8.14. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Using SELinux in Buildroot
10.1. Enabling SELinux support
10.2. SELinux policy tweaking
11. Frequently Asked Questions & Troubleshooting
11.1. The boot hangs after Starting network…
11.2. Why is there no compiler on the target?
11.3. Why are there no development files on the target?
11.4. Why is there no documentation on the target?
11.5. Why are some packages not visible in the Buildroot config menu?
11.6. Why not use the target directory as a chroot directory?
11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
11.8. How to speed-up the build process?
12. Known issues
13. Legal notice and licensing
13.1. Complying with open source licenses
13.2. Complying with the Buildroot license
14. Beyond Buildroot
14.1. Boot the generated images
14.2. Chroot
III. Developer guide
15. How Buildroot works
16. Coding style
16.1. Config.in file
16.2. The .mk file
16.3. The documentation
16.4. Support scripts
17. Adding support for a particular board
18. Adding new packages to Buildroot
18.1. Package directory
18.2. Config files
18.3. The .mk file
18.4. The .hash file
18.5. Infrastructure for packages with specific build systems
18.6. Infrastructure for autotools-based packages
18.7. Infrastructure for CMake-based packages
18.8. Infrastructure for Python packages
18.9. Infrastructure for LuaRocks-based packages
18.10. Infrastructure for Perl/CPAN packages
18.11. Infrastructure for virtual packages
18.12. Infrastructure for packages using kconfig for configuration files
18.13. Infrastructure for rebar-based packages
18.14. Infrastructure for Waf-based packages
18.15. Infrastructure for Meson-based packages
18.16. Integration of Cargo-based packages
18.17. Infrastructure for Go packages
18.18. Infrastructure for QMake-based packages
18.19. Infrastructure for packages building kernel modules
18.20. Infrastructure for asciidoc documents
18.21. Infrastructure specific to the Linux kernel package
18.22. Hooks available in the various build steps
18.23. Gettext integration and interaction with packages
18.24. Tips and tricks
18.25. Conclusion
19. Patching a package
19.1. Providing patches
19.2. How patches are applied
19.3. Format and licensing of the package patches
19.4. Integrating patches found on the Web
20. Download infrastructure
21. Debugging Buildroot
22. Contributing to Buildroot
22.1. Reproducing, analyzing and fixing bugs
22.2. Analyzing and fixing autobuild failures
22.3. Reviewing and testing patches
22.4. Work on items from the TODO list
22.5. Submitting patches
22.6. Reporting issues/bugs or getting help
22.7. Using the run-tests framework
23. DEVELOPERS file and get-developers
24. Release Engineering
24.1. Releases
24.2. Development
IV. Appendix
25. Makedev syntax documentation
26. Makeusers syntax documentation
27. Migrating from older Buildroot versions
27.1. Migrating to 2016.11
27.2. Migrating to 2017.08

Buildroot 2021.02.2 manual generated on 2021-05-12 +09:07:43 UTC from git revision 76b4f9e9b6

The Buildroot manual is written by the Buildroot developers. It is licensed under the GNU General Public License, version 2. Refer to the -COPYING +COPYING file in the Buildroot sources for the full text of this license.

Copyright © 2004-2020 The Buildroot developers

logo.png

Part I. Getting started

Chapter 1. About Buildroot

Buildroot is a tool that simplifies and automates the process of building a complete Linux system for an embedded system, using cross-compilation.

In order to achieve this, Buildroot is able to generate a @@ -1709,6 +1709,10 @@ Post-build scripts (BR2_ROOTFS_POST_BUILD_SCRIPT) arguments to each script.

In addition, you may also use these environment variables:

  • BR2_CONFIG: the path to the Buildroot .config file
  • +CONFIG_DIR: the directory containing the .config file, and + therefore the top-level Buildroot Makefile to use (which is + correct for both in-tree and out-of-tree builds) +
  • HOST_DIR, STAGING_DIR, TARGET_DIR: see Section 18.5.2, “generic-package reference”
  • @@ -1809,7 +1813,8 @@ arguments will be passed to the script too. All the scripts will be passed the exact same set of arguments, it is not possible to pass different sets of arguments to each script.

    Again just like for the post-build scripts, the scripts have access to the environment variables BR2_CONFIG, HOST_DIR, STAGING_DIR, -TARGET_DIR, BUILD_DIR, BINARIES_DIR and BASE_DIR.

    The post-image scripts will be executed as the user that executes +TARGET_DIR, BUILD_DIR, BINARIES_DIR, CONFIG_DIR and +BASE_DIR.

    The post-image scripts will be executed as the user that executes Buildroot, which should normally not be the root user. Therefore, any action requiring root permissions in one of these scripts will require special handling (usage of fakeroot or sudo), which is left to the @@ -2962,7 +2967,7 @@ flags. The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file name(s) of the shell script(s) needing fixing. All these names are relative to $(STAGING_DIR)/usr/bin and if needed multiple names can be given.

    In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed -from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

    Example 18.1. Config script: divine package

    Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

    So its fixup would be:

    DIVINE_CONFIG_SCRIPTS = divine-config

    Example 18.2. Config script: imagemagick package:

    Package imagemagick installs the following scripts: +from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

    Example 18.1. Config script: divine package

    Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

    So its fixup would be:

    DIVINE_CONFIG_SCRIPTS = divine-config

    Example 18.2. Config script: imagemagick package:

    Package imagemagick installs the following scripts: $(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config

    So it’s fixup would be:

    IMAGEMAGICK_CONFIG_SCRIPTS = \
        Magick-config Magick++-config \
        MagickCore-config MagickWand-config Wand-config

    On line 14, we specify the list of dependencies this package relies @@ -5438,7 +5443,7 @@ large number of commits in the series;

  • deep impact of the changes in the rest of the project;
  • -RFC [4]; +RFC [4];
  • whenever you feel it will help presenting your work, your choices, the review process, etc. @@ -5652,7 +5657,7 @@ to trigger all run-test test case jobs:
 $ git push gitlab HEAD:<name>-runtime-tests
  • to trigger one test case job, a specific branch naming string is used that includes the full test case name. -
 $ git push gitlab HEAD:<name>-<test case name>


[4] RFC: (Request for comments) change proposal

Chapter 23. DEVELOPERS file and get-developers

The main Buildroot directory contains a file named DEVELOPERS that +

 $ git push gitlab HEAD:<name>-<test case name>


[4] RFC: (Request for comments) change proposal

Chapter 23. DEVELOPERS file and get-developers

The main Buildroot directory contains a file named DEVELOPERS that lists the developers involved with various areas of Buildroot. Thanks to this file, the get-developers tool allows to: