summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-01 13:33:50 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-01 13:33:50 +0200
commitc6231b064e27ddbcddbb76251dec817b8ccbc8d9 (patch)
treee968efa05302e3b699c946d670c11886a5541e2a
parent2af902f2ee3fa682c1cf3a095fd2f90bb5896aa5 (diff)
downloadeficast-c6231b064e27ddbcddbb76251dec817b8ccbc8d9.tar.gz
eficast-c6231b064e27ddbcddbb76251dec817b8ccbc8d9.tar.bz2
eficast-c6231b064e27ddbcddbb76251dec817b8ccbc8d9.zip
Improve re-runability (fix previous commit + comments)
-rwxr-xr-xmake-boot-image.sh5
1 files 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 #