Build scripts to easily create a amd64 .deb
package for Supermicro Update Manager.
Tested on Devuan ceres but should work on other Debian derivatives, such as Ubuntu, as well.
The scripts are based on https://github.com/procurios/ipmiview-deb which doesn't specify an explicit license.
The created package provides:
- A
/usr/sbin/supermicro-update-manager
wrapper around thesum
binary supplied by the package (which would conflict with/usr/bin/sum
from coreutils) - A man page written by yours truly based on the help output of the
sum
utility.
You will need the devscripts
, libdistro-info-perl
and the debhelper
packages installed in order to build the supermicro-update-manager .deb
file:
apt-get install devscripts debhelper libdistro-info-perl
-
Download the
.tar.gz
file from the Supermicro website and place it in the root directory of this repo. -
Edit
debian/control
; enter your own name and email address in theMaintainer:
field. -
Create a new debian/changelog file using the provided update.sh script:
./update.sh
- Build the package with the following command (it will use
fakeroot
internally, no need to wrap it):
debuild -us -uc -b
Install the package with the dpkg
command:
dpkg -i supermicro-update-manager...
Alternatively, you can create your own simple repo or
more professional one to host your custom deb
packages.