rpi-firmware: remove unused files.
This commit is contained in:
parent
840980da44
commit
f0fba8575e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue