Workaround broken udev update on openSUSE

Delete stale symlinks created by current openSUSE 13.1
for kpartx loopback partitions. Those break bootloader
installation otherwise.

Change-Id: I13a7387e341b4426b459610fd1d3c49ce5730f46
This commit is contained in:
Dirk Mueller 2014-01-20 17:47:30 +01:00
parent e882bb5836
commit b12c28dde8
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
set -eux
if [ "openSUSE project" = "$(lsb_release -is)" ]; then
# workaround for https://bugzilla.novell.com/show_bug.cgi?id=859493
rm -f /dev/mapper/loop*_part1
fi