mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-25 05:05:39 +02:00
fix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
47a9a13c2d
commit
4f9eb59fcc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user