Skip to content
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

Merged
merged 2 commits into from Dec 16, 2022
Merged

Freetzng-fix #433

merged 2 commits into from Dec 16, 2022

Conversation

BenediktMKuehne
Copy link
Member

  • 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

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"
Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"$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/
Copy link
Member Author

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?

Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

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/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably the best way ...

@m-1-k-3 m-1-k-3 merged commit 03fe2ce into e-m-b-a:master Dec 16, 2022
@m-1-k-3 m-1-k-3 mentioned this pull request Dec 16, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants