This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Commit 47b5cbe
committed
Remove the pre and posttrans, they weren't useful
On some distros we were encountering errors where `$1` was not being populated
for the 'pre' and 'posttrans' rpm macros, upon closer inspection it
isn't exactly clear why the pre and posttrans macro scripts were exactly
useful since the `%systemd_postun_with_restart` does exactly what those
scripts were doing.
I've tidied up the systemd macros to use `docker.service` instead of
`docker` which seems to function as we'd expect.
taken from downstream commit 62d8413b550659a0b5318346ee2e3d7e4a50bfe1
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit bece037)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 12b807d90a892c185e98ab38d4eea759d61e1ee9
Component: packaging1 parent 10e7a7e commit 47b5cbe
1 file changed
Lines changed: 3 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 117 | | |
132 | | - | |
| 118 | + | |
133 | 119 | | |
134 | 120 | | |
135 | 121 | | |
136 | 122 | | |
137 | 123 | | |
138 | | - | |
| 124 | + | |
139 | 125 | | |
140 | 126 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 127 | + | |
153 | 128 | | |
154 | 129 | | |
0 commit comments