From 3139b7b24c4d506a58ff4fb3a48130c3c72d562c Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Tue, 6 Feb 2024 01:54:16 -0800 Subject: [PATCH] remove touches from bootstrap --- src/bootstrap/stage0/Containerfile | 3 +-- src/bootstrap/stage2/Containerfile | 1 - src/bootstrap/stage3/Containerfile | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bootstrap/stage0/Containerfile b/src/bootstrap/stage0/Containerfile index 5e8cf61..3ae5be8 100644 --- a/src/bootstrap/stage0/Containerfile +++ b/src/bootstrap/stage0/Containerfile @@ -17,8 +17,7 @@ COPY <<-EOF build.sh bootstrap-seeds/POSIX/x86/kaem-optional-seed mkdir -p /rootfs && cp -R * /rootfs/ cd /rootfs - sha256sum x86/bin/* > hashes.txt; \ - find . -exec touch -hcd "@0" "{}" + + sha256sum x86/bin/* > hashes.txt EOF FROM base as build1 diff --git a/src/bootstrap/stage2/Containerfile b/src/bootstrap/stage2/Containerfile index e3a3bde..4465bf4 100644 --- a/src/bootstrap/stage2/Containerfile +++ b/src/bootstrap/stage2/Containerfile @@ -192,7 +192,6 @@ RUN --network=none <<-EOF ln -s /usr/lib/ld-musl-i386.so.1 /rootfs/lib/libc.so ln -s /usr/lib/ld-musl-i386.so.1 /rootfs/lib/ld-musl-i386.so.1 ln -s /${TARGET}/lib/ld-musl-${ARCH}.so.1 /rootfs/lib/ld-musl-${ARCH}.so.1 - find /rootfs -exec touch -hcd "@0" "{}" + EOF FROM scratch as package diff --git a/src/bootstrap/stage3/Containerfile b/src/bootstrap/stage3/Containerfile index 2ad1760..70a28c7 100644 --- a/src/bootstrap/stage3/Containerfile +++ b/src/bootstrap/stage3/Containerfile @@ -238,7 +238,6 @@ RUN --network=none <<-EOF echo "user:x:1000:" > etc/group echo "user:x:1000:1000::/home/user:/bin/sh" > etc/passwd chown -R 1000:1000 tmp var/tmp home/user - find /rootfs -exec touch -hcd "@0" "{}" + EOF FROM scratch as package