prepare-root.sh: fix font quirk
This commit is contained in:
parent
5b74a15295
commit
b98a4b80f1
|
@ -667,11 +667,12 @@ for i in "$sysroot"/usr/share/fonts/*; do
|
||||||
| { read h _ ; echo ${h:32:8}-${h:40:4}-${h:44:4}-${h:48:4}-${h:52:12}; } \
|
| { read h _ ; echo ${h:32:8}-${h:40:4}-${h:44:4}-${h:48:4}-${h:52:12}; } \
|
||||||
> "$i"/.uuid
|
> "$i"/.uuid
|
||||||
done
|
done
|
||||||
cat "$sysroot"/usr/share/fonts/*/.uuid \
|
if [[ "$sysroot"/usr/share/fonts/*/.uuid != "$sysroot"/usr/share/fonts/\*/.uuid ]]; then
|
||||||
| sha256sum \
|
cat "$sysroot"/usr/share/fonts/*/.uuid \
|
||||||
| { read h _ ; echo ${h:32:8}-${h:40:4}-${h:44:4}-${h:48:4}-${h:52:12}; } \
|
| sha256sum \
|
||||||
> "$sysroot"/usr/share/fonts/.uuid
|
| { read h _ ; echo ${h:32:8}-${h:40:4}-${h:44:4}-${h:48:4}-${h:52:12}; } \
|
||||||
|
> "$sysroot"/usr/share/fonts/.uuid
|
||||||
|
fi
|
||||||
#---------------
|
#---------------
|
||||||
# udev dri/card0
|
# udev dri/card0
|
||||||
cp "${BASEDIR}"/systemd-udev-settle-dri.service "$sysroot"/usr/lib/systemd/system/
|
cp "${BASEDIR}"/systemd-udev-settle-dri.service "$sysroot"/usr/lib/systemd/system/
|
||||||
|
|
Loading…
Reference in a new issue