File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -100,25 +100,6 @@ if [[ -x "${OEM_MNT}/bin/oem-postinst" ]]; then
100
100
" ${OEM_MNT} /bin/oem-postinst" " ${SLOT} " " ${INSTALL_MNT} "
101
101
fi
102
102
103
- # locksmith 0.1.5 is broken, restart it lots to work around the issue
104
- if systemctl is-active --quiet locksmithd.service && \
105
- locksmithctl help | grep -A1 ' ^VERSION:' | grep -q ' 0.1.5$' ;
106
- then
107
- echo " Broken locksmith 0.1.5 detected, installing workaround timer."
108
- # In one minute start restarting locksmithd every 5 minutes.
109
- cat > /run/systemd/system/locksmithd-kicker.timer << EOF
110
- [Timer]
111
- OnActiveSec=1min
112
- OnUnitActiveSec=5min
113
- EOF
114
- cat > /run/systemd/system/locksmithd-kicker.service << EOF
115
- [Service]
116
- Type=oneshot
117
- ExecStart=/usr/bin/systemctl try-restart --no-block locksmithd.service
118
- EOF
119
- systemctl start --no-block locksmithd-kicker.timer
120
- fi
121
-
122
103
# Gather metadata about upcoming OS image.
123
104
# shellcheck source=/dev/null
124
105
source " ${INSTALL_MNT} /lib/os-release"
You can’t perform that action at this time.
0 commit comments