848a0d40fa
- Do not attempt to run purge-kernels.service on ro rootfs (bsc#1087880) OBS-URL: https://build.opensuse.org/request/show/598534 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=349
16 lines
299 B
Desktop File
16 lines
299 B
Desktop File
[Unit]
|
|
Description=Purge old kernels
|
|
After=local-fs.target
|
|
ConditionPathExists=/boot/do_purge_kernels
|
|
ConditionPathIsReadWrite=/
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Nice=19
|
|
IOSchedulingClass=idle
|
|
ExecStartPre=/bin/rm -f /boot/do_purge_kernels
|
|
ExecStart=/sbin/purge-kernels
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|