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

Add qemu-arm-static when chroot on non-arm platform #23

Closed
wants to merge 2 commits into from

Conversation

VertexC
Copy link
Contributor

@VertexC VertexC commented May 26, 2019

The image boots on raspberry3B model while failed on raspberry3+B.

bin/create_image.sh Outdated Show resolved Hide resolved
@@ -95,7 +95,7 @@ fi
server_ip=`dig +short myip.opendns.com @resolver1.opendns.com`
read -e -p "Server IP: " -i "${server_ip}" config_server_ip
read -e -p "Server interface (SSL): " -i "443" config_server_port
read -e -p "Application root (if not a whole (sub)domain, enter the path. None if whole (sub)domain): " -i "None" config_application_root
read -e -p "Application root (if not a whole (sub)domain, enter the path. None if whole (sub)domain): " -i "'/'" config_application_root
Copy link
Member

Choose a reason for hiding this comment

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

I thought (at least under the Flask version I used) that it should be None, as we'd use a full domain (e.g. canihavesome.coffee) and not a subdirectory... Did it change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The web page continues to jump back to auth/login if the application_root is None. Before I find any other supportive material, let's leave that to None.

@pep8speaks
Copy link

pep8speaks commented May 28, 2019

Hello @VertexC, Thank you for updating the PR!

Great work! I discovered no PEP8 issues in this Pull Request. 🥇

Comment last updated at 2019-06-01 20:37:52 UTC

@@ -68,13 +68,23 @@ cp -r "${DIR}/../../client" /mnt/tmp/usr/src/client >> "${LOG}" 2>&1
echo "${3}" > /tmp/profile.json
mv /tmp/profile.json /mnt/tmp/usr/src/client/honeypot_profile.json
cp -r "${DIR}/../pipot/services" /mnt/tmp/usr/src/client/pipot >> "${LOG}" 2>&1
cpuArch=$(python ${DIR}/getCpuArch.py)
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason why you use python instead of directly calling it here in bash?

@VertexC
Copy link
Contributor Author

VertexC commented Jun 5, 2019

Close as PR #24 add the same feature.

@VertexC VertexC closed this Jun 5, 2019
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.

3 participants