diff --git a/srcpkgs/rpi-firmware/template b/srcpkgs/rpi-firmware/template index 66736c6a55e..80995dd9e28 100644 --- a/srcpkgs/rpi-firmware/template +++ b/srcpkgs/rpi-firmware/template @@ -19,6 +19,8 @@ do_fetch() { do_install() { rm -f boot/kernel.img + rm -f boot/kernel_emergency.img + rm -f boot/COPYING.linux vmkdir boot cp -R boot/* ${DESTDIR}/boot @@ -30,9 +32,8 @@ do_install() { echo "/opt/vc/lib/" > ${DESTDIR}//etc/ld.so.conf.d/${pkgname}.conf vmkdir usr/share/licenses/${pkgname} - vmove boot/COPYING.linux usr/share/licenses/${pkgname} - vmove boot/LICENCE.broadcom usr/share/licenses/${pkgname} - vmove opt/vc/LICENCE usr/share/licenses/${pkgname} + mv ${DESTDIR}/boot/LICENCE.broadcom ${DESTDIR}/usr/share/licenses/${pkgname} + mv ${DESTDIR}/opt/vc/LICENCE ${DESTDIR}/usr/share/licenses/${pkgname} # Install configuration files. vinstall ${FILESDIR}/cmdline.txt 644 boot