Hi,
You can add own files to generated flist file by issuing add_flist
wrapper/hook, for example add_flist /some/where/file. I really havent
tryed this and havent had look on how flist generation really works but
in theory it should automatically add custom file generated list when
you install it in inmake hook. This hook is used to do custom stuff
between make and make install.
Hooks are quite simply implemented in package.conf file, example from T2
handbook:
mypackage_pm () {
# some code
install .....
}
hook_add inmake 5 "mypackage_pm"
or by using add_flist method:
mypackage_pm () {
# some code
add_flist /some/where/file
}
hook_add postflist 5 "mypackage_pm"
Top most example should work in this case and have the file appended to
flist by T2 SDE build enviroment.
Generally speaking flist is generated by help of wrappers scripts and
their generated output log. You can see many of these logs from build
directory under src.package.XXXXX. Someone from ml can correct me if i'm
wrong, but thats the general feel i get when i looked some files during
build.
-Mika
Toan Pham kirjoitti:
Rene,
I looked in the SDE and I could not find how you generate flist file
for each installed package, ie.
all files under $build_root/var/adm/flist/<package name>
I did not know what mechanism you use to determine all installed files
for each package.
Also, I tried entering the sandbox and manually install some files,
ie. install README /
and that did not include the file /README to a package file list.
Would you please tell me how it is done, and also if it is possible to
custom install some more
files during a package build procedure and have these files included
in the file $build_root/var/adm/flist/<pkgname>
Thank you.
Toan
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2