Skip to content

Commit

Permalink
Merge pull request #433 from BenediktMKuehne/dev-fix
Browse files Browse the repository at this point in the history
Freetzng-fix
  • Loading branch information
m-1-k-3 authored Dec 16, 2022
2 parents 992947c + 38d7b93 commit 03fe2ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions installer/IP12_avm_freetz_ng_extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ IP12_avm_freetz_ng_extract() {
if ! grep -q freetzuser /etc/passwd; then
useradd -m freetzuser
usermod -a -G "${ORIG_GROUP}" freetzuser
passwd -d freetzuser
fi
download_file "execstack" "http://ftp.br.debian.org/debian/pool/main/p/prelink/execstack_0.0.20131005-1+b10_amd64.deb" "external/execstack_0.0.20131005-1+b10_amd64.deb"
dpkg -i external/execstack_0.0.20131005-1+b10_amd64.deb
Expand All @@ -81,17 +82,16 @@ IP12_avm_freetz_ng_extract() {
if ! [[ -d external/freetz-ng ]]; then
mkdir external/freetz-ng

chown -R freetzuser:freetzuser external/freetz-ng
chmod 777 -R external/freetz-ng
su freetzuser -c "git clone https://github.com/Freetz-NG/freetz-ng.git external/freetz-ng"
su - freetzuser -c "git clone https://github.com/Freetz-NG/freetz-ng.git /tmp/freetz-ng"

cd external/freetz-ng || ( echo "Could not install EMBA component Freetz-NG" && exit 1 )
cd /tmp/freetz-ng || ( echo "Could not install EMBA component Freetz-NG" && exit 1 )

sudo -u freetzuser make allnoconfig
su - freetzuser -c "make allnoconfig"
# we currently running into an error that does not hinder us in using Freetz-NG
# sudo -u freetzuser make || true
sudo -u freetzuser make tools
su - freetzuser -c "make tools"
cd "$HOME_PATH" || ( echo "Could not install EMBA component Freetz-NG" && exit 1 )
mv -r /tmp/freetz-ng/* external/freetz-ng/
chown -R root:root external/freetz-ng
if [[ "$IN_DOCKER" -eq 1 ]]; then
# do some cleanup of the docker image
Expand Down

0 comments on commit 03fe2ce

Please sign in to comment.