Some of you may want to build a Repairlix-derivative using your own ramdisk collections. This can easily be done with the following instructions:
Copy rd-B.sh to yourmodule.sh, changing all filenames. $ sed s/rd-B\\./yourmodule\./g rd-B.sh > yourmodule.sh $ chmod +x yourmodule.sh
Edit yourmodule.sh in your favorite text editor. Change the value of the ALLBINS= shell variable to contain the list of programs you want. You probably noticed there's nowhere to put libs; that's because the shell script automatically builds the list of shared objects using ldd and copies them along with the executables. Unfortunately this leaves out runtime linking - if you are including a program that uses a shared object that is loaded programatically, you will need to add a line to copy it by hand (preferably with objcopy --strip-debug). Also, only files in the current PATH will be copied.
In your text editor, search for NON-EXE FILES. Delete everything below the comment down to END NON-EXE FILES. Insert in there anything your package needs such as configuration files.
Search for MOUNTDIR= and change the value to your desired mount point.
Edit Makefile in your favorite text editor and add yourmodule to the variable DISKNAMES, without the .sh suffix.