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:
parent
6f1f78fa89
commit
71b42dd35c
3 changed files with 21 additions and 2 deletions
3
lorax_templates/bootc_patch.tmpl
Normal file
3
lorax_templates/bootc_patch.tmpl
Normal 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
|
||||
11
lorax_templates/bootc_patch/39.patch
Normal file
11
lorax_templates/bootc_patch/39.patch
Normal 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",
|
||||
Loading…
Add table
Add a link
Reference in a new issue