mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1552: CI: sound-dummy module is not installed
Problem: CI: sound-dummy module is not installed. Solution: Invert using the result of the condition. (closes #12394)
This commit is contained in:
parent
24b62ec825
commit
c416fd4ca8
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -181,13 +181,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd /lib/modules/${{ env.LINUX_VERSION }}
|
cd /lib/modules/${{ env.LINUX_VERSION }}
|
||||||
if apt-cache show linux-modules-extra-${{ env.LINUX_VERSION }} >/dev/null 2>&1 ; then
|
if apt-cache show linux-modules-extra-${{ env.LINUX_VERSION }} >/dev/null 2>&1 ; then
|
||||||
echo "Module " linux-modules-extra-${{ env.LINUX_VERSION }} "doesn't seem to exist, continue anyway"; exit 0
|
|
||||||
else
|
|
||||||
sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
|
sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
|
||||||
sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
|
sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
|
||||||
tar -cvC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x
|
tar -cvC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x
|
||||||
sudo depmod --verbose
|
sudo depmod --verbose
|
||||||
sudo modprobe --verbose snd-dummy
|
sudo modprobe --verbose snd-dummy
|
||||||
|
else
|
||||||
|
echo "Module " linux-modules-extra-${{ env.LINUX_VERSION }} "doesn't seem to exist, continue anyway"; exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check autoconf
|
- name: Check autoconf
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1552,
|
||||||
/**/
|
/**/
|
||||||
1551,
|
1551,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user