* Update buildroot-patches for 2020.11-rc1 buildroot * Update buildroot to 2020.11-rc1 Signed-off-by: Stefan Agner <stefan@agner.ch> * Don't rely on sfdisk --list-free output The --list-free (-F) argument does not allow machine readable mode. And it seems that the output format changes over time (different spacing, using size postfixes instead of raw blocks). Use sfdisk json output and calculate free partition space ourselfs. This works for 2.35 and 2.36 and is more robust since we rely on output which is meant for scripts to parse. * Migrate defconfigs for Buildroot 2020.11-rc1 In particular, rename BR2_TARGET_UBOOT_BOOT_SCRIPT(_SOURCE) to BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT(_SOURCE). * Rebase/remove systemd patches for systemd 246 * Drop apparmor/libapparmor from buildroot-external * hassos-persists: use /run as directory for lockfiles The U-Boot tools use /var/lock by default which is not created any more by systemd by default (it is under tmpfiles legacy.conf, which we no longer install). * Disable systemd-update-done.service The service is not suited for pure read-only systems. In particular the service needs to be able to write a file in /etc and /var. Remove the service. Note: This is a static service and cannot be removed using systemd-preset. * Disable apparmor.service for now The service loads all default profiles. Some might actually cause problems. E.g. the profile for ping seems not to match our setup for /etc/resolv.conf: [85503.634653] audit: type=1400 audit(1605286002.684:236): apparmor="DENIED" operation="open" profile="ping" name="/run/resolv.conf" pid=27585 comm="ping" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
115 lines
3.7 KiB
Plaintext
115 lines
3.7 KiB
Plaintext
comment "xorg-server needs a glibc or uClibc toolchain"
|
|
depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER
|
|
bool "xorg-server"
|
|
depends on BR2_USE_MMU # fork()
|
|
# xserver uses inb/outb on arm, which aren't available with musl
|
|
depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL)
|
|
# We need a SHA1 implementation. If either openssl or
|
|
# libgcrypt are already part of the build, we'll use one of
|
|
# them, otherwise, use the small libsha1 library.
|
|
select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT)
|
|
select BR2_PACKAGE_MCOOKIE
|
|
select BR2_PACKAGE_PIXMAN
|
|
select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
|
select BR2_PACKAGE_XFONT_FONT_MISC_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
|
select BR2_PACKAGE_XFONT_FONT_CURSOR_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
select BR2_PACKAGE_XLIB_LIBXAU
|
|
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
select BR2_PACKAGE_XLIB_LIBXDMCP
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
|
select BR2_PACKAGE_XLIB_LIBXFONT2
|
|
select BR2_PACKAGE_XLIB_LIBXFT
|
|
select BR2_PACKAGE_XLIB_LIBXI
|
|
select BR2_PACKAGE_XLIB_LIBXINERAMA
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
|
select BR2_PACKAGE_XLIB_LIBXRENDER
|
|
select BR2_PACKAGE_XLIB_LIBXRES
|
|
select BR2_PACKAGE_XLIB_LIBXXF86VM
|
|
select BR2_PACKAGE_XLIB_LIBXKBFILE
|
|
select BR2_PACKAGE_XLIB_XTRANS
|
|
select BR2_PACKAGE_XDATA_XBITMAPS
|
|
select BR2_PACKAGE_XORGPROTO
|
|
select BR2_PACKAGE_XUTIL_UTIL_MACROS
|
|
select BR2_PACKAGE_XKEYBOARD_CONFIG
|
|
help
|
|
X.Org X server
|
|
|
|
http://xorg.freedesktop.org
|
|
|
|
if BR2_PACKAGE_XSERVER_XORG_SERVER
|
|
|
|
choice
|
|
prompt "X Window System server type"
|
|
help
|
|
Select the X Window System server to use
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
|
|
bool "Modular X.org"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_LIBPCIACCESS
|
|
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_TOOLCHAIN_HAS_SYNC_4
|
|
help
|
|
This variant of the X.org server is the full-blown variant,
|
|
as used by desktop GNU/Linux distributions. The drivers (for
|
|
input and graphics) are built separately from the X.org
|
|
server (see the xdriver* packages).
|
|
|
|
comment "Modular X.org needs a toolchain w/ C++"
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
|
|
bool "KDrive / TinyX"
|
|
help
|
|
This variant of the X.org server is a lightweight version
|
|
intended for embedded systems. The drivers (for input and
|
|
graphics) are built into the server. It is generally used
|
|
directly on top of the Linux framebuffer without DRM or
|
|
video card specific drivers.
|
|
|
|
endchoice
|
|
|
|
if BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV
|
|
bool "Enable KDrive/TinyX evdev input driver"
|
|
help
|
|
Enable evdev input driver in KDrive. This allows KDrive to
|
|
use input devices that are integrated in the Linux input
|
|
subsystem, i.e have a /dev/input/eventX device file. This is
|
|
most likely the input driver you want to use.
|
|
|
|
This driver can then be enabled by running the X server
|
|
using:
|
|
|
|
Xfbdev -keybd evdev,,device=/dev/input/eventX
|
|
-mouse evdev,,device=/dev/input/eventY
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD
|
|
bool "Enable KDrive/TinyX kbd input driver"
|
|
help
|
|
Enable kbd input driver in KDrive. It uses the console
|
|
keyboard as input device.
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE
|
|
bool "Enable KDrive/TinyX mouse input driver"
|
|
help
|
|
Enable mouse input driver in KDrive. It supports PS/2 mice
|
|
and serial port mice.
|
|
|
|
endif
|
|
|
|
comment "Optional Servers"
|
|
|
|
config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB
|
|
bool "Xvfb server"
|
|
help
|
|
Virtual frame buffer X server.
|
|
|
|
endif
|