mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use ostreecontainer
This commit is contained in:
parent
1828adb299
commit
4da160c608
3 changed files with 8 additions and 0 deletions
3
.github/workflows/iso.yml
vendored
3
.github/workflows/iso.yml
vendored
|
|
@ -39,6 +39,7 @@ jobs:
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
lorax \
|
lorax \
|
||||||
xorriso \
|
xorriso \
|
||||||
|
podman \
|
||||||
git \
|
git \
|
||||||
rpm-ostree
|
rpm-ostree
|
||||||
|
|
||||||
|
|
@ -57,6 +58,8 @@ jobs:
|
||||||
--macboot --noupgrade \
|
--macboot --noupgrade \
|
||||||
--repo /etc/yum.repos.d/fedora.repo \
|
--repo /etc/yum.repos.d/fedora.repo \
|
||||||
--repo /etc/yum.repos.d/fedora-updates.repo \
|
--repo /etc/yum.repos.d/fedora-updates.repo \
|
||||||
|
--add-template ${GITHUB_WORKSPACE}/lorax_templates/embed_image.tmpl \
|
||||||
|
--add-template ${GITHUB_WORKSPACE}/lorax_templates/set_installer.tmpl \
|
||||||
--rootfs-size 9 \
|
--rootfs-size 9 \
|
||||||
./results/
|
./results/
|
||||||
|
|
||||||
|
|
|
||||||
4
lorax_templates/embed_image.tmpl
Normal file
4
lorax_templates/embed_image.tmpl
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<%page args="root"/>
|
||||||
|
runcmd podman pull ghcr.io/ublue-os/base-main:39
|
||||||
|
runcmd podman save -f oci-archive -o ${root}/base-main-39.tar ghcr.io/ublue-os/base-main:39
|
||||||
|
runcmd podman rmi ghcr.io/ublue-os/base-main:39
|
||||||
1
lorax_templates/set_installer.tmpl
Normal file
1
lorax_templates/set_installer.tmpl
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=file:///base-main-39.tar --transport=oci-archive --no-signature-verification"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue