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

golang: fix package clean / autoremove, add output whitespace #7640

Merged
merged 1 commit into from
Dec 11, 2018

Conversation

jefferyto
Copy link
Member

Maintainer: me
Compile tested: ar71xx (generic), OpenWrt sdk (2018-12-11)
Run tested: none

Description:
go 1.11 added modules, which are cached locally. The go developers have decided to make this cache read-only (golang/go#27455), which causes problems with package clean / autoremove (#7635).

This adds a call to clear this cache right after building, as currently there is no easy way to hook into autoremove (it may be possible to hook into package clean).

This also adds whitespace (blank lines) to certain places in make output, to aid debugging.

Signed-off-by: Jeffery To [email protected]

go 1.11 added modules, which are cached locally. The go developers have
decided to make this cache read-only (golang/go#27455), which causes
problems with package clean / autoremove (openwrt#7635).

This adds a call to clear this cache right after building, as currently
there is no easy way to hook into autoremove (it may be possible to hook
into package clean).

This also adds whitespace (blank lines) to certain places in make
output, to aid debugging.

Signed-off-by: Jeffery To <[email protected]>
@thess thess merged commit af6e846 into openwrt:master Dec 11, 2018
@jefferyto jefferyto deleted the fix-golang-package-clean branch December 11, 2018 20:50
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.

2 participants