LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Question about liveslak (https://www.linuxquestions.org/questions/slackware-14/question-about-liveslak-4175720436/)

tuxuser1 01-02-2023 09:31 AM

Question about liveslak
 
Hi,

I'm trying to create a custom iso with liveslak.
I need to add some scripts to the ISO.
In which folder can i add them so that i can find them when i boot the iso?


Thanks in advance.
Happy new year.

business_kid 01-02-2023 09:41 AM

If you are adding custom or optional .sxz file, use the Addons directory
for your own scripts, best stuff them in your homedir.

tuxuser1 01-02-2023 10:36 AM

Quote:

Originally Posted by business_kid (Post 6401793)
If you are adding custom or optional .sxz file, use the Addons directory
for your own scripts, best stuff them in your homedir.

It works! Thanks.

dr.s 01-04-2023 04:10 PM

You could also add your stuff under "rootcopy" directory, they'll be copied to the live filesystem.
I add firmware to my liveslak under /rootcopy/lib/firmware/intel/...

Quote:

rootcopy/ - this directory is empty by default. Anything you (the user of the ISO) add to this directory will be copied verbatim into the filesystem by the init script when the Live OS boots. You can use this feature for instance if you do not want to create a separate squashfs module file for your application configuration files

tuxuser1 01-04-2023 04:14 PM

Quote:

Originally Posted by dr.s (Post 6402248)
You could also add your stuff under "rootcopy" directory, they'll be copied to the live filesystem.
I add firmware to my liveslak under /rootcopy/lib/firmware/intel/...

Thanks for suggestion.


All times are GMT -5. The time now is 04:06 AM.