Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen committed Aug 8, 2024
1 parent 2913918 commit d92d609
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ ls -l /tmp/rpms/x86_64
https://github.com/docker-rpm-builder/docker-rpm-builder


# Building
# How to build the deb

1. Install debuild

sudo apt-get install -y \
dpkg-dev \
devscripts \
Expand All @@ -64,19 +65,23 @@ https://github.com/docker-rpm-builder/docker-rpm-builder
debhelper

2. Clone the debian package repo
git clone https://github.com/ucsd-ets/nagios-plugins-ets-deb.git

git clone https://github.com/ucsd-ets/nagios-plugins-ets-deb.git

3. Download the source tarball
wget -O ../nagios-plugins-ets_1.4.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz

wget -O ../nagios-plugins-ets_1.4.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz

4. Extract source
tar zxvf ../nagios-plugins-ets_1.4.orig.tar.gz --strip-components=1

tar zxvf ../nagios-plugins-ets_1.4.orig.tar.gz --strip-components=1

5. Run debuild
debuild -us -uc

debuild -us -uc

6. Check the output
dpkg -c ../nagios-plugins-ets_1.4_amd64.deb
dpkg -c ../nagios-plugins-ets_1.4_amd64.deb

See:
* https://blog.packagecloud.io/buildling-debian-packages-with-debuild/
Expand All @@ -85,12 +90,11 @@ See:

# Installation

dpkg -i nagios-plugins-ets-1.4.deb

dpkg -i nagios-plugins-ets-1.4.deb


notes:

# notes

debuild calls dh build which calls dh_auto_build which calls make -j1 which selects the 1st goal which is install.

Expand Down

0 comments on commit d92d609

Please sign in to comment.