Skip to content

aecspades/arcad-demo-yum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

arcad-demo-yum

Arcad demo yum package source

Skeleton rpm/yum package source demonstrating packaging/installation of host IBM i library objects.

For whatever reason, the rpm directory structure must be in ~/rpmbuild (e.g. /home/ACLARK/rpmbuild) so you must copy the directory there if needed:

cp -r ~/git/arcad-demo-yum/rpmbuild ~/rpmbuild

Create self-extracting jar using ThePrez/AppInstall-IBMi:

cd ~/rpmbuild
mkdir SOURCES/arcad-demo-1.0.0
java -jar appinstall-ibmi-0.0.1-jar-with-dependencies.jar -o SOURCES/arcad-demo-1.0.0/arcad-demo.jar --qsys ARCAD_DEMO

NOTE: The 'SOURCES/arcad-demo-1.0.0/arcad-demo.ja'r file already exists in this sample repo in case you don't have either 'appinstall-ibmi-xxx.jar' or the 'ARCAD_DEMO' library already on your system - just proceed to the next step.

Create tar.gz from zip

cd SOURCES
tar --create --file arcad-demo-1.0.0.tar.gz arcad-demo-1.0.0

Do binary rpm build

cd ~/rpmbuild
rpmbuild -bb SPECS/arcad-demo.spec

Should see message indicating where rpm is written

Wrote: /home/ACLARK/rpmbuild/RPMS/ppc64/arcad-demo-1.0.0-1.ibmi7.4.ppc64.rpm

Install from rpm

yum install /home/ACLARK/rpmbuild/RPMS/ppc64/arcad-demo-1.0.0-1.ibmi7.4.ppc64.rpm

See:

https://www.redhat.com/sysadmin/create-rpm-package

https:/kadler/rpm-lab

About

Arcad demo yum package source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published