Skip to content

Commit c4ccda3

Browse files
committed
install: Explicitly install awk.
Fix Fedora CI failing to build due to missing awk.
1 parent b654eb8 commit c4ccda3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

phreaknet.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ install_prereq() {
958958
# libnewt-dev is needed for newt, which dahdi_tool requires. If it's not available, it won't get built.
959959
# dwarves is needed for pahole, which DAHDI Linux install needs for BTF generation
960960
if [ "$PAC_MAN" = "apt-get" ]; then
961-
PREREQ_PACKAGES="$PREREQ_PACKAGES git patch gcc pkg-config autoconf automake m4 libtool build-essential"
961+
PREREQ_PACKAGES="$PREREQ_PACKAGES git patch gawk gcc pkg-config autoconf automake m4 libtool build-essential"
962962
if [ "$CHAN_DAHDI" = "1" ]; then
963963
PREREQ_PACKAGES="$PREREQ_PACKAGES libnewt-dev dwarves"
964964
fi
@@ -983,7 +983,7 @@ install_prereq() {
983983
if [ -f /etc/redhat-release ] && [ "$RHEL_MAJOR_VERSION" = "8" ]; then # RHEL or Rocky Linux major version 8
984984
RHEL_MAJOR_VERSION_8=1
985985
fi
986-
PREREQ_PACKAGES="$PREREQ_PACKAGES git patch gcc gcc-c++ pkg-config autoconf automake m4 libtool"
986+
PREREQ_PACKAGES="$PREREQ_PACKAGES git patch gawk gcc gcc-c++ pkg-config autoconf automake m4 libtool"
987987
if [ "$CHAN_DAHDI" = "1" ]; then
988988
PREREQ_PACKAGES="$PREREQ_PACKAGES newt-devel"
989989
if [ $RHEL_MAJOR_VERSION_8 -eq 0 ]; then
@@ -1006,7 +1006,7 @@ install_prereq() {
10061006
PREREQ_PACKAGES="$PREREQ_PACKAGES libedit-devel libuuid-devel libxml2-devel sqlite3-devel"
10071007
fi
10081008
elif [ "$PAC_MAN" = "pacman" ]; then
1009-
PREREQ_PACKAGES="$PREREQ_PACKAGES git make patch gcc pkg-config autoconf automake m4 libtool"
1009+
PREREQ_PACKAGES="$PREREQ_PACKAGES git make patch gawk gcc pkg-config autoconf automake m4 libtool"
10101010
if [ "$CHAN_DAHDI" = "1" ]; then
10111011
PREREQ_PACKAGES="$PREREQ_PACKAGES libnewt pahole"
10121012
fi

0 commit comments

Comments
 (0)