blob: f27d34582fea28f197e7d0a8545e8bfad5344465 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
# called by dracut
check() {
return 0
}
# called by dracut
depends() {
echo drm crypt
return 0
}
# called by dracut
install() {
inst_multiple "/etc/osk.conf" \
"/usr/share/glvnd/egl_vendor.d/50_mesa.json" \
"/usr/share/fonts/dejavu/DejaVuSans.ttf" \
osk-sdl
inst_simple $moddir/osk-sdl.sh /usr/bin/osk-sdl.sh
inst_simple $moddir/osk-sdl-pp.service ${systemdsystemunitdir}/osk-sdl-pp.service
inst_simple $moddir/osk-sdl-pp.path ${systemdsystemunitdir}/osk-sdl-pp.path
systemctl -q --root "$initdir" add-wants sysinit.target osk-sdl-pp.path
# mesa cogl libglvnd
equery f mesa cogl libglvnd | grep ".so$" | while read -r so; do
inst ${so}
done
}
|