1 do_install[depends] = "psplash:do_populate_sysroot"
5 psplash_service="${STAGING_DIR_TARGET}/${systemd_system_unitdir}/psplash-start.service"
6 if [ ! -f "$psplash_service" ]; then
7 echo "ERROR: psplash service unit file not found: $psplash_service" >&2
10 install -d ${D}${systemd_system_unitdir}/psplash-start.service.d
11 psplash_portrait_conf="${D}${systemd_system_unitdir}/psplash-start.service.d/psplash-portrait.conf"
12 echo "[Service]" > "$psplash_portrait_conf"
13 echo "ExecStart=" >> "$psplash_portrait_conf"
14 sed -ne 's!^\(ExecStart=/usr/bin/psplash.*\)!\1 --angle 90!p' "$psplash_service" >> "$psplash_portrait_conf"