Skip to content

Commit 67d240e

Browse files
authored
Merge pull request #1 from project-matcha/main
2 parents 33f52ed + 8eb519b commit 67d240e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Containerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ RUN zypper install -y \
5050

5151
RUN cp /usr/bin/bootc-initramfs-setup /usr/lib/dracut/modules.d/37composefs
5252

53-
RUN tee /etc/dracut.conf.d/composefs.conf <<EOF
54-
add_drivers+=" erofs "
55-
EOF
53+
RUN echo 'add_drivers+=" erofs "' >> /etc/dracut.conf.d/composefs.conf
5654

5755
RUN echo "$(basename "$(find /usr/lib/modules -maxdepth 1 -type d | grep -v -E "*.img" | tail -n 1)")" > kernel_version.txt && \
5856
dracut --force --add debug --no-hostonly --reproducible --zstd --verbose --kver "$(cat kernel_version.txt)" "/usr/lib/modules/$(cat kernel_version.txt)/initramfs.img" && \

0 commit comments

Comments
 (0)