summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiab Neiroukh2020-04-27 21:13:16 +0100
committerDiab Neiroukh2020-04-27 21:13:16 +0100
commit2b5200a5639b3f4f0d6690d6143e4b7913449fda (patch)
tree31f19a8f18f6f3fcb8af04b47953c016ab399538
parent34620fc3052a4d16b1bd376e0d12ed42251a183b (diff)
downloadaur-2b5200a5639b3f4f0d6690d6143e4b7913449fda.tar.gz
🐛 FIX: Fix image building
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df315ae731d..1e8b74d20d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-zest-git
pkgver = 5.6
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/ZestProjects/linux
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 55aff1a3cc0..4b48ddd33f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=(
"linux-zest-git-headers"
)
pkgver=5.6
-pkgrel=4
+pkgrel=5
arch=(
"i686"
"x86_64"
@@ -90,7 +90,7 @@ _package()
#* systemd expects to find the kernel here to allow hibernation
echo "Installing boot image..."
- install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
+ install -Dm644 "$(make CC=clang LD=ld.lld NM=llvm-nm OBJCOPY=llvm-objcopy HOSTCC=clang HOSTLD=ld.lld -s image_name)" "$modulesdir/vmlinuz"
#* mkinitcpio uses this value as the kernel name
echo "$pkgbase" | install -Dm644 "/dev/stdin" "$modulesdir/pkgbase"