mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 14:42:39 +01:00
@@ -54,7 +54,7 @@ install_kernel(){
|
||||
|
||||
# get the kernel source
|
||||
if [[ "$VERSION" == *-rc* ]]; then
|
||||
[ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -x
|
||||
[ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -xz
|
||||
|
||||
MAJOR_MINOR_VERSION="${MAJOR_VERSION}.x-rcN"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user