Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
hotfix: downgrade iputils
Browse files Browse the repository at this point in the history
The currently packaged version of iputils contains a bug in arping
preventing dhclient duplicate address detection to work:
  iputils/iputils#209

Signed-off-by: Marin Hannache <[email protected]>
  • Loading branch information
Marin Hannache committed Oct 11, 2019
1 parent 67c706b commit 39e3ab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch-creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,17 @@ conf() {
gen_kernel() {
step "Generating kernel & initramfs"


run_chroot "mv /bin/systemctl.old /bin/systemctl"

run_chroot "pacman -Sy --noconfirm --needed linux-lts linux-lts-headers git asciidoc dhclient cpio xz rng-tools iputils"
kver=$(cd "${ROOTFS_DIR}/lib/modules/"; echo [0-9]*.*-lts)

# arping is broken with current version of iputils
ARPING_PKG="iputils-20180629.f6aac8d-4-x86_64.pkg.tar.xz"
run cp "files/${ARPING_PKG}" "${ROOTFS_DIR}/root"
run_chroot "pacman -U --noconfirm /root/${ARPING_PKG}"

run_chroot_unless '[ -d "${ROOTFS_DIR}/root/dracut" ]' "git clone https://github.com/epita/dracut.git /root/dracut"
run cp "files/dracut-cri.conf" "${ROOTFS_DIR}/root/dracut/dracut-cri.conf"
run_chroot "cd /root/dracut; ./configure; make"
Expand Down
Binary file not shown.

0 comments on commit 39e3ab1

Please sign in to comment.