Files
meta-qcom-extras/classes/qcom-firmware-mount.bbclass
Nicolas Dechesne 3a70f96d66 classes: qcom-firmware-mount: automatically mount firmware partition
On some Qualcomm platform, the firmware reside in their own partition, in such
situation we can mount this partition automatically at boot.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-10-12 20:11:07 +01:00

7 lines
216 B
Plaintext

qcom_mount_firmware() {
mkdir -p ${IMAGE_ROOTFS}/lib/firmware
echo "LABEL=qcom-firmware /lib/firmware ext4 defaults 0 0" >> ${IMAGE_ROOTFS}/etc/fstab
}
ROOTFS_POSTPROCESS_COMMAND += "qcom_mount_firmware ; "