alarm/raspberrypi-firmware: change packaging to fix mysterious v5 failure

This commit is contained in:
Kevin Mihelich 2012-08-09 21:17:48 +00:00
parent 39d8eee2c8
commit c1562a2a87

View file

@ -32,8 +32,9 @@ package() {
cp -R "${srcdir}"/firmware/boot "${pkgdir}"/boot cp -R "${srcdir}"/firmware/boot "${pkgdir}"/boot
mkdir -p "${pkgdir}"/opt/vc mkdir -p "${pkgdir}"/opt/vc
[[ $CARCH == "arm" ]] && cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc if [[ $CARCH == "arm" ]]; then
cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
[[ $CARCH == "armv6h" ]] && cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc elif [[ $CARCH == "armv6h" ]]; then
cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
fi
} }