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

remove amd64 hardcodes #3

Open
rminnich opened this issue Sep 1, 2022 · 0 comments
Open

remove amd64 hardcodes #3

rminnich opened this issue Sep 1, 2022 · 0 comments

Comments

@rminnich
Copy link
Member

rminnich commented Sep 1, 2022

For reasons, there is amd64 hardcoding everywhere and it has to die.

docker/Dockerfile:COPY linux_amd64 /linux_amd64
docker/Makefile:    echo on start, run /linux_amd64/bin/init
docker/Makefile:    sudo rm -rf dev docker etc go key key.pub linux_amd64 pkg src tmp
init/root_linux.go:        dir{Name: "/go/pkg/linux_amd64", Mode: 0o777},
init/init_linux.go:            Command("/linux_amd64/bin/elvish"),
init/init_linux.go:            Command("/linux_amd64/bin/date"),
installcommand/cpu:#!/linux_amd64/bin/installcommand #!/src/[github.com/u-root/cpu/cmds/cpud](http://github.com/u-root/cpu/cmds/cpud)
installcommand/date:#!/linux_amd64/bin/installcommand #!/src/[github.com/u-root/u-root/cmds/core/date](http://github.com/u-root/u-root/cmds/core/date)
installcommand/installcommand.go:// ["/linux_amd64/bin/installcommand" "#!/src/[github.com/u-root/u-root/cmds/core/date](http://github.com/u-root/u-root/cmds/core/date)" "/linux_amd64/bin/date"]
README.md:unshare -m chroot "/tmp/sourcery3965857644" /linux_amd64/bin/init.
oops -- that was incomplete:
erivan01@thundercleese:~/src/sourcery$ git branch
* arm64
  main
erivan01@thundercleese:~/src/sourcery$ grep -ir arm64 *
erivan01@thundercleese:~/src/sourcery$ grep -ir amd64 *
docker/Dockerfile:COPY linux_amd64 /linux_amd64
docker/Makefile:    echo on start, run /linux_amd64/bin/init
docker/Makefile:    sudo rm -rf dev docker etc go key key.pub linux_amd64 pkg src tmp
init/root_linux.go:        dir{Name: "/go/pkg/linux_amd64", Mode: 0o777},
init/init_linux.go:            Command("/linux_amd64/bin/elvish"),
init/init_linux.go:            Command("/linux_amd64/bin/date"),
installcommand/cpu:#!/linux_amd64/bin/installcommand #!/src/[github.com/u-root/cpu/cmds/cpud](http://github.com/u-root/cpu/cmds/cpud)
installcommand/date:#!/linux_amd64/bin/installcommand #!/src/[github.com/u-root/u-root/cmds/core/date](http://github.com/u-root/u-root/cmds/core/date)
installcommand/installcommand.go:// ["/linux_amd64/bin/installcommand" "#!/src/[github.com/u-root/u-root/cmds/core/date](http://github.com/u-root/u-root/cmds/core/date)" "/linux_amd64/bin/date"]
README.md:unshare -m chroot "/tmp/sourcery3965857644" /linux_amd64/bin/init.

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

No branches or pull requests

1 participant