mirror of
https://github.com/ublue-os/titanoboa.git
synced 2026-11-03 21:49:46 -09:00
chore: replace podman push with podman pull to overlay storage
This commit is contained in:
parent
ce16cbc638
commit
545816cbb7
1 changed files with 2 additions and 3 deletions
5
Justfile
5
Justfile
|
|
@ -79,13 +79,12 @@ rootfs-include-container $IMAGE:
|
|||
# We need this in the rootfs specifically so that bootc can know what images are on disk via "podman images"
|
||||
sudo mkdir -p "${ROOTFS}/var/lib/containers/storage"
|
||||
TARGET_CONTAINERS_STORAGE="$(realpath "$ROOTFS")/var/lib/containers/storage"
|
||||
# Remove signatures as signed images get super mad when you do this
|
||||
sudo "${PODMAN}" push "${IMAGE}" "containers-storage:[overlay@${TARGET_CONTAINERS_STORAGE}]$IMAGE" --remove-signatures
|
||||
sudo umount "${TARGET_CONTAINERS_STORAGE}/overlay"
|
||||
# FIXME: add renovate rules for this.
|
||||
# Necessary so `podman images` can run on installers
|
||||
sudo curl -fSsLo "${ROOTFS}/usr/bin/fuse-overlayfs" "https://github.com/containers/fuse-overlayfs/releases/download/v1.14/fuse-overlayfs-$(arch)"
|
||||
sudo chmod +x "${ROOTFS}/usr/bin/fuse-overlayfs"
|
||||
# Remove signatures as signed images get super mad when you do this
|
||||
sudo "${PODMAN}" pull "${IMAGE}" --root="${TARGET_CONTAINERS_STORAGE}" --storage-driver=overlay --storage-opt=overlay.mount_program="${ROOTFS}/usr/bin/fuse-overlayfs"
|
||||
|
||||
rootfs-include-flatpaks $FLATPAKS_FILE="src/flatpaks.example.txt":
|
||||
#!/usr/bin/env bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue