parent
57343d8e0e
commit
b32c489ab3
@ -1,30 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
if [ $# != 1 ]; then |
||||
echo "$0 version" |
||||
exit |
||||
fi |
||||
|
||||
VERSION=$1 |
||||
|
||||
fpm -s dir -t deb -n harmony -p harmony_VERSION_ARCH.deb -C harmony-${VERSION} \ |
||||
-v "$VERSION" \ |
||||
--license "MIT" \ |
||||
--vendor "Harmony Blockchain" \ |
||||
--category "net" \ |
||||
--no-depends \ |
||||
--no-auto-depends \ |
||||
--directories /etc/harmony \ |
||||
--directories /data/harmony \ |
||||
--architecture x86_64 \ |
||||
--maintainer "Leo Chen <leo@harmony.one>" \ |
||||
--description "Harmony is a sharded, fast finality, low fee, PoS public blockchain.\nThis package contains the validator node program for harmony blockchain." \ |
||||
--url "https://harmony.one" \ |
||||
--before-install scripts/preinst \ |
||||
--after-install scripts/postinst \ |
||||
--before-remove scripts/prerm \ |
||||
--after-remove scripts/postrm \ |
||||
--before-upgrade scripts/preup \ |
||||
--after-upgrade scripts/postup \ |
||||
--deb-changelog scripts/changelog \ |
||||
--deb-systemd-restart-after-upgrade |
@ -0,0 +1,42 @@ |
||||
{ |
||||
"rootDir": "/tmp/.aptly", |
||||
"downloadConcurrency": 4, |
||||
"downloadSpeedLimit": 0, |
||||
"architectures": [], |
||||
"dependencyFollowSuggests": false, |
||||
"dependencyFollowRecommends": false, |
||||
"dependencyFollowAllVariants": false, |
||||
"dependencyFollowSource": false, |
||||
"dependencyVerboseResolve": false, |
||||
"gpgDisableSign": false, |
||||
"gpgDisableVerify": false, |
||||
"gpgProvider": "gpg", |
||||
"downloadSourcePackages": false, |
||||
"skipLegacyPool": true, |
||||
"ppaDistributorID": "ubuntu", |
||||
"ppaCodename": "", |
||||
"FileSystemPublishEndpoints": { |
||||
"harmony-dev": { |
||||
"rootDir": "/tmp/repo", |
||||
"linkMethod": "copy", |
||||
"verifyMethod": "md5" |
||||
} |
||||
}, |
||||
"S3PublishEndpoints": { |
||||
"harmony-dev": { |
||||
"region": "us-east-1", |
||||
"bucket": "haochen-harmony-pub", |
||||
"endpoint": "", |
||||
"awsAccessKeyID": "", |
||||
"awsSecretAccessKey": "", |
||||
"prefix": "pub/repo", |
||||
"acl": "public-read", |
||||
"storageClass": "", |
||||
"encryptionMethod": "", |
||||
"plusWorkaround": false, |
||||
"disableMultiDel": false, |
||||
"forceSigV2": false, |
||||
"debug": false |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,42 @@ |
||||
{ |
||||
"rootDir": "/tmp/.aptly", |
||||
"downloadConcurrency": 4, |
||||
"downloadSpeedLimit": 0, |
||||
"architectures": [], |
||||
"dependencyFollowSuggests": false, |
||||
"dependencyFollowRecommends": false, |
||||
"dependencyFollowAllVariants": false, |
||||
"dependencyFollowSource": false, |
||||
"dependencyVerboseResolve": false, |
||||
"gpgDisableSign": false, |
||||
"gpgDisableVerify": false, |
||||
"gpgProvider": "gpg", |
||||
"downloadSourcePackages": false, |
||||
"skipLegacyPool": true, |
||||
"ppaDistributorID": "ubuntu", |
||||
"ppaCodename": "", |
||||
"FileSystemPublishEndpoints": { |
||||
"harmony-prod": { |
||||
"rootDir": "/tmp/repo", |
||||
"linkMethod": "copy", |
||||
"verifyMethod": "md5" |
||||
} |
||||
}, |
||||
"S3PublishEndpoints": { |
||||
"harmony-prod": { |
||||
"region": "us-west-1", |
||||
"bucket": "pub.harmony.one", |
||||
"endpoint": "", |
||||
"awsAccessKeyID": "", |
||||
"awsSecretAccessKey": "", |
||||
"prefix": "release/package/apt", |
||||
"acl": "public-read", |
||||
"storageClass": "", |
||||
"encryptionMethod": "", |
||||
"plusWorkaround": false, |
||||
"disableMultiDel": false, |
||||
"forceSigV2": false, |
||||
"debug": false |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue