Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Using only (/) etc/skel as installed base/desktop

Refracta Development, Scripts, etc.

Using only (/) etc/skel as installed base/desktop

Postby vsido » Fri Jan 30, 2015 3:54 pm

Hi,

I am testing the latest snapshot (refractasnapshot-base_9.1.5+10.0.0~beta01_all.deb) and installer (refractainstaller-base_9.1.3_all.deb) ...

I have searched here on the forum but did not find a definitive answer as to whether or not the installer (or snapshot) could only use the content of (/) etc/skel as the base for any user created on an install

Is this possible? Without copying (/) etc/skel to the default of the build environment? It appears now that when I have (/) home/*/.[a-z,A-Z,0-9]* excluded in the snapshot_exclude.list I get nothing at all from (/) etc/skel and only a very blank setup

Thank you to those responsible for this quality app
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm

Re: Using only (/) etc/skel as installed base/desktop

Postby fsmithred » Fri Jan 30, 2015 5:06 pm

The script is set up with the assumption that you're going to configure your home how you want it, and then that will be reproduced in the snapshot. To do what you want, I think you would need to exclude /home/user/* or /home/* and then manually copy etc/skel/* to /home/user/ or to /home/whoever.

The way to do this is to set edit_boot_menu="yes" in the config file, and when it stops to let you edit the menu, go to another terminal and make whatever changes you need in the work directory (/home/work/myfs/ is the default location.) When you close the editor with the boot menu in it, the script will proceed to squash the copy of the filesystem and make the iso file.

Edit: Another way - If you delete your user and user's home, then live-config will create a user when you boot the snapshot.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Using only (/) etc/skel as installed base/desktop

Postby vsido » Fri Jan 30, 2015 5:09 pm

^ Thanks fsmithred, I will try that process ... I appreciate it
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred