diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/patches/0000-deb-packaging.patch b/patches/0000-deb-packaging.patch new file mode 100644 index 0000000..b187b97 --- /dev/null +++ b/patches/0000-deb-packaging.patch @@ -0,0 +1,15 @@ +--- a/scripts/package/builddeb ++++ b/scripts/package/builddeb +@@ -125,7 +125,11 @@ + + CC="${DEB_HOST_GNU_TYPE}-gcc" "${srctree}/scripts/package/install-extmod-build" "${pdir}/usr/src/linux-headers-${version}" + +- mkdir -p $pdir/lib/modules/$version/ ++ mkdir -p "${pdir}/usr/src/linux-headers-${version}/" ++ cp .config "${pdir}/usr/src/linux-headers-${version}/.config" ++ cp .config usr/src/linux-headers-$version/ ++ ++ mkdir -p $pdir/lib/modules/$version/ + ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build + } + diff --git a/patches/series b/patches/series index 172030f..724451b 100644 --- a/patches/series +++ b/patches/series @@ -1,3 +1,4 @@ +0000-deb-packaging.patch 0001-cachyos-base-all.patch 0001-dkms-clang.patch 0002-bore-cachy.patch diff --git a/scripts/build.sh b/scripts/build.sh index 2af8a2b..1c4c800 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,4 +2,4 @@ echo "Pika Kernel - Building" -make CC=clang LD=ld.lld LLVM=1 LLVM_IAS=1 -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika1 +make CC=clang LD=ld.lld LLVM=1 LLVM_IAS=1 -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika2