linux-pine64-pinetab2: run default_prepare after manual patch handling
Otherwise any patches that need to be applied onto the out-of-tree code in the patch archive will fail to apply as the files won't exist yet. This works because delaying default_prepare also delays abuild's automatic patch application. Signed-off-by: Stefan Hansson <newbyte@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9027>
This commit is contained in:
@@ -40,12 +40,12 @@ builddir="$srcdir/linux-$pkgver"
|
||||
_outdir="out"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
# Decrunch the patch file and apply it to the tree
|
||||
zstd -d "$(readlink $srcdir/$_tags.patch.zst)" -o "$srcdir/$_tags.patch"
|
||||
patch -p1 -i "$srcdir/$_tags.patch"
|
||||
|
||||
default_prepare
|
||||
|
||||
cp "$srcdir/config-$_flavor.$CARCH" .config
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user