Hello all,
 
I'm trying to package up a binary blob as a kit, but I'm getting a very
weird problem - it appears that the tarfile is only getting partially
expanded, and then nothing from the tarfile is ever added to the final
iso - yet buildkit doesn't report any errors. I've verified that the tar
file itself is okay - manually untarring it works fine. Any suggestions?
 
Thanks in advance.
 
--------
make.log
--------
[EMAIL PROTECTED] OCS_SUPPORT]# buildkit make kit=qlogic_ofed 2>&1 | tee
make.log   mkisofs: Warning: -follow-links does not always work
correctly; be careful.
Unknown file type (unallocated) ./.. - ignoring and continuing.
Verifying the Kit Source directory found in
/home/mheinz/work/OCS_SUPPORT/qlogic_ofed..
Setting up BuildProfile for this kit..
Setting up a proper .rpmmacros for building this kit
Looking for the kitscript build.kit..
Found kitscript. Loading it..
Building kit for x86_64 architecture..
Building the package(s)..
Building the packages for component(s)..
Building the package for the kit..
Populating the packages directory with the Kit artifacts..
Generating kitinfo..
Creating the Kit iso..
Kit ISO created.
ISO file is at
/home/mheinz/work/OCS_SUPPORT/qlogic_ofed/kit-qlogic_ofed-0.1-0.x86_64.i
so.
Original .rpmmacros restored.

-----------
build.kit file:
-----------
# build.kit template
 
# Define your packages here by using a correct packageprofile class.
# Available types are SourcePackage(), RPMPackage(), SRPMPackage(),
# DistroPackage(), BinaryPackage()
 
pkg1 = BinaryPackage()
pkg1.name = 'qlogic_ofed'
pkg1.version = '2008.04.09'
pkg1.release = '0'
pkg1.installroot = '/opt/qlogic_ofed'
pkg1.filename = 'QLogicIB-Basic.2008.04.09.tgz'
#pkg1.filename = 'dummy.tgz'
 
# Define a default component
comp = DefaultComponent()
comp.name = 'qlogic_ofed'
comp.description = 'QLogic OFED release for OCS/RHEL5.'
 
# Add any packages defined earlier by using the comp.addDep method
comp.addDep(pkg1)
 
# Define a default kit
# Change arch if needed to fit your needs (x86, x86_64, noarch)
k = DefaultKit()
k.name = 'qlogic_ofed'
k.description = 'qlogic_ofed kit.'
k.arch = getArch()
 
# Adding the component defined earlier
k.addComponent(comp)
 
# Add post install script. You can modify this shell script or add new
ones in the
# sources directory
k.addScript('00-post-script.sh',mode='post')
 
# Add post uninstall script. You can modify this shell script or add new
ones in the
# sources directory
k.addScript('00-postun-script.sh',mode='postun')

--
Michael Heinz
Principal Engineer, Qlogic Corporation
King of Prussia, Pennsylvania
 
_______________________________________________
Kusu-users mailing list
[email protected]
http://mail.osgdc.org/mailman/listinfo/kusu-users

Reply via email to