Skip to content

Commit

Permalink
use source directory instead of tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Aug 26, 2023
1 parent dc82612 commit 6d6a71f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion deploy/build_deb_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions kernel_module/lenovolegionlinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 6d6a71f

Please sign in to comment.