Skip to content

Commit

Permalink
Update 20kernel_backports
Browse files Browse the repository at this point in the history
  • Loading branch information
ryecoaaron committed Sep 17, 2017
1 parent b9b38fd commit dff5dba
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ set -e
. /usr/share/openmediavault/scripts/helper-functions

OMV_APT_USE_KERNEL_BACKPORTS=${OMV_APT_USE_KERNEL_BACKPORTS:-"yes"}
OMV_APT_KERNEL_BACKPORTS_ARCHIVE=${OMV_APT_KERNEL_BACKPORTS_ARCHIVE:-"jessie-backports"}
OMV_APT_KERNEL_BACKPORTS_ARCHIVE=${OMV_APT_KERNEL_BACKPORTS_ARCHIVE:-"$(lsb_release -cs)-backports"}

This comment has been minimized.

Copy link
@Skaronator

Skaronator Nov 3, 2017

This fix doesn't work if you're on sid. (Apart from the fact that you do not support sid)

OMV_APT_KERNEL_BACKPORTS_PINPRIORITY=${OMV_APT_KERNEL_BACKPORTS_PINPRIORITY:-"500"}

# Remove existing configuration files.
Expand Down

2 comments on commit dff5dba

@ryecoaaron
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous code wouldnt either since you dont want to use an older release backports kernel. Your best bet would be to disable the backports repo by setting the variable in /etc/default/openmediavault to disable the backports repo.

@Skaronator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, works!

Please sign in to comment.