You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lets say i want to generate some custom/proprietary/niche kind of image that is not supported in genimage and the upstream support does not even make sense. I've found following works quite well. Please note i am demonstrating creation of ext4 image, which is obviously supported by genimage, but lets pretend it's not.
There is only one problem. exec-pre is not executed unless file.img already exists, so i need to do touch file.img before running genimage. I think it would be nice to have way of postponing the stat() after exec-pre OR providing something like exec-gen that would be executed beforehand.
What do you think about such change?
The text was updated successfully, but these errors were encountered:
Lets say i want to generate some custom/proprietary/niche kind of image that is not supported in genimage and the upstream support does not even make sense. I've found following works quite well. Please note i am demonstrating creation of ext4 image, which is obviously supported by genimage, but lets pretend it's not.
There is only one problem.
exec-pre
is not executed unlessfile.img
already exists, so i need to dotouch file.img
before running genimage. I think it would be nice to have way of postponing thestat()
afterexec-pre
OR providing something likeexec-gen
that would be executed beforehand.What do you think about such change?
The text was updated successfully, but these errors were encountered: