This repository was archived by the owner on Aug 5, 2022. It is now read-only.
Commit ddb8cce
committed
refkit-image-installer: workaround kpartx bug in cleanup
The loop devices are not correctly removed when exiting
due to a problem with kpartx -d failing to handle file
names longer than 63.
The workaround is to clean up using the loop device
name with 'kpartx -d'. It also requires an explicit
'losetup -d' call.
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>1 parent c430a40 commit ddb8cce
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
0 commit comments