Skip to content

Commit dab7b36

Browse files
committed
ocpver
1 parent 8ae8b1e commit dab7b36

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Containerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ RUN mkdir -p /build/target/dev-rootfs # This can hold arbitrary extra content
1010
RUN --mount=type=cache,target=/build/target --mount=type=cache,target=/var/roothome make test-bin-archive && mkdir -p /out && cp target/bootc.tar /out
1111
RUN mkdir -p /build/target/dev-rootfs # This can hold arbitrary extra content
1212

13-
FROM quay.io/otuchfel/bootc:seed2 as seed
13+
FROM quay.io/otuchfel/bootc:seed30 as seed
1414

1515
# ____________________________________________________________________________
1616

17-
FROM quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:5b1124faf4b73753b4679085604dd8cb810c4a7a2e659978f5c80183bb165f94
17+
FROM quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:66b5f9d8f1af5acee783db84a25c08338252ff9c276d33e391680168a22f42ee
18+
1819

1920
LABEL com.openshift.lifecycle-agent.seed_format_version=4
2021

build_seed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ set -euxo pipefail
77
cd $SCRIPT_DIR
88

99
podman build -t bootcseed -f Containerfile .
10-
podman tag bootcseed:latest quay.io/otuchfel/bootc:seed6
11-
podman push quay.io/otuchfel/bootc:seed6
10+
podman tag bootcseed:latest quay.io/otuchfel/bootc:seed61
11+
podman push quay.io/otuchfel/bootc:seed61

lib/src/install.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,8 @@ fn ensure_var() -> Result<()> {
11121112
/// will traverse the link.
11131113
#[context("Linking tmp mounts to host")]
11141114
pub(crate) fn setup_tmp_mounts() -> Result<()> {
1115-
let slash_tmp_statfs = rustix::fs::statfs("/tmp")?;
1116-
if slash_tmp_statfs.f_type == libc::TMPFS_MAGIC {
1115+
let st = rustix::fs::statfs("/tmp")?;
1116+
if st.f_type == libc::TMPFS_MAGIC {
11171117
tracing::trace!("Already have tmpfs /tmp")
11181118
} else {
11191119
// Note we explicitly also don't want a "nosuid" tmp, because that

0 commit comments

Comments
 (0)