mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
update kernel-builder
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
63542a170e
commit
0ec242b023
|
@ -15,6 +15,7 @@ RUN apk add --no-cache \
|
||||||
mpc1-dev \
|
mpc1-dev \
|
||||||
mpfr-dev \
|
mpfr-dev \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
|
perl \
|
||||||
tar
|
tar
|
||||||
|
|
||||||
ENV HOME /root
|
ENV HOME /root
|
||||||
|
|
|
@ -73,7 +73,7 @@ install_kernel(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Git clone and apply the patches for the aufs filesystem.
|
# Git clone and apply the patches for the aufs filesystem.
|
||||||
if [[ "$OPT" == "aufs" ]]; then
|
if [[ "$OPT" == "aufs" ]] && [[ ! -d "${DIR}/fs/aufs" ]]; then
|
||||||
aufsdir=/aufs4-standalone
|
aufsdir=/aufs4-standalone
|
||||||
|
|
||||||
echo "Cloning the git patches for the aufs filesystem..."
|
echo "Cloning the git patches for the aufs filesystem..."
|
||||||
|
@ -135,3 +135,7 @@ install_kernel(){
|
||||||
}
|
}
|
||||||
|
|
||||||
install_kernel $@
|
install_kernel $@
|
||||||
|
|
||||||
|
echo "Kernel successfully installed!"
|
||||||
|
echo "You will now want to run update-initramfs and update-grub"
|
||||||
|
echo "or the equivalent for your system."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user