vikramarwade 10:43 Jul 28, 2009 | Hi,
I am seeing some problem when I am building a package with subpackages in it. I have a sample list file which I am using to build it. The file contents are:
cat ../foo.list %product foo %copyright 2009 %vendor foo %license COPYING %readme README %description foo %version 1.0.0.0
%subpackage client %description client fileset f 0555 root sys /var/foo.conf ./var/foo.conf f 0555 root sys /usr/openv/foo/version ./usr/openv/foo/version
%preinstall << EOF echo "!!! in preinstall" EOF
%postinstall << EOF if [ -d /usr/openv ]; then rm -rf /usr/openv > /dev/null 2>&1; fi; EOF
This is the .toc file created when installing: cat .toc 0 072815472609 2 foo.bff 4 R I foo { foo 01.00.0000.0000 1 N B x foo [ % % % % ] foo.client 01.00.0000.0000 1 N B x client fileset [ % /usr/openv/foo 1 /var 0 % % % ] }
I am creating the package using this command: epm -f aix foo
Please let me know if I am using it the correct way.
Thanks, --Vikram |