From 06e3ec1b63ade6ef138e5f405abd2770f3060818 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 19 Nov 2014 15:40:46 +0100 Subject: [PATCH] extract_storage_kernel+modules.sh: Ignore missing /boot/config* file --- extract_storage_kernel+modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_storage_kernel+modules.sh b/extract_storage_kernel+modules.sh index f3b8349..4d5cb66 100755 --- a/extract_storage_kernel+modules.sh +++ b/extract_storage_kernel+modules.sh @@ -99,7 +99,7 @@ mkdir -p $TARGET_DIR export KERNEL_VERSION=###(ls /boot/vmlinu* | cut -d "-" -f2-) export GENTOO_KERNEL_VERSION="###(ls /boot/vmlinu* | cut -d "-" -f2).$BUILD_NUMBER" cp -v /boot/vmlinu* $TARGET_DIR/ -cp -v /boot/config* $TARGET_DIR/ +cp -v /boot/config* $TARGET_DIR/ || true cd /lib/modules/###{KERNEL_VERSION} /bin/tar -cJvf $TARGET_DIR/modules-###{KERNEL_VERSION}.tar.xz . echo "Job : $JOB_NAME" > $TARGET_DIR/sources.txt -- 2.39.5