[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] How to Strip a pkg file
- Subject: RE: [cobalt-users] How to Strip a pkg file
- From: BSmith@xxxxxxxxxxx
- Date: Fri May 30 08:16:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
How do you repackage it. I used tar -cf newpackage.pkg and get this when I
try to install it:
Jon
_____________________________________
try:
tar cfvpz <file.pkg> <files>
c = create
f = filename
v = verbose
p = keep privileges of files (very useful!)
z = gunzip it
lets say your in the directory /root/pkg-build/packageName
Your files are sitting around (RPMS, packinglist, upgrade_me,
uninstall_me, etc)
tar cfvpz ../RaQ[x]-MyPackageName-[version-number].pkg *
That is just recommended, to keep them straight.
so, it would actually look like:
tar cfvpz ../RaQ4-MyPackageName-2.0.1.pkg *
If you specify the "*", and do NOT save the tar'd file in a diff
directory, it will try to tar it up and you will get an error!
Now, if you want to make changes to it, and build it for another
system, you know what each tar file actually is :)
It is nothing more then a suggestion, but most people use it.
Thanks,
Brian