File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 17
17
from bci_build .os_version import _SUPPORTED_UNTIL_SLE
18
18
from bci_build .os_version import OsVersion
19
19
from bci_build .package import DOCKERFILE_RUN
20
+ from bci_build .package import LOG_CLEAN
20
21
from bci_build .package import OsContainer
21
22
from bci_build .package import Package
22
23
from bci_build .package import generate_disk_size_constraints
@@ -435,6 +436,11 @@ def _get_minimal_kwargs(os_version: OsVersion):
435
436
+ (["tar" ] if os_version == OsVersion .SP4 else [])
436
437
+ (["suse-module-tools-scriptlets" ] if os_version .is_sl16 else [])
437
438
),
439
+ custom_end = textwrap .dedent (f"""
440
+ #!ArchExclusiveLine: x86_64 aarch64 ppc64le
441
+ { DOCKERFILE_RUN } if zypper -n install mokutil; then zypper -n clean -a; fi
442
+ { DOCKERFILE_RUN } { LOG_CLEAN }
443
+ """ ),
438
444
extra_files = {"_constraints" : generate_disk_size_constraints (8 )},
439
445
)
440
446
)
You can’t perform that action at this time.
0 commit comments