|
How to install files to custom partition?
Hello, Update: Tried below approach do_install() { install -d ${D}${custom}/ install -m 0755 ${S}/sample.sh ${D}${custom}/sample.sh } FILES_${PN} = " \ ${custom}/sample.sh \ " But, getting the error "
Hello, Update: Tried below approach do_install() { install -d ${D}${custom}/ install -m 0755 ${S}/sample.sh ${D}${custom}/sample.sh } FILES_${PN} = " \ ${custom}/sample.sh \ " But, getting the error "
|
By
Sourabh Hegde
· #59369
·
|
|
How to install files to custom partition?
Hello Alex, Thanks for the update. I already have a partition created using .wks file. "--label custom" is used here Do you mean like this below? do_install() { install -d ${D}${custom}/ install -m 07
Hello Alex, Thanks for the update. I already have a partition created using .wks file. "--label custom" is used here Do you mean like this below? do_install() { install -d ${D}${custom}/ install -m 07
|
By
Sourabh Hegde
· #59368
·
|
|
How to install files to custom partition?
Hello, I have some files which I need to install them to a custom partition (to /mnt/custom). But, I couldn't find any installation variables to install files to /mnt/ (partiton other than rootfs). I
Hello, I have some files which I need to install them to a custom partition (to /mnt/custom). But, I couldn't find any installation variables to install files to /mnt/ (partiton other than rootfs). I
|
By
Sourabh Hegde
· #59363
·
|
|
How to maintain meta layer with different versions of recipes?
Hello Khem Raj, Thank you for the response. This seems to be a better solution for my use case. But, I didn't understand it completely. Could you please provide an example or any link to documentation
Hello Khem Raj, Thank you for the response. This seems to be a better solution for my use case. But, I didn't understand it completely. Could you please provide an example or any link to documentation
|
By
Sourabh Hegde
· #58732
·
|
|
How to maintain meta layer with different versions of recipes?
Hello, I have a generic use-case of maintaining the meta layer. I have a custom meta layer. But this layer serves multiple customers who share most of the recipes and files. But some files are custome
Hello, I have a generic use-case of maintaining the meta layer. I have a custom meta layer. But this layer serves multiple customers who share most of the recipes and files. But some files are custome
|
By
Sourabh Hegde
· #58728
·
|
|
How to enabled systemd unit files automatically using recipe?
I have a question here: If I something like below in my recipe SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'one.service', '', d)}" Then, can I add multiple files with:
I have a question here: If I something like below in my recipe SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'one.service', '', d)}" Then, can I add multiple files with:
|
By
Sourabh Hegde
· #58676
·
|
|
How to enabled systemd unit files automatically using recipe?
Cool. Thanks again
By
Sourabh Hegde
· #58412
·
|
|
How to enabled systemd unit files automatically using recipe?
Hello Sergei, Thanks for the update. I have already added "SYSTEMD_SERVICE:${PN}" to my recipe. But, it is set to different file(.service file). Can I add multiple files to it?
Hello Sergei, Thanks for the update. I have already added "SYSTEMD_SERVICE:${PN}" to my recipe. But, it is set to different file(.service file). Can I add multiple files to it?
|
By
Sourabh Hegde
· #58410
·
|
|
How to enabled systemd unit files automatically using recipe?
Hello, This might not be directly related to Yocto. I have a systemd .path unit file that restarts the system service if the file changes. But, the path ubit file needs to be enabled once to make this
Hello, This might not be directly related to Yocto. I have a systemd .path unit file that restarts the system service if the file changes. But, the path ubit file needs to be enabled once to make this
|
By
Sourabh Hegde
· #58406
·
|
|
How to create symlink while installing binary in recipe?
Hello All, I have a simple recipe in which a binary is installed to /usr/bin/. Now, I want to establish a symlink to same binary also. I am using hardknott release do_install () { install -d ${D}${bin
Hello All, I have a simple recipe in which a binary is installed to /usr/bin/. Now, I want to establish a symlink to same binary also. I am using hardknott release do_install () { install -d ${D}${bin
|
By
Sourabh Hegde
· #58321
·
|
|
System is booting to "emergency/rescue mode"
Hello All, This may not be the issue with Yocto itself but rather related to properly booting up Linux on Avenger96(STM32MP1) board. I am currently working on Avenger96 with Yocto(Dunfell). Aim is to
Hello All, This may not be the issue with Yocto itself but rather related to properly booting up Linux on Avenger96(STM32MP1) board. I am currently working on Avenger96 with Yocto(Dunfell). Aim is to
|
By
Sourabh Hegde
· #56700
·
|
|
How to manage disk space while working with Yocto?
Yes, I am building Yocto inside docker containers. But previously, I did not face this issue with docker container.
Yes, I am building Yocto inside docker containers. But previously, I did not face this issue with docker container.
|
By
Sourabh Hegde
· #56466
·
|
|
How to manage disk space while working with Yocto?
Hi Alex, Below is the output of "df":
Hi Alex, Below is the output of "df":
|
By
Sourabh Hegde
· #56464
·
|
|
How to manage disk space while working with Yocto?
Hello, Thanks for the update. Even after deleting build/tmp and build/sstate-cache and setting `INHERIT += "rm_work"` in the build/conf/local.conf. But still I am facing same issue. Is there any way t
Hello, Thanks for the update. Even after deleting build/tmp and build/sstate-cache and setting `INHERIT += "rm_work"` in the build/conf/local.conf. But still I am facing same issue. Is there any way t
|
By
Sourabh Hegde
· #56462
·
|
|
How to manage disk space while working with Yocto?
Hello All, I am using Yocto for one of my project. I know that Yocto needs a good amount of disk space for build activities. And also I am working as non-root user in Ubuntu 20.04. But I often run int
Hello All, I am using Yocto for one of my project. I know that Yocto needs a good amount of disk space for build activities. And also I am working as non-root user in Ubuntu 20.04. But I often run int
|
By
Sourabh Hegde
· #56456
·
|
|
How to disable Bluetooth of Raspberry Pi from Yocto?
Hello Tomasz, Thanks for quick reply. I forgot to mention, I am on "Honister" release. Yes, I added rpi_config_git.bbappend file Yes, I tried that, but it's not working. May be it's fails to respond f
Hello Tomasz, Thanks for quick reply. I forgot to mention, I am on "Honister" release. Yes, I added rpi_config_git.bbappend file Yes, I tried that, but it's not working. May be it's fails to respond f
|
By
Sourabh Hegde
· #56400
·
|
|
How to disable Bluetooth of Raspberry Pi from Yocto?
Hello All, I have a question regarding disabling bluetooth of my Raspberry Pi Compute Module 4. I know that we need to set "dtoverlay=disable-bt" in config.txt But how to do it from Yocto? Should I in
Hello All, I have a question regarding disabling bluetooth of my Raspberry Pi Compute Module 4. I know that we need to set "dtoverlay=disable-bt" in config.txt But how to do it from Yocto? Should I in
|
By
Sourabh Hegde
· #56398
·
|
|
Building Yocto images for RPi CM4
Hello Khem, I got my hands on Raspberry Pi Compute Module 4 IO Board and also I could access serial console now. Below is the log message I got while booting: [ 0.000000] Booting Linux on physical CPU
Hello Khem, I got my hands on Raspberry Pi Compute Module 4 IO Board and also I could access serial console now. Below is the log message I got while booting: [ 0.000000] Booting Linux on physical CPU
|
By
Sourabh Hegde
· #56298
·
|
|
Building Yocto images for RPi CM4
Hello Khem, I am already using Raspberry Pi compatible screen. Can you please let me know how to enable verbose options for kernel and bootloader? Thanks in advance
Hello Khem, I am already using Raspberry Pi compatible screen. Can you please let me know how to enable verbose options for kernel and bootloader? Thanks in advance
|
By
Sourabh Hegde
· #56271
·
|
|
Building Yocto images for RPi CM4
Hello Khem, I agree. But since there is no serial console support available on my IO carrier board, I can't see what it prints. Is there any other way to debug? Kind Regards, Sourabh
Hello Khem, I agree. But since there is no serial console support available on my IO carrier board, I can't see what it prints. Is there any other way to debug? Kind Regards, Sourabh
|
By
Sourabh Hegde
· #56258
·
|