Article 6KVK9 Is there a way installpkg to skip first directory in package ?

Is there a way installpkg to skip first directory in package ?

by
gildbg
from LinuxQuestions.org on (#6KVK9)
Hello everyone,

I'm compile and create the tgz package file with: cmake --build . --target package and the file structure inside the tgz package file is:

rocm-core-6.0.2.60002-Linux -> opt -> rocm-6.0.2 -> other_sub_dirs

My question is: Is there a easy way without to extract and repack again to tell on the installpkg to skip the first dir ? Or some other way to convert the package without manual to decompress and recreate again. Something like patch -p1

Or may be some how to tell on cmake to skip the first dir. I don't have much experience with cmake

Thanks in advice
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments