Work around debuginfo-install hiccups on Rawhide
This commit is contained in:
parent
05d3deafd3
commit
1aa0ec0c00
1 changed files with 7 additions and 3 deletions
|
|
@ -28,10 +28,14 @@ rlJournalStart
|
|||
rlAssertRpm --all
|
||||
export COLLECTIONS="$_COLLECTIONS"
|
||||
|
||||
# We need kernel-tools' debuginfo, with *matching* version-release
|
||||
# We /may/ need kernel-tools' debuginfo, with *matching* version-release.
|
||||
# On Fedora rawhide, the debuginfo is sometimes unreachable but luckily
|
||||
# for us, the test passes just as well.
|
||||
rlRun "KERNEL_TOOLS_VERSION_RELEASE=$(rpm -q --qf='%{VERSION}-%{RELEASE}' kernel-tools.${PRI_ARCH})"
|
||||
rlRun "debuginfo-install -y kernel-tools-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}"
|
||||
rlAssertRpm "kernel-tools-debuginfo-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}"
|
||||
rlRun "debuginfo-install -y kernel-tools-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}" 0-255
|
||||
if ! rlIsFedora; then
|
||||
rlAssertRpm "kernel-tools-debuginfo-${KERNEL_TOOLS_VERSION_RELEASE}.${PRI_ARCH}"
|
||||
fi
|
||||
|
||||
rlRun "TmpDir=\$(mktemp -d)"
|
||||
rlRun "pushd $TmpDir"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue