-
Notifications
You must be signed in to change notification settings - Fork 150
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 arm64 architecture packages, and fix Architecture field of deb #673
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v2-centos[root@2fa2e589bccd x86_64]# rpm -ivh mackerel-agent-plugins-0.62.0-1.el7.centos.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mackerel-agent-plugins-0.62.0-1.e################################# [100%]
[root@2fa2e589bccd x86_64]# yum info mackerel-agent-plugins
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp.nara.wide.ad.jp
* extras: ftp.nara.wide.ad.jp
* updates: ftp.nara.wide.ad.jp
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/4): extras/7/x86_64/primary_db | 206 kB 00:00:00
(3/4): base/7/x86_64/primary_db | 6.1 MB 00:00:03
(4/4): updates/7/x86_64/primary_db | 4.5 MB 00:00:03
Installed Packages
Name : mackerel-agent-plugins
Arch : x86_64
Version : 0.62.0
Release : 1.el7.centos
Size : 25 M
Repo : installed
Summary : Monitoring program metric plugins for Mackerel
URL : https://mackerel.io/
License : ASL 2.0
Description : This package provides metric plugins for Mackerel. v2-amzn[root@c887099a438f x86_64]# rpm -ivh mackerel-agent-plugins-0.62.0-1.amzn2.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mackerel-agent-plugins-0.62.0-1.a################################# [100%]
[root@c887099a438f x86_64]# yum info mackerel-agent-plugins
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: ftp-srv2.kddilabs.jp
* extras: ftp-srv2.kddilabs.jp
* updates: ftp-srv2.kddilabs.jp
Installed Packages
Name : mackerel-agent-plugins
Arch : x86_64
Version : 0.62.0
Release : 1.amzn2
Size : 25 M
Repo : installed
Summary : Monitoring program metric plugins for Mackerel
URL : https://mackerel.io/
License : ASL 2.0
Description : This package provides metric plugins for Mackerel. v1-x86_64[root@c887099a438f x86_64]# rpm -ivh mackerel-agent-plugins-0.62.0-1.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mackerel-agent-plugins-0.62.0-1 ################################# [100%]
[root@c887099a438f x86_64]# yum info mackerel-agent-plugins
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: ftp-srv2.kddilabs.jp
* extras: ftp-srv2.kddilabs.jp
* updates: ftp-srv2.kddilabs.jp
Installed Packages
Name : mackerel-agent-plugins
Arch : x86_64
Version : 0.62.0
Release : 1
Size : 287 M
Repo : installed
Summary : Monitoring program plugins for Mackerel
URL : https://mackerel.io/
License : Apache-2
Description : This package provides plugins for Mackerel. v1-noarch[root@c887099a438f noarch]# rpm -ivh mackerel-agent-plugins-0.62.0-1.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mackerel-agent-plugins-0.62.0-1 ################################# [100%]
[root@c887099a438f noarch]# yum info mackerel-agent-plugins
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp-srv2.kddilabs.jp
* extras: ftp-srv2.kddilabs.jp
* updates: ftp-srv2.kddilabs.jp
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/4): extras/7/x86_64/primary_db | 206 kB 00:00:00
(3/4): updates/7/x86_64/primary_db | 4.5 MB 00:00:02
(4/4): base/7/x86_64/primary_db | 6.1 MB 00:00:03
Installed Packages
Name : mackerel-agent-plugins
Arch : noarch
Version : 0.62.0
Release : 1
Size : 239 M
Repo : installed
Summary : Monitoring program plugins for Mackerel
URL : https://mackerel.io/
License : Apache-2
Description : This package provides plugins for Mackerel. |
debv1root@cd934f5ecba6:/data/agent-plugins# dpkg -i mackerel-agent-plugins_0.62.0-1_all.deb
Selecting previously unselected package mackerel-agent-plugins.
(Reading database ... 6503 files and directories currently installed.)
Preparing to unpack mackerel-agent-plugins_0.62.0-1_all.deb ...
Unpacking mackerel-agent-plugins (0.62.0-1) ...
Setting up mackerel-agent-plugins (0.62.0-1) ...
root@cd934f5ecba6:/data/agent-plugins# dpkg --info mackerel-agent-plugins_0.62.0-1_all.deb
new debian package, version 2.0.
size 38579748 bytes: control archive=1968 bytes.
207 bytes, 8 lines control
3947 bytes, 58 lines md5sums
Package: mackerel-agent-plugins
Version: 0.62.0-1
Architecture: all
Maintainer: Shinji Tanaka <stanaka@hatena.ne.jp>
Installed-Size: 244972
Section: misc
Priority: optional
Description: plugins for Mackerel v2-amd64root@cd934f5ecba6:/data/agent-plugins# dpkg -i mackerel-agent-plugins_0.62.0-1.v2_amd64.deb
Selecting previously unselected package mackerel-agent-plugins.
(Reading database ... 6503 files and directories currently installed.)
Preparing to unpack mackerel-agent-plugins_0.62.0-1.v2_amd64.deb ...
Unpacking mackerel-agent-plugins (0.62.0-1.v2) ...
Setting up mackerel-agent-plugins (0.62.0-1.v2) ...
root@cd934f5ecba6:/data/agent-plugins# dpkg --info mackerel-agent-plugins_0.62.0-1.v2_amd64.deb
new debian package, version 2.0.
size 5734192 bytes: control archive=576 bytes.
326 bytes, 10 lines control
230 bytes, 3 lines md5sums
Package: mackerel-agent-plugins
Version: 0.62.0-1.v2
Architecture: amd64
Maintainer: Mackerel Developers <mackerel-developers@hatena.ne.jp>
Installed-Size: 26026
Depends: libc6 (>= 2.3.2)
Section: misc
Priority: optional
Description: metric plugins for mackerel-agent
metric plugins for https://mackerel.io (Monitoring SaaS) |
shibayu36
approved these changes
Sep 14, 2020
Makefile
Outdated
mkdir -p build | ||
rm -f build/mackerel-plugin |
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.
Do you need this code? I think we need either $(patsubst %,depends_on,$(GOOS)$(GOARCH))
or rm -f build/mackerel-plugin
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.
No, I will drop this line.
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added recipes to make the packages for arm64 architecture, and fixed Architecture of deb to be correct.
see mackerelio/mkr#310