...
 
Commits (3)
image: registry.gitlab.com/eighthave/ci-image-git-buildpackage:latest
build:
artifacts:
paths:
- "*.deb"
expire_in: 1 day
script:
- cp ../*.deb . # copy it into place to be saved as an artifact
- autopkgtest ../*.changes -- null
os-prober (1.76) UNRELEASED; urgency=medium
* 864181 -- look at the usbdisk branches, and see what's different FIXME
-- Philip Hands <phil@hands.com> Thu, 24 May 2018 16:02:23 +0200
os-prober (1.75) unstable; urgency=medium
* Remove code using device mapper (Closes: #860833, #853927, #853163).
......
......@@ -14,16 +14,16 @@ log_output () {
fi
}
: >"$OS_PROBER_TMP/dmraid-map"
DMRAID=$(type dmraid >/dev/null 2>&1 || true)
if [ "$DMRAID" ]; then
dmraid -r -c >"$OS_PROBER_TMP/dmraid-map"
fi
on_sataraid () {
type dmraid >/dev/null 2>&1 || return 1
local parent="${1%/*}"
local device="/dev/${parent##*/}"
if grep -q "$device" "$OS_PROBER_TMP/dmraid-map"; then
local mapcache="$OS_PROBER_TMP/dmraid-map"
[ -f "$mapcache" ] ||
dmraid -r -c >"$mapcache" 2>/dev/null || true
if grep -q "$device" "$mapcache"; then
return 0
fi
return 1
......