diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-12 22:44:31 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-12 22:44:31 +0000 |
| commit | 3f58e364c9e9aeb9ece3c0d25cd3b3668d3c1327 (patch) | |
| tree | a22a5bed6ef9362cc66b769f95e4e02dea4ecd8a /recipes-containers/crun | |
| parent | e390223891b11c13c005a5183cf3bbb6d105d6c9 (diff) | |
| download | meta-virtualization-3f58e364c9e9aeb9ece3c0d25cd3b3668d3c1327.tar.gz | |
crun: set CLEANBROKEN to fix configure on rebuild
crun ships a GNUmakefile that aborts with "You must run ./autogen.sh &&
./configure" when make clean is invoked before configure has run. The
autotools_preconfigure prefunc triggers this when rebuilding (e.g. via
multiconfig where sstate hash changes cause reconfiguration).
Set CLEANBROKEN = "1" to skip the make clean in autotools_preconfigure.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/crun')
| -rw-r--r-- | recipes-containers/crun/crun_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb index 46c14b79..3d4c17c4 100644 --- a/recipes-containers/crun/crun_git.bb +++ b/recipes-containers/crun/crun_git.bb | |||
| @@ -23,6 +23,10 @@ PV = "v1.24.0+git" | |||
| 23 | 23 | ||
| 24 | inherit autotools-brokensep pkgconfig features_check | 24 | inherit autotools-brokensep pkgconfig features_check |
| 25 | 25 | ||
| 26 | # crun ships a GNUmakefile that aborts if ./configure hasn't run yet, | ||
| 27 | # which breaks autotools_preconfigure's "make clean" on rebuild. | ||
| 28 | CLEANBROKEN = "1" | ||
| 29 | |||
| 26 | # if this is true, we'll symlink crun to runc for easier integration | 30 | # if this is true, we'll symlink crun to runc for easier integration |
| 27 | # with container stacks | 31 | # with container stacks |
| 28 | CRUN_AS_RUNC ?= "true" | 32 | CRUN_AS_RUNC ?= "true" |
