From ee71569d870334913e7f942b2a37840ee16d4b4b Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Sat, 28 Apr 2018 00:45:51 +0300 Subject: [PATCH] Updated kernel build dependencies. Updated all base software with the latest available versions. --- README.md | 12 ++++++------ src/.config | 6 +++--- src/02_build_kernel.sh | 6 ++++++ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 372701d42..ee14e6ca9 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,12 @@ This is a screenshot of the current development version of Minimal Linux Live: ![Minimal Linux Live](http://ivandavidov.github.io/minimal/www/assets/img/minimal_linux_live.jpg) -## Current development state (07-Jan-2018) +## Current development state (27-Apr-2018) -* Linux kernel 4.14.12 (longterm) -* GNU C Library 2.26 (stable) -* BusyBox 1.27.2 (stable) -* Stable on default Ubuntu 16.04 installation with applied system updates. +* Linux kernel 4.16.5 (stable) +* GNU C Library 2.27 (stable) +* BusyBox 1.28.3 (stable) +* Stable on default Ubuntu 18.04 installation with applied system updates. ## Future improvements @@ -42,7 +42,7 @@ The section below is for Ubuntu and other Debian based distros. ``` # Resove build dependencies -sudo apt install wget make gawk gcc bc libelf-dev xorriso +sudo apt install wget make gawk gcc bc bison flex xorriso libelf-dev libssl-dev # Build everything and produce ISO image. ./build_minimal_linux_live.sh diff --git a/src/.config b/src/.config index bf97de983..de5d6cda9 100644 --- a/src/.config +++ b/src/.config @@ -11,19 +11,19 @@ # # http://kernel.org # -KERNEL_SOURCE_URL=http://kernel.org/pub/linux/kernel/v4.x/linux-4.14.12.tar.xz +KERNEL_SOURCE_URL=http://kernel.org/pub/linux/kernel/v4.x/linux-4.16.5.tar.xz # You can find the latest GNU C library source bundles here: # # http://gnu.org/software/libc # -GLIBC_SOURCE_URL=http://ftp.gnu.org/gnu/glibc/glibc-2.26.tar.bz2 +GLIBC_SOURCE_URL=http://ftp.gnu.org/gnu/glibc/glibc-2.27.tar.bz2 # You can find the latest BusyBox source bundles here: # # http://busybox.net # -BUSYBOX_SOURCE_URL=http://busybox.net/downloads/busybox-1.27.2.tar.bz2 +BUSYBOX_SOURCE_URL=http://busybox.net/downloads/busybox-1.28.3.tar.bz2 # You can find the latest Syslinux source bundles here: # diff --git a/src/02_build_kernel.sh b/src/02_build_kernel.sh index 8599406ad..80b0e1fa5 100755 --- a/src/02_build_kernel.sh +++ b/src/02_build_kernel.sh @@ -43,6 +43,12 @@ else # Turn on inodes index feature by default (4.13+). echo "CONFIG_OVERLAY_FS_INDEX=y" >> .config + # Follow redirects even if redirects are turned off (4.15+). + echo "# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set" >> .config + + # Turn on NFS export feature by default (4.16+). + echo "# CONFIG_OVERLAY_FS_NFS_EXPORT is not set" >> .config + # Step 1 - disable all active kernel compression options (should be only one). sed -i "s/.*\\(CONFIG_KERNEL_.*\\)=y/\\#\\ \\1 is not set/" .config