Posted: Sun 12 May 2019, 03:19 Post subject:
Copy a directory structure except for binaries Subject description: Instead create meta-data for binaries
In my TazPup64 buildkit, I have a mix of source and binaries. I want to move the source to github but not the binaries. For the binaries I want to replace it with a file that contains some metadata (i.e. size, name, checksums and possible download locations).
I'm not sure how well github handles binaries but I would rather the binary files don't depend on github and would instead rather use official repositories and/or dropbox.
It's just a first draft but it from my initial test it appears to work
P.S. This script requires the full version of cpio although, I may modify it to work with the busybox version also. The difference is that the busybox version doesn't have the -p option, so in the busybox version you have to output an archive. WIth the -p option you can output a directory as I do above.
Edit 1 Here is the output, "TazPup17%28BuildKit%29-source.tar.gz". Except for the files in the root directory, which I had to manually copy...so there is at least one bug that I have to fix. The directory I ran this script on can be scene by extracting the file at, "BuildKit%28TazPup64%29-PreAlpha17%28unclean%29.tar.gz". Warning this file is large because I didn't run the clean scripts and it contains more binaries than are necessary to build TazPup64.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum