summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/__init__.py
diff options
context:
space:
mode:
authorWes Lindauer <wesley.lindauer@gmail.com>2021-04-11 23:50:34 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-10 11:14:11 +0100
commitfc849db69b8088f75bd358f5e1e85d28b5c9c3b9 (patch)
tree030c3156e61d2e0b783d36a4c87a6746bc14bb73 /scripts/lib/checklayer/__init__.py
parent14fdc41afac1ee7e6a75ba7a83e9718bad1a73b7 (diff)
downloadpoky-fc849db69b8088f75bd358f5e1e85d28b5c9c3b9.tar.gz
oeqa/runtime/cases: Only disable/enable for current boot
Previously doing a stop/start worked, but using a disable/enable does not work on a read-only rootfs. Add a --runtime flag to systemctl so that systemd only modifies the current boot and does not attempt to write to the filesystem. This also keeps the test from making a permanent (one could argue policy) change to the running system being tested. i.e. What if the image being tested had intentionally disabled the timesyncd service in preference to using chrony or ntpd? The test shouldn't assume that the user wants the timesyncd service enabled. (From OE-Core rev: 1d848b939e503df94178822c9ca8bb26d0e75231) Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 43dd83b6a325589368c980a3f17cab90935aaeb0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/__init__.py')
0 files changed, 0 insertions, 0 deletions