aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2018-06-19 14:08:21 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2018-06-19 14:08:30 +0000
commitc9774dcfddb414b36e11cb93f3c543429ad5a38f (patch)
treed9a617cb1a74ab9e3729ff865fab351a316c0146 /main
parent0abe9d906c54010b7cc231ab8927fc25799706d3 (diff)
downloadaports-c9774dcfddb414b36e11cb93f3c543429ad5a38f.tar.bz2
aports-c9774dcfddb414b36e11cb93f3c543429ad5a38f.tar.xz
main/linux-rpi: fix armhf build
Diffstat (limited to 'main')
-rw-r--r--main/linux-rpi/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD
index cd51dd2f42..68886c7c51 100644
--- a/main/linux-rpi/APKBUILD
+++ b/main/linux-rpi/APKBUILD
@@ -193,8 +193,11 @@ _package() {
install -D include/config/kernel.release \
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
- [ "$CARCH" = "aarch64" ] && mv "$INSTALL_DTBS_PATH"/broadcom/*.dtb \
- "$INSTALL_DTBS_PATH" && rmdir "$INSTALL_DTBS_PATH"/broadcom
+ if [ "$CARCH" = "aarch64" ]; then
+ mv -f "$INSTALL_DTBS_PATH"/broadcom/*.dtb \
+ "$INSTALL_DTBS_PATH"
+ rmdir "$INSTALL_DTBS_PATH"/broadcom
+ fi
}
# main flavor installs in $pkgdir