main/linux-postmarketos-allwinner: fix indentation (!508)

This commit is contained in:
Luca Weiss 2019-07-18 14:07:54 +02:00 committed by Oliver Smith
parent 057c14ad62
commit 3d57e0b688
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -52,24 +52,24 @@ build() {
} }
package() { package() {
# kernel.release # kernel.release
install -D "$builddir/include/config/kernel.release" \ install -D "$builddir/include/config/kernel.release" \
"$pkgdir/usr/share/kernel/$_flavor/kernel.release" "$pkgdir/usr/share/kernel/$_flavor/kernel.release"
# zImage (find the right one)
cd "$builddir/arch/$_carch/boot"
_target="$pkgdir/boot/vmlinuz-$_flavor"
for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do
[ -e "$_zimg" ] || continue
msg "zImage found: $_zimg"
install -Dm644 "$_zimg" "$_target"
break
done
if ! [ -e "$_target" ]; then
error "Could not find zImage in $PWD!"
return 1
fi
# zImage (find the right one)
cd "$builddir/arch/$_carch/boot"
_target="$pkgdir/boot/vmlinuz-$_flavor"
for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do
[ -e "$_zimg" ] || continue
msg "zImage found: $_zimg"
install -Dm644 "$_zimg" "$_target"
break
done
if ! [ -e "$_target" ]; then
error "Could not find zImage in $PWD!"
return 1
fi
cd "$builddir" cd "$builddir"
local _install local _install
case "$CARCH" in case "$CARCH" in