LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2023, 09:31 AM   #1
tuxuser1
Member
 
Registered: Nov 2021
Posts: 166

Rep: Reputation: Disabled
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.
 
Old 01-02-2023, 09:41 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,412

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
If you are adding custom or optional .sxz file, use the Addons directory
for your own scripts, best stuff them in your homedir.
 
Old 01-02-2023, 10:36 AM   #3
tuxuser1
Member
 
Registered: Nov 2021
Posts: 166

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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.

Last edited by tuxuser1; 01-02-2023 at 11:09 AM.
 
Old 01-04-2023, 04:10 PM   #4
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 340

Rep: Reputation: 156Reputation: 156
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
 
1 members found this post helpful.
Old 01-04-2023, 04:14 PM   #5
tuxuser1
Member
 
Registered: Nov 2021
Posts: 166

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dr.s View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Liveslak rejig question. business_kid Slackware 3 12-23-2021 05:49 AM
[SOLVED] A question about liveslak FlinchX Slackware 5 03-25-2020 10:49 AM
Liveslak upslak.sh question for custom kernel enorbet Slackware 13 09-09-2019 03:57 AM
[SOLVED] Liveslak 1.1.3 slackpkgplus configuration updates for 14.2, block downgrades and fix kmail. bamunds Slackware 2 09-13-2016 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration