diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-05-06 19:52:59 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-05-06 19:52:59 -0700 |
commit | ed61bd5edb37155a0c68ce06def19827a8cdbbb2 (patch) | |
tree | 74c257d34e290712e5230a2c2e1cfe9936f565da | |
parent | Updated to 5.1.0 (diff) | |
download | linux-ed61bd5edb37155a0c68ce06def19827a8cdbbb2.tar.xz |
Reorganize PKGBUILD
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -62,9 +62,11 @@ _kernelname=${pkgbase#linux} prepare() { cd $_srcname -# # add upstream patch -# msg2 "Applying upstream patch" -# patch -Np1 < ../patch-${_majver}-${_pkgver} + # add upstream patch +# if [ "$_minver" != "0" ]; then +# msg2 "Applying upstream patch" +# patch -Np1 < ../patch-${_majver}-${_pkgver} +# fi # Hotfixes # msg2 "Applying hotfixes" @@ -94,11 +96,11 @@ prepare() { msg2 "Setting config..." # we are in src/linux-x.yy.zz, looking for a config next to the pkgbuild - #if [ -f ${SRCDEST}/config.previous ]; then - # cp ${SRCDEST}/config.previous .config - #else +# if [ -f ${SRCDEST}/config.previous ]; then +# cp ${SRCDEST}/config.previous .config +# else cp ../config.x86_64 .config - #fi +# fi make olddefconfig @@ -121,8 +123,8 @@ prepare() { cat ../version.temp | tr -d "\n" > ../version # back up the config - #msg2 "Backing up config..." - #cp .config ${SRCDEST}/config.previous +# msg2 "Backing up config..." +# cp .config ${SRCDEST}/config.previous msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)" } |