diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf | 9 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf new file mode 100644 index 0000000000..7ceb6fd634 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | Section "Module" | ||
2 | Load "fbdevhw" | ||
3 | Load "fb" | ||
4 | Load "shadow" | ||
5 | Load "shadowfb" | ||
6 | Load "vbe" | ||
7 | Load "vgahw" | ||
8 | EndSection | ||
9 | |||
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb index 5420b7d23e..e07c204c74 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | |||
@@ -7,9 +7,14 @@ PR = "r33" | |||
7 | 7 | ||
8 | SRC_URI = "file://xorg.conf" | 8 | SRC_URI = "file://xorg.conf" |
9 | 9 | ||
10 | SRC_URI_append_libc-musl = "\ | ||
11 | file://10-preload-modules.conf \ | ||
12 | " | ||
13 | |||
10 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
11 | 15 | ||
12 | CONFFILES_${PN} = "${sysconfdir}/X11/xorg.conf" | 16 | CONFFILES_${PN} = "${sysconfdir}/X11/xorg.conf" |
17 | CONFFILES_${PN}_append_libc-musl = " ${sysconfdir}/X11/xorg.conf.d/10-preload-modules.conf" | ||
13 | 18 | ||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 19 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
15 | ALLOW_EMPTY_${PN} = "1" | 20 | ALLOW_EMPTY_${PN} = "1" |
@@ -20,3 +25,7 @@ do_install () { | |||
20 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ | 25 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ |
21 | fi | 26 | fi |
22 | } | 27 | } |
28 | |||
29 | do_install_append_libc-musl () { | ||
30 | install -Dm 0644 ${WORKDIR}/10-preload-modules.conf ${D}/${sysconfdir}/X11/xorg.conf.d/10-preload-modules.conf | ||
31 | } | ||