[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] How to Strip a pkg file



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