Skip to content

Commit 62cdc2c

Browse files
committed
Remove out of date kernel workaround
1 parent cad5a23 commit 62cdc2c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Dockerfile

-16
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,6 @@ RUN printf 'git\narchzfs-linux\nreflector\nwget\nlinux\nlinux-firmware\ndhcpcd\n
2929
RUN printf '\nsystemctl enable dhcpcd' >> \
3030
"${ALEZ_BUILD_DIR}/iso/airootfs/root/customize_airootfs.sh"
3131

32-
## In case of kernel mismatch ##
33-
34-
RUN mkdir -p "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64" && \
35-
cd "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64" && \
36-
wget "https://archive.archlinux.org/packages/l/linux/linux-5.4.15.arch1-1-x86_64.pkg.tar.zst" && \
37-
repo-add "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64/customrepo.db.tar.gz" "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64/linux-5.4.15.arch1-1-x86_64.pkg.tar.zst"
38-
39-
RUN sed -i '/^\[core\]/i [customrepo]\n\
40-
SigLevel = Optional TrustAll\n\
41-
Server = file:///opt/alez/iso/airootfs/root/customrepo/$arch\n' \
42-
"${ALEZ_BUILD_DIR}/iso/pacman.conf"
43-
44-
RUN pacman -Syy
45-
46-
## ##
47-
4832
COPY motd "${ALEZ_BUILD_DIR}/iso/airootfs/etc/"
4933

5034
# Copy in current directory to allow git tag checking

0 commit comments

Comments
 (0)