| # debian.sh --arch 'amd64' out/ 'trixie' '@1789689600' |
| /bin/sh -c rm -f /etc/apt/apt.conf.d/docker-gzip-indexes /etc/apt/apt.conf.d/docker-no-languages |
| /bin/sh -c rm -f /var/log/apt/eipp.log.xz |
| /bin/sh -c --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked --mount=type=tmpfs,target=/var/log --mount=type=tmpfs,target=/run apt update && apt install -y ca-certificates libarchive13 libcurl4-openssl-dev libzstd-dev libssl-dev pkg-config curl git build-essential meson libfuse3-dev liblzma-dev libarchive-dev libsoup2.4-dev e2fslibs-dev libext2fs-dev libgpgme-dev go-md2man autoconf automake libtool libseccomp-dev libcap-dev libglib2.0-dev bison flex equivs gobject-introspection ninja-build --no-install-recommends |
| /bin/sh -c --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked --mount=type=tmpfs,target=/var/log --mount=type=tmpfs,target=/var/cache --mount=type=tmpfs,target=/run apt update && apt install -y systemd systemd-boot systemd-ukify systemd-timesyncd ca-certificates curl locales dracut dosfstools e2fsprogs fdisk firmware-linux-free git git-lfs gpg zstd libp11-kit0 rsync iproute2 iputils-ping systemd-resolved wpasupplicant skopeo podman openssh-server sudo vim btop |
| /bin/sh -c --mount=type=bind,from=ostree,src=/,dst=/mnt dpkg -i /mnt/libostree.deb && apt-mark hold libostree-1-1 |
| COPY dir:e57a0638146122e11371ea09c3ea6d28a4939fab4a6b28c1058d1cdf50d53d00 in / |
| COPY dir:3da208924bd6e560de910123d90883d95369a804a760ffc61a70c25d87ec3e8f in / |
| COPY dir:6a3e9820cb029f4974fc8e29ceb853c529be85f9e5a1352527760690469e1c66 in / |
| COPY dir:bc2701ce4c29a71cb13512288e853f4ee21e6ed688c4297bdb595c92d3c6a70c in / |
| ARG BUILD_ID |
| |1 BUILD_ID=7615a18-dirty /bin/sh -c --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked --mount=type=tmpfs,target=/var/log --mount=type=tmpfs,target=/var/cache --mount=type=tmpfs,target=/run --mount=type=bind,src=scripts/build,dst=/ctx/build /ctx/build:sha256:455f38c2d9f1245ec38c919ab6869f7b8abf585f6cfd669cc189390af3fc0106 |
| |1 BUILD_ID=7615a18-dirty /bin/sh -c echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen && echo "LANG=en_US.UTF-8" > /etc/default/locale |
| |1 BUILD_ID=7615a18-dirty /bin/sh -c systemctl enable systemd-networkd.service systemd-networkd-wait-online.service systemd-resolved.service systemd-timesyncd.service |
| |1 BUILD_ID=7615a18-dirty /bin/sh -c /usr/libexec/bootc-finalize |
| LABEL containers.bootc=1 |
| |1 BUILD_ID=7615a18-dirty /bin/sh -c bootc container lint |
| /bin/sh -c set -eux; if [ -f /etc/apt/sources.list.d/debian.sources ]; then grep -q contrib /etc/apt/sources.list.d/debian.sources || sed -i 's/^Components:.*/& contrib/' /etc/apt/sources.list.d/debian.sources; else sed -i 's/\(^deb .* main\)$/\1 contrib/' /etc/apt/sources.list; fi |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends linux-image-amd64 linux-headers-amd64 && apt-get clean && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends zfs-dkms zfsutils-linux zfs-zed && apt-get clean && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c set -eux; test "$(ls /usr/lib/modules | wc -l)" -eq 1 || { echo "expected one kernel in /usr/lib/modules, got: $(ls /usr/lib/modules)"; exit 1; }; kver=$(ls /usr/lib/modules); dkms autoinstall -k "$kver"; ls /usr/lib/modules/"$kver"/updates/dkms/zfs.ko* || { echo "no zfs module built for $kver"; dkms status; exit 1; }; modinfo -k "$kver" zfs | grep -E '^(version|vermagic):' |
| /bin/sh -c kver=$(ls /usr/lib/modules) && cp "/boot/vmlinuz-$kver" "/usr/lib/modules/$kver/vmlinuz" && /usr/libexec/build-initramfs && rm -rf /boot/* |
| COPY dir:ca3ad5ffddd9e366778d3d5fb91ed002fbc6ec035a276884be5ab6eefaa19b6a in / |
| /bin/sh -c set -eux; rm -f /etc/hostid; test -x /usr/sbin/zgenhostid; systemctl enable zfs-hostid.service |
| /bin/sh -c set -eux; for u in zfs-import-cache.service zfs-mount.service zfs-zed.service zfs.target zfs-import.target zfs-hostid.service; do systemctl is-enabled "$u" | grep -qx enabled || { echo "$u is not enabled"; exit 1; }; done |
| /bin/sh -c systemctl mask bootc-fetch-apply-updates.timer |
| /bin/sh -c bootc container lint |