mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +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 \
|
||||
mpfr-dev \
|
||||
ncurses-dev \
|
||||
perl \
|
||||
tar
|
||||
|
||||
ENV HOME /root
|
||||
|
|
|
@ -73,7 +73,7 @@ install_kernel(){
|
|||
fi
|
||||
|
||||
# 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
|
||||
|
||||
echo "Cloning the git patches for the aufs filesystem..."
|
||||
|
@ -135,3 +135,7 @@ 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