Is there a method for creating a new empty directory in the root filesystem in BitBake?
Lest I forget guys @Middleware & OS, Is there a specific method for creating a new, empty directory in the root filesystem in BitBake? I attempted to include this in one of my bbappend files:
I ended up with a vague error: "Function failed: do_install".
I want the desired location for the directory to be in /tmp.
Solution:Jump to solution
First - if you are using an append file, then you may want to try changing
do_install() {
to do_install:append() {
Then, that failed my QA checks (on Kirkstone) because the package installs files in /tmp, but it is expected to be empty [empty-dirs]
. However, changing the location of the empty directory to somewhere else worked fine...1 Reply
Solution
First - if you are using an append file, then you may want to try changing
do_install() {
to do_install:append() {
Then, that failed my QA checks (on Kirkstone) because the package installs files in /tmp, but it is expected to be empty [empty-dirs]
. However, changing the location of the empty directory to somewhere else worked fine