main/linux-postmarketos-allwinner: fix indentation (!508)
This commit is contained in:
parent
057c14ad62
commit
3d57e0b688
1 changed files with 17 additions and 17 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue