diff --git a/kernel-builder/Dockerfile b/kernel-builder/Dockerfile index 1dbeb23..84563d7 100644 --- a/kernel-builder/Dockerfile +++ b/kernel-builder/Dockerfile @@ -15,6 +15,7 @@ RUN apk add --no-cache \ mpc1-dev \ mpfr-dev \ ncurses-dev \ + perl \ tar ENV HOME /root diff --git a/kernel-builder/build_kernel b/kernel-builder/build_kernel index 4a823a1..8e1caae 100755 --- a/kernel-builder/build_kernel +++ b/kernel-builder/build_kernel @@ -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."