Skip to content

Commit

Permalink
Merge pull request #16 from systemd/erlang-sd_notify_19_1
Browse files Browse the repository at this point in the history
update for Erlang/ OTP 19.1
  • Loading branch information
Gsantomaggio authored Sep 23, 2016
2 parents afd253c + 3420eec commit af9f91f
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ On Fedora/CentOS

```bash
extract the tar.gz
mkdir -p /usr/lib64/erlang/lib/sd_notify-0.11/priv/
mkdir -p /usr/lib64/erlang/lib/sd_notify-0.11/ebin/
cp priv/* /usr/lib64/erlang/lib/sd_notify-0.11/priv/
cp ebin/* /usr/lib64/erlang/lib/sd_notify-0.11/ebin/
mkdir -p /usr/lib64/erlang/lib/sd_notify-{version}/priv/
mkdir -p /usr/lib64/erlang/lib/sd_notify-{version}/ebin/
cp priv/* /usr/lib64/erlang/lib/sd_notify-{version}/priv/
cp ebin/* /usr/lib64/erlang/lib/sd_notify-{version}/ebin/
```

On Debian/Ubuntu

```bash
dpkg -i erlang-sd-notify_0.11-1_amd64.deb
dpkg -i erlang-sd-notify_{version}-1_amd64.deb
```

Build from source using Docker
===

On Ubuntu
Ubuntu

```bash
docker build -t build_ubuntu_{version} docker/ubuntu_{version}/
docker run -v {sd_notify_dir}:/home/sd/ build_ubuntu_{version} /bin/sh -c "cd /home/sd/; make deb"
```

on Centos
Centos

```bash
docker build -t build_centos_{version} docker/centos_{version}/
Expand Down
Binary file added docker/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions docker/centos_19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ RUN yum install -y \



RUN wget https://github.com/rabbitmq/erlang-rpm/releases/download/v1.4.0/erlang-19.0-1.el7.centos.x86_64.rpm
RUN wget https://github.com/rabbitmq/erlang-rpm/releases/download/v1.4.5/erlang-19.1.0-1.el7.centos.x86_64.rpm

RUN rpm -i erlang-19.0-1.el7.centos.x86_64.rpm
RUN rpm -i erlang-19.1.0-1.el7.centos.x86_64.rpm

RUN wget https://github.com/rebar/rebar/wiki/rebar && chmod +x rebar

Expand Down
2 changes: 1 addition & 1 deletion docker/ubuntu_19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ RUN apt-get install -y \
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update -y
RUN apt-get install erlang=1:19.0-1 -y
RUN apt-get install erlang=1:19.1-1 -y
RUN apt-get install -y erlang-dev \
erlang-eunit
Binary file added packaging/.DS_Store
Binary file not shown.
Binary file added packaging/deb/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion packaging/deb/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.11
VERSION=0.12

# Directory names
DEB_BUILD_DIR=deb-build
Expand Down
6 changes: 3 additions & 3 deletions packaging/deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
erlang-sd-notify (0.11-1) UNRELEASED; urgency=medium
erlang-sd-notify (0.12-1) UNRELEASED; urgency=medium

* Update for 19.0
* Update for 19.1

-- Gabriele Santomaggio <g.santomaggio@gmail.com> Tue, 19 Jul 2016 14:12:18 +0000
-- Gabriele Santomaggio <g.santomaggio@gmail.com> Fri, 23 Sep 2016 22:54:18 +0000

0 comments on commit af9f91f

Please sign in to comment.