From e01e8e06c99f0e546b9a57076ed8fbba43cb75fb Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sat, 2 Sep 2023 20:01:03 +0300 Subject: [PATCH] --- main.sh | 2 +- nvidia-pikaos-kernel-module/debian/postinst | 2 ++ nvidia-pikaos-kernel-module/debian/postrm | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 nvidia-pikaos-kernel-module/debian/postinst create mode 100644 nvidia-pikaos-kernel-module/debian/postrm diff --git a/main.sh b/main.sh index 865cb58..0c3f1bb 100755 --- a/main.sh +++ b/main.sh @@ -9,7 +9,7 @@ echo "$(apt-cache show nvidia-kernel-source-535 | grep Version: | head -n1 | cut cd ./nvidia-pikaos-kernel-module -echo -e "nvidia-pikaos-kernel-module ($(cat ./DRIVER)-$(cat ./KERNEL)-99pika1.lunar) lunar; urgency=medium\n\n * New Release\n\n -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog +echo -e "nvidia-pikaos-kernel-module ($(cat ./DRIVER)-$(cat ./KERNEL)-99pika2.lunar) lunar; urgency=medium\n\n * New Release\n\n -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog echo -e "Source: nvidia-pikaos-kernel-module\nSection: graphics\nPriority: optional\nMaintainer: Ward Nakchbandi \nStandards-Version: 4.6.1\nBuild-Depends: debhelper-compat (= 13), linux-image-$(cat ./KERNEL), linux-headers-$(cat ./KERNEL), dkms, fakeroot\nRules-Requires-Root: no\n\nPackage: nvidia-$(cat ./KERNEL)-module-$DRIVER\nArchitecture: linux-any\nDepends: linux-image-$(cat ./KERNEL), linux-headers-$(cat ./KERNEL), $(apt-cache show nvidia-dkms-$DRIVER | grep Depends: | head -n1 | cut -f2 -d":")\nConflicts: nvidia-dkms-$DRIVER (= $(cat DRIVER_VERSION))\nProvides: nvidia-dkms-$DRIVER (= $(cat DRIVER_VERSION))\nReplaces: nvidia-dkms-$DRIVER (= $(cat DRIVER_VERSION))\nDescription: Prebuilt Nvidia module for PikaOS kernel" > ./debian/control diff --git a/nvidia-pikaos-kernel-module/debian/postinst b/nvidia-pikaos-kernel-module/debian/postinst new file mode 100644 index 0000000..532dc9c --- /dev/null +++ b/nvidia-pikaos-kernel-module/debian/postinst @@ -0,0 +1,2 @@ +#! /bin/sh +depmod \ No newline at end of file diff --git a/nvidia-pikaos-kernel-module/debian/postrm b/nvidia-pikaos-kernel-module/debian/postrm new file mode 100644 index 0000000..532dc9c --- /dev/null +++ b/nvidia-pikaos-kernel-module/debian/postrm @@ -0,0 +1,2 @@ +#! /bin/sh +depmod \ No newline at end of file