mirror of
https://github.com/get-aurora-dev/iso.git
synced 2026-11-03 21:49:46 -09:00
bootc install mount
This commit is contained in:
parent
fccd504f74
commit
5a2ecdd459
1 changed files with 5 additions and 13 deletions
|
|
@ -64,21 +64,13 @@ desktop-file-edit \
|
|||
# Interactive Kickstart
|
||||
tee -a /usr/share/anaconda/interactive-defaults.ks <<EOF
|
||||
bootc --source-imgref=containers-storage:$IMAGE_REF:$IMAGE_TAG --target-imgref=$IMAGE_REF:$IMAGE_TAG
|
||||
%include /usr/share/anaconda/post-scripts/install-flatpaks.ks
|
||||
%include /usr/share/anaconda/post-scripts/secureboot-enroll-key.ks
|
||||
EOF
|
||||
|
||||
# Install Flatpaks
|
||||
tee /usr/share/anaconda/post-scripts/install-flatpaks.ks <<'EOF'
|
||||
%post --erroronfail --nochroot
|
||||
deployment="$(ostree rev-parse --repo=/mnt/sysimage/ostree/repo ostree/0/1/0)"
|
||||
target="/mnt/sysimage/ostree/deploy/default/deploy/$deployment.0/var/lib/"
|
||||
mkdir -p "$target"
|
||||
systemctl stop var-lib-flatpak.mount
|
||||
rsync -aAXUHKP /var/lib/flatpak "$target"
|
||||
sync
|
||||
%end
|
||||
EOF
|
||||
|
||||
# temporary to test things
|
||||
dnf copr -y enable rhcontainerbot/bootc
|
||||
dnf swap --from-repo=copr:copr.fedorainfracloud.org:rhcontainerbot:bootc bootc bootc
|
||||
dnf copr -y disable rhcontainerbot/bootc
|
||||
|
||||
# Enroll Secureboot Key
|
||||
tee /usr/share/anaconda/post-scripts/secureboot-enroll-key.ks <<'EOF'
|
||||
|
|
|
|||
Loading…
Reference in a new issue