Diff raspberrypi-image-4.14.98_p20190215 with a raspberrypi-image-4.19.75_p20190925
| /usr/portage/sys-kernel/raspberrypi-image/raspberrypi-image-4.19.75_p20190925.ebuild 2023-10-09 14:52:35.536368503 +0300 | ||
|---|---|---|
| 11 | 11 |
SLOT="0" |
| 12 | 12 |
RESTRICT="binchecks strip" |
| 13 | 13 | |
| 14 |
RDEPEND="sys-boot/raspberrypi-firmware" |
|
| 14 |
# Temporary safety measure to prevent ending up with a pair of |
|
| 15 |
# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware |
|
| 16 |
# both of which installed device tree files. |
|
| 17 |
# Restore to simply "sys-boot/raspberrypi-firmware" when the mentioned version |
|
| 18 |
# and all older ones are deleted. |
|
| 19 |
RDEPEND=">sys-boot/raspberrypi-firmware-1.20190709" |
|
| 15 | 20 | |
| 16 | 21 |
if [[ "${PV}" == 9999 ]]; then
|
| 17 | 22 |
inherit git-r3 |
| ... | ... | |
| 20 | 25 |
else |
| 21 | 26 |
[[ "$(ver_cut 4)" == 'p' ]] || die "Unsupported version format, tweak the ebuild." |
| 22 | 27 |
MY_PV="1.$(ver_cut 5)" |
| 23 |
SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
| 28 |
SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> raspberrypi-firmware-${MY_PV}.tar.gz"
|
|
| 24 | 29 |
S="${WORKDIR}/firmware-${MY_PV}"
|
| 25 | 30 |
KEYWORDS="-* ~arm" |
| 26 | 31 |
fi |
| ... | ... | |
| 30 | 35 |
doins -r modules/* |
| 31 | 36 |
insinto /boot |
| 32 | 37 |
doins boot/*.img |
| 38 | ||
| 39 |
doins boot/*.dtb |
|
| 40 |
doins -r boot/overlays |
|
| 33 | 41 |
} |