-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freetzng-fix #433
Freetzng-fix #433
Conversation
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as we are using "$EXT_DIR"/freetz-ng/fwmod in the extractor
this will not work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emba/modules/P12_avm_freetz_ng_extract.sh
Line 57 in 992947c
"$EXT_DIR"/freetz-ng/fwmod -u -i "$TMP_DIR"/.config -d "$EXTRACTION_DIR_" "$AVM_FW_PATH_" | tee -a "$LOG_FILE" || true |
cd "$HOME_PATH" || ( echo "Could not install EMBA component Freetz-NG" && exit 1 ) | ||
mv -r /tmp/freetz-ng/* external/freetz-ng/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The end-result should be the same no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry but I have not seen this. Do we really need to build it in tmp?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my understanding of different filesystems is limited, but this circumvents all permission problems with one user building in another ones home-directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the best way ...
cd "$HOME_PATH" || ( echo "Could not install EMBA component Freetz-NG" && exit 1 ) | ||
mv -r /tmp/freetz-ng/* external/freetz-ng/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the best way ...
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fixes tool installation
What is the current behavior? (You can also link to an open issue here)
broken
What is the new behavior (if this is a feature change)? If possible add a screenshot.
fix
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
❎ no