mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
1b0cc135d0
s390x will define both s390x and s390, so exec-personality-s390.service is ran in both cases but fails on s390x, as the personality returned is s390x. Split the test and check specifically for s390x.
9 lines
191 B
Desktop File
9 lines
191 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Test for Personality=s390x
|
|
|
|
[Service]
|
|
ExecStart=sh -x -c 'c=$$(uname -m); test "$$c" = "s390x"'
|
|
Type=oneshot
|
|
Personality=s390x
|