Takuya ASADA
88fde0a91e
dist/ami: fix dependency unresolved error on AMI build script with local package, by adding scylla-conf package
...
Since we added scylla-conf package, we cannot install scylla-server/-tools without the package, because of this --localrpm is failing.
So copy scylla-conf package to AMI, and install it to fix the problem.
2016-05-19 06:26:23 +09:00
Takuya ASADA
6723978891
dist/ami: Add --repo option to build_ami.sh to construct AMI with custom repository URL
...
To build AMI from specified build of .rpm, custom repo URL option is required.
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
Message-Id: <1461849370-11963-1-git-send-email-syuu@scylladb.com >
2016-04-28 16:40:49 +03:00
Takuya ASADA
f98997120a
dist: #!/bin/bash for all scripts
...
We choosed #!/bin/sh for shebang when we started to implement installer scripts, not bash.
After we started to work on Ubuntu, we found that we mistakenly used bash syntax on AMI script, it caused error since /bin/sh is dash on Ubuntu.
So we changed shebang to /bin/bash for the script, from that time we have both sh scripts and bash scripts.
(2f39e2e269 )
If we use bash syntax on sh scripts, it won't work on Ubuntu but works on Fedora/CentOS, could be very easy to confusing.
So switch all scripts to #!/bin/bash. It will much safer.
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
Message-Id: <1460594643-30666-1-git-send-email-syuu@scylladb.com >
2016-04-14 12:01:28 +03:00
Takuya ASADA
93bf7bff8e
dist: fix broken scylla_install_pkg --local-pkg and --unstable on Ubuntu
...
--local-pkg and --unstable arguments didn't handled on Ubuntu, support it.
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2016-03-18 05:57:50 +09:00
Takuya ASADA
08038e3f42
dist: long options for scylla_install_pkg
...
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2016-02-17 07:34:08 +09:00
Takuya ASADA
51c497527c
dist: support unstable repository on scylla_install_pkg
2016-02-17 07:28:36 +09:00
Takuya ASADA
a1d1d0bd06
Revert "dist: prevent 'local rpm' AMI image update to older version of scylla package by yum update"
...
This reverts commit b28b8147a0 .
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
Message-Id: <1452592877-29721-2-git-send-email-syuu@scylladb.com >
2016-01-12 12:26:09 +02:00
Takuya ASADA
b28b8147a0
dist: prevent 'local rpm' AMI image update to older version of scylla package by yum update
...
Since yum command think development version is older than release version, we need it.
2016-01-11 14:22:13 +00:00
Takuya ASADA
47be3fd866
dist: split scylla_install script to two parts, scylla_install_pkg is for installing .rpm/.deb packages, scylla_setup is for setup environment after package installed
...
This enables to setup RAID/NTP/NIC after .rpm/.deb package installed.
2016-01-11 14:19:29 +00:00
Takuya ASADA
b3c85aea89
dist: switch AMI base image from Fedora to CentOS
...
Move AMI to CentOS, use XFS for rootfs
2016-01-11 14:18:30 +00:00
Shlomi Livne
f26a75f48b
Fixing missing items in move from scylla-ami.sh to scylla_install
...
scylla-ami.sh moved some ami specific files. This parts have been
dropped when converging scylla-ami into scylla_install. Fixing that.
Signed-off-by: Shlomi Livne <shlomi@scylladb.com >
2016-01-04 15:23:14 +02:00
Shlomi Livne
cec6e6bc20
Invoke scylla_bootparam_setup with/without ami flag
...
Signed-off-by: Shlomi Livne <shlomi@scylladb.com >
2016-01-04 15:23:08 +02:00
Takuya ASADA
7f4a1567c6
dist: support non-ami boot parameter setup, add parameters for preallocate hugepages on boot-time
...
Fixes #172
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-27 17:56:49 +02:00
Takuya ASADA
6bf602e435
dist: setup ntpd on AMI
...
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-27 17:54:32 +02:00
Takuya ASADA
bf9547b1c4
dist: support RHEL on scylla_install
...
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-24 18:48:30 +09:00
Takuya ASADA
b6df28f3d5
dist: use $ID instead of $NAME to detect type of distribution
...
$NAME is full name of distribution, for script it is too long.
$ID is shortened one, which is more useful.
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-24 18:48:30 +09:00
Takuya ASADA
0a4b68d35e
dist: support CentOS yum repository
...
Fixes #671
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-24 18:48:30 +09:00
Takuya ASADA
8f4e90b87a
dist: use tsc clocksource on AMI
...
Stop using xen clocksource, use tsc clocksource instead.
Fixes #462
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-22 22:29:32 +02:00
Takuya ASADA
9b4d0592fa
dist: enable coredump, save it to /var/lib/scylla/coredump
...
Enables coredump, save it to /var/lib/scylla/coredump
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-17 18:20:27 +09:00
Takuya ASADA
d0e5f8083f
dist: provide generic scylla setup script
...
Merge AMI scripts to dist/common/scripts, make it usable on non-AMI environments.
Signed-off-by: Takuya ASADA <syuu@scylladb.com >
2015-12-17 18:20:03 +09:00
Pekka Enberg
f87add31a7
scripts: Add git-archive-all script
...
We'll use it to create a tarball of the source tree for RPM build.
The script is imported from:
https://github.com/Kentzo/git-archive-all
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2015-09-01 14:38:24 +03:00
Avi Kivity
cc17c44640
Move seastar to a submodule
...
Instead of urchin being layered on top of seastar, move seastar to a
subdirectory (as a submodule) and use seastar.pc/libseastar.a to link
with it.
2015-07-19 20:48:36 +03:00
Avi Kivity
7f8d88371a
Add LICENSE, NOTICE, and copyright headers to all source files.
...
The two files imported from the OSv project retain their original licenses.
2015-02-19 16:52:34 +02:00
Asias He
534d4017a1
scripts: Add tap.sh
...
This is the script I used to setup a tap device for seastar.
2014-11-05 13:05:55 +02:00