AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

How to create and install relocatable packages on AIX?

  • 1.  How to create and install relocatable packages on AIX?

    Posted Wed December 23, 2009 03:52 AM

    Originally posted by: Hello_123_adai


    Hello,
    Is there anyone who has successfully created and install an relocatable packages on AIX(5.3 or above)?

    I found that the information about how to create and install a relocatable package on AIX is so little and confused.

    Could any one kindly provide specific steps to describe the processing of create relocatable packages and install relocatable packages on non-default directory on AIX?

    Because I am not very familiar with AIX, it is excellent to give a specific example.
    (B.T.W, using backup and bffcreate tool should be excellent)

    Thanks a lot in advance!
    #AIX-Forum


  • 2.  Re: How to create and install relocatable packages on AIX?

    Posted Fri January 22, 2010 03:58 AM

    Originally posted by: Hello_123_adai_123


    Let me answer the question myself:(I changed a login id...)

    1: Create relocatable package:newkkk.1.0.0.0.bff
    in one directory:
    #mkdir -p user/new
    #> user/new/kkk

    prepare the template file: newtest.tmplt
    #cat newtest.tmplt
    Package Name: newkkk
    Package VRMF: 1.0.0.0
    Update: N
    Fileset
    Fileset Name: newkkk.rte
    Fileset VRMF: 1.0.0.0
    Fileset Description: new kkk
    USRLIBLPPFiles
    EOUSRLIBLPPFiles
    Bosboot required: N
    License agreement acceptance required: N
    Include license files in this package: N
    Requisites:
    USRFiles
    /usr/new
    /usr/new/kkk
    EOUSRFiles
    ROOT Part: N
    ROOTFiles
    EOROOTFiles
    Relocatable: Y
    Requisites_r:
    EOFileset

    Then issue following command:
    mkinstallp -T newtest.tmplt

    The package was created in the
    ./tmp/newkkk.1.0.0.0.bff

    2: Install relocatable package:
    #cd ./tmp
    /usr/sbin/installp_r -R /newplace -d newkkk.1.0.0.0.bff newkkk

    That is OK.

    Thanks!
    #AIX-Forum


  • 3.  Re: How to create and install relocatable packages on AIX?

    Posted Fri May 03, 2013 02:46 AM

    Originally posted by: sunnyk


    Hi,

    I am using lppbuild to create bff package, which doesn't use template file. lppbuild uses control file and i have checked the tags for this file,

    But couldn't find RELOCTABLE tag.

    how can we create relocatable package using lppbuild ?

    Thanks,


    #AIX-Forum