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