Skip to content
A FogLAMP plugin to generate sine wave data points
Branch: develop
Clone or download
Singhal-Vaibhav Merge pull request #34 from foglamp/master
 v1.6.0 release - master to develop
Latest commit e7dadff May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages/Debian/DEBIAN FOGL-2774 Moe RPM packaging to cental repository May 7, 2019
python/foglamp/plugins/south/sinusoid
test VERSION changed Feb 7, 2019
.gitignore FOGL-1470 architecture set to all; and reconfigure fixes (#9) Jul 31, 2018
Description FOGL-2774 Files for new packaging script May 7, 2019
LICENSE FOGL-2785 Correct company name in license file May 13, 2019
Package Fix for x86 May 10, 2019
README.rst
VERSION.south.sinusoid VERSION changed May 22, 2019
make_deb

README.rst

foglamp-south-sinusoid

FogLAMP South Plugin for sinusoid. read more

Packaging for sinusoid

This repo contains the scripts used to create a foglamp-south-sinusoid package.

The make_deb script

$ ./make_deb help
make_deb help [clean|cleanall]
This script is used to create the Debian package of foglamp south sinusoid
Arguments:
 help     - Display this help text
 clean    - Remove all the old versions saved in format .XXXX
 cleanall - Remove all the versions, including the last one
$

Building a Package

Finally, run the make_deb command:

$ ./make_deb
The package root directory is         : /home/pi/foglamp-south-sinusoid
The FogLAMP south sinusoid version is : 1.0.0
The package will be built in          : /home/pi/foglamp-south-sinusoid/packages/build
The package name is                   : foglamp-south-sinusoid-1.0.0

Populating the package and updating version file...Done.
Building the new package...
dpkg-deb: building package 'foglamp-south-sinusoid' in 'foglamp-south-sinusoid-1.0.0.deb'.
Building Complete.
$

The result will be:

$ ls -l packages/build/
  total 12
  drwxr-xr-x 4 pi pi 4096 Jun 14 10:03 foglamp-south-sinusoid-1.0.0
  -rw-r--r-- 1 pi pi 4522 Jun 14 10:03 foglamp-south-sinusoid-1.0.0.deb
$

If you execute the make_deb command again, you will see:

$ ./make_deb
The package root directory is         : /home/pi/foglamp-south-sinusoid
The FogLAMP south sinusoid version is : 1.0.0
The package will be built in          : /home/pi/foglamp-south-sinusoid/packages/build
The package name is                   : foglamp-south-sinusoid-1.0.0

Saving the old working environment as foglamp-south-sinusoid-1.0.0.0001
Populating the package and updating version file...Done.
Saving the old package as foglamp-south-sinusoid-1.0.0.deb.0001
Building the new package...
dpkg-deb: building package 'foglamp-south-sinusoid' in 'foglamp-south-sinusoid-1.0.0.deb'.
Building Complete.
$


$ ls -l packages/build/
total 24
drwxr-xr-x 4 pi pi 4096 Jun 14 10:06 foglamp-south-sinusoid-1.0.0
drwxr-xr-x 4 pi pi 4096 Jun 14 10:03 foglamp-south-sinusoid-1.0.0.0001
-rw-r--r-- 1 pi pi 4518 Jun 14 10:06 foglamp-south-sinusoid-1.0.0.deb
-rw-r--r-- 1 pi pi 4522 Jun 14 10:03 foglamp-south-sinusoid-1.0.0.deb.0001
$

... where the previous build is now marked with the suffix .0001.

Cleaning the Package Folder

Use the clean option to remove all the old packages and the files used to make the package. Use the cleanall option to remove all the packages and the files used to make the package.

You can’t perform that action at this time.