1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 19:07:54 +01:00

replace ostree commands with bootc commands

This commit is contained in:
Jason N. 2024-03-13 11:37:42 -04:00
parent 6f1f78fa89
commit 71b42dd35c
3 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,3 @@
<%page args="_base_dir, root"/>
runcmd patch ${root}/usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py ${_base_dir}/lorax_templates/bootc_patch/39.patch

View file

@ -0,0 +1,11 @@
577,578c577,579
< args = ["install", "to-filesystem", "--source-imgref=" + ref,
< self._physroot]
---
> args = ["container", "image", "deploy",
> "--sysroot=" + self._physroot,
> "--image=" + ref]
588c589
< "bootc",
---
> "ostree",