update kernel-builder

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-05-29 11:23:08 -04:00
parent 63542a170e
commit 0ec242b023
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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."