From 835e06395f8161d87907bbc26b4bfd73db8708a5 2018-11-19 21:52:17 From: burnbabyburn Date: 2018-11-19 21:52:17 Subject: [PATCH] fix --- diff --git a/bootstrap.d/11-apt.sh b/bootstrap.d/11-apt.sh index b833dfa..f4014e0 100644 --- a/bootstrap.d/11-apt.sh +++ b/bootstrap.d/11-apt.sh @@ -11,14 +11,14 @@ if [ -z "$APT_PROXY" ] ; then sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" fi -if [ "$BUILD_KERNEL" = false ] ; then - echo "Downloading precompiled kernel" - echo "error: not configured" - exit 1; +#if [ "$BUILD_KERNEL" = false ] ; then +# echo "Downloading precompiled kernel" +# echo "error: not configured" +# exit 1; # BUILD_KERNEL=true -else - echo "No precompiled kernel repositories were added" -fi +#else +# echo "No precompiled kernel repositories were added" +#fi # Upgrade package index and update all installed packages and changed dependencies chroot_exec apt-get -qq -y update diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index 0e53ddf..729e216 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -381,7 +381,7 @@ if [ "$KERNEL_ARCH" = arm64 ] && ( [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] # Fetch kernel dl as_nobody wget -O "${temp_dir}"/kernel.tar.xz -c "$RPI3_64_KERNEL_URL" #extract download - tar -xJf kernel.tar.xz -C "${R}" + tar -xJf "${temp_dir}"/kernel.tar.xz -C "${R}" # Remove temporary directory for kernel sources rm -fr "${temp_dir}"