mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 06:52:40 +01:00
@@ -54,7 +54,7 @@ install_kernel(){
|
|||||||
|
|
||||||
# get the kernel source
|
# get the kernel source
|
||||||
if [[ "$VERSION" == *-rc* ]]; then
|
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"
|
MAJOR_MINOR_VERSION="${MAJOR_VERSION}.x-rcN"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user