From 6d6a71f265f664765ea9395a697b12b4d9943413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Duarte?= Date: Sat, 26 Aug 2023 10:25:36 +0100 Subject: [PATCH] use source directory instead of tarball --- deploy/build_deb_rpm.sh | 1 - kernel_module/lenovolegionlinux.spec | 2 -- 2 files changed, 3 deletions(-) diff --git a/deploy/build_deb_rpm.sh b/deploy/build_deb_rpm.sh index 4f6c90f..e28bb46 100755 --- a/deploy/build_deb_rpm.sh +++ b/deploy/build_deb_rpm.sh @@ -43,7 +43,6 @@ echo "Dkms deb located at ${BUILD_DIR}/lenovolegionlinux-dkms_1.0.0_amd64.deb" sudo dkms remove -m lenovolegionlinux -v 1.0.0 #Build rpm file -sudo dkms mktarball -m lenovolegionlinux -v 1.0.0 --archive=./LenovoLegionLinux-1.0.tar.bz2 --source-only #create tarball for rpm sudo dkms mkkmp -m lenovolegionlinux -v 1.0.0 --spec lenovolegionlinux.spec #Copy rpm to deploy folder diff --git a/kernel_module/lenovolegionlinux.spec b/kernel_module/lenovolegionlinux.spec index 91a5156..b0203c2 100644 --- a/kernel_module/lenovolegionlinux.spec +++ b/kernel_module/lenovolegionlinux.spec @@ -6,7 +6,6 @@ Group: System/Kernel Summary: LenovoLegionLinux Kernel Module Package Version: 1.0 Release: 0 -Source0: %name-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -20,7 +19,6 @@ Group: System/Kernel This is one of the subpackages require for LenovoLegionLinux [kernel module/driver] %prep -%setup set -- * mkdir source mv "$@" source/