mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
libubootenv_%.bbappend: Add fw_env.config
Add fw_env.config that uses at run-time /boot/uboot.env generated through the boot scripts (specifically boot.cmd.in) from recipe rpi-u-boot-scr. This configuration file is required to successfully run fw_printenv from the user space. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Andrei Gherzan
parent
31bf9a46fa
commit
21d38f0918
@@ -0,0 +1 @@
|
||||
/boot/uboot.env 0x0000 0x4000
|
||||
@@ -0,0 +1,12 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI_append_rpi = " \
|
||||
file://fw_env.config \
|
||||
"
|
||||
|
||||
DEPENDS_append_rpi = " rpi-u-boot-scr"
|
||||
|
||||
do_install_append_rpi () {
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
|
||||
}
|
||||
Reference in New Issue
Block a user