pine64-pinephone: remove old u-boot legacy images from /boot on upgrade (MR 2494)
fixes #1228
This commit is contained in:
parent
de98d83d47
commit
7c511d677e
|
@ -6,7 +6,7 @@
|
||||||
# Co-Maintainer: Dylan Van Assche <me@dylanvanassche.be>
|
# Co-Maintainer: Dylan Van Assche <me@dylanvanassche.be>
|
||||||
pkgname=device-pine64-pinephone
|
pkgname=device-pine64-pinephone
|
||||||
pkgver=0.35
|
pkgver=0.35
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="PINE64 PinePhone"
|
pkgdesc="PINE64 PinePhone"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -33,7 +33,7 @@ depends="
|
||||||
u-boot-tools
|
u-boot-tools
|
||||||
"
|
"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-upgrade"
|
||||||
source="
|
source="
|
||||||
00_alsa_pinephone_dshare.conf
|
00_alsa_pinephone_dshare.conf
|
||||||
10-pinephone-proximity.rules
|
10-pinephone-proximity.rules
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# legacy u-boot images are no longer necessary, but were generated outside of
|
||||||
|
# packaging so remove them here to prevent a failed upgrade if /boot is too
|
||||||
|
# full
|
||||||
|
# see: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2449
|
||||||
|
rm /boot/uImage-postmarketos-allwinner 2>/dev/null 1>&2
|
||||||
|
rm /boot/uInitrd-postmarketos-allwinner 2>/dev/null 1>&2
|
Loading…
Reference in New Issue
Block a user