Skip to content

Commit

Permalink
Remove out of date kernel workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
johnramsden committed Feb 29, 2020
1 parent cad5a23 commit 62cdc2c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ RUN printf 'git\narchzfs-linux\nreflector\nwget\nlinux\nlinux-firmware\ndhcpcd\n
RUN printf '\nsystemctl enable dhcpcd' >> \
"${ALEZ_BUILD_DIR}/iso/airootfs/root/customize_airootfs.sh"

## In case of kernel mismatch ##

RUN mkdir -p "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64" && \
cd "${ALEZ_BUILD_DIR}/iso/airootfs/root/customrepo/x86_64" && \
wget "https://archive.archlinux.org/packages/l/linux/linux-5.4.15.arch1-1-x86_64.pkg.tar.zst" && \
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"

RUN sed -i '/^\[core\]/i [customrepo]\n\
SigLevel = Optional TrustAll\n\
Server = file:///opt/alez/iso/airootfs/root/customrepo/$arch\n' \
"${ALEZ_BUILD_DIR}/iso/pacman.conf"

RUN pacman -Syy

## ##

COPY motd "${ALEZ_BUILD_DIR}/iso/airootfs/etc/"

# Copy in current directory to allow git tag checking
Expand Down

0 comments on commit 62cdc2c

Please sign in to comment.