Skip to content

Commit 06a61b1

Browse files
committed
chore: Use new shared initramfs script
1 parent ca57ce5 commit 06a61b1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Containerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
3434
--mount=type=cache,dst=/var/log \
3535
--mount=type=tmpfs,dst=/tmp \
3636
/ctx/build && \
37+
/ctx/shared/build-initramfs && \
3738
/ctx/shared/finalize
3839

3940
# DEBUGGING

build_files/build

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ apt-get install -y -t "${codename}-backports" \
168168
firmware-sof-signed \
169169
firmware-zd1211
170170

171-
# Build Initramfs
172-
KERNEL_VERSION="$(basename "$(find /usr/lib/modules -maxdepth 1 -type d | grep -v -E "*.img" | tail -n 1)")"
173-
dracut --force --no-hostonly --reproducible --zstd --verbose \
174-
--kver "$KERNEL_VERSION" "/usr/lib/modules/$KERNEL_VERSION/initramfs.img"
175-
cp -f "/boot/vmlinuz-$KERNEL_VERSION" "/usr/lib/modules/$KERNEL_VERSION/vmlinuz"
176-
177171
# Print final package list
178172
apt list --installed > /usr/share/snow/snow.packages.txt
179173

0 commit comments

Comments
 (0)