Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 1 | # This is needed to guarantee that our whitelist takes |
| 2 | # precendence over the OpenBMC one |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 3 | FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 4 | |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 5 | SRC_URI:append:gbmc:dev = " file://whitelist.dev" |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 6 | |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 7 | do_install:append:gbmc:dev() { |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 8 | cat ${WORKDIR}/whitelist.dev >>${D}/whitelist |
| 9 | } |
| 10 | |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 11 | SRC_URI:append:gbmc:dev = " file://rwfs-clean-dev.patch" |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 12 | # Required for the clean-dev patch to detect version changes |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 13 | RDEPENDS:${PN}:append:gbmc:dev = " os-release" |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 14 | |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 15 | do_install:append:gbmc:prod() { |
Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 16 | echo "clean-rwfs-filesystem" > ${D}/init-options-base |
| 17 | chmod 0644 ${D}/init-options-base |
| 18 | } |
| 19 | |
Willy Tu | 4dd03ca | 2021-08-06 09:37:35 -0700 | [diff] [blame] | 20 | FILES:${PN}:append:gbmc:prod = " /init-options-base" |