diskimage-builder/elements/vm/finalise.d/50-remove-bogus-udev-links
Dirk Mueller b12c28dde8 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
2014-01-23 08:34:22 +01:00

8 lines
187 B
Bash
Executable file

#!/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