Browse Source

Allow for random kernal experimentation

Donald Carr 5 years ago
parent
commit
c818f6a703
1 changed files with 4 additions and 3 deletions
  1. 4 3
      PKGBUILD

+ 4 - 3
PKGBUILD

@@ -3,10 +3,11 @@
 #set -x
 
 options=('!strip')
-pkgname=linux-spudd
+postfix=spudd
 if [[ -f testing ]]; then
-    pkgname=${pkgname}-testing
+    postfix=${postfix}-testing
 fi
+pkgname=linux-${postfix}
 # The firmware the kernel produces blows: don't falsify this lightly
 # "linux-firmware=20170309.695f2d6-1"
 pkgrel=1
@@ -61,7 +62,7 @@ package() {
   fi
 
   mkdir -p ${preset_dir}
-  cp ${startdir}/spudd.preset ${preset_dir}
+  cp ${startdir}/spudd.preset ${preset_dir}/${postfix}.preset
 
   rm -Rf ${startdir}/firmware
   if [[ -d ${firmware_dir} ]]; then