Closed mebel-christ closed 2 years ago
As outlines by @amikan on the mailing list the following solution looks better and also removes the directory again when running do_clean.
...
do_prepare_build[cleandirs] += "${S}/debian"
do_prepare_build() {
deb_debianize
}
Since I am lazy I just created a recipe that looks kind of like the following (note this only includes dummy values for simplicity):
When building the image I received the following error:
cannot create <path_to_source>/debian/compat: Directory nonexistent
This seems to happen when the source repository does no contain a debian directory but the deb_debianize function requires it. For the sake of lazy people that do not write there own debianization it would be neat when the deb_debianize function creates a debian directory if it does not already exist in the source repository.
I created a patch that can be found in the mailing list.