From c6231b064e27ddbcddbb76251dec817b8ccbc8d9 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 1 Jul 2018 13:33:50 +0200 Subject: Improve re-runability (fix previous commit + comments) --- make-boot-image.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make-boot-image.sh b/make-boot-image.sh index 720192e..7d66588 100755 --- a/make-boot-image.sh +++ b/make-boot-image.sh @@ -3,13 +3,14 @@ PS4='+ ($LINENO) ' # Config # ########## -WORKDIR=./work +WORKDIR=./work # sudo rm -r this folder if you want to re-run everything DLDIR=./downloads OUTDIR=./out #OUTUSB=/dev/sdb1 DEVEL_MODE=y ROOTCMD=sudo WGET="wget" #"wget --no-check-certificate" +# You probably need to tweak version numbers if you have an HTTP 404 - Not found error KERNEL_TARBALL_URL=https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.6.tar.xz KCONFIGLIB_MAIN_URL=https://raw.githubusercontent.com/ulfalizer/Kconfiglib/7eace27993ad3aa1d6911866d9c60a11f32d36d9/kconfiglib.py KCONFIGLIB_PATCH_URL=https://raw.githubusercontent.com/ulfalizer/Kconfiglib/7eace27993ad3aa1d6911866d9c60a11f32d36d9/makefile.patch @@ -84,7 +85,7 @@ then # Dependencies of this script (assuming default debian install or live) # Dependencies to put into the initrd $ROOTCMD apt-get install dmidecode pciutils usbutils lshw sysstat iftop strace $ROOTCMD apt-get install partclone sfdisk udpcast gdisk efibootmgr tcpdump - > "$WORKDIR/apt-done" + > "$WORKDIR/apt-install-done" fi # Kernel build setup # -- cgit v1.2.3