1 person found this helpful
I would suggest following procedure in your VMware Studio.
1. cd /root/
2. mkdir -p /root/opt/opt/cl
3. Extract your tar.gz file in /root/opt/opt/cl folder
4. Use /root/ folder as a working directory (pwd) and create rpm using mkpkg VMware Studio command. (Please read studio_developer guide for more details)
This rpm will extract your data in /opt/cl folder.
Need to know after extracting tar.gz file what is its file listing. e.g. as follows.[root@VA2 ~]# tar -tvzf cl.tar.gzdrwxr-xr-x root/root 0 2011-07-21 10:11:12 cl/drwxr-xr-x root/root 0 2011-07-21 10:11:12 cl/dir1/drwxr-xr-x root/root 0 2011-07-21 10:11:12 cl/dir2/drwxr-xr-x root/root 0 2011-07-21 10:11:12 cl/dir3/-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/1-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/2-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/3-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/4-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/5-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/6-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/7-rw-r--r-- root/root 0 2011-07-21 10:10:56 cl/8
Thank you for your help.
I unfortunately need to be able to work directly with the tar.gz file and not create a rpm. Creating the rpm would just add more work for me.
Any help anyone can provide using the tar.gz and having it extract to a specified directoy would be great. Also any help getting the manifest.xml script to work in the tar.gz would also be appreciated as it does not appear to be working either. In case it helps we will have multiple tar.gz files containing tomcat, apache etc.. type information.
I have combed the different guides and the information on tar.gz is very minimal and it does not explain how to use the manifest.xml. Examples or any assistance would be greatly appreciated.
I am new to Studio so references links etc.. are appreciated.