Refracta Development, Scripts, etc.
Post a reply

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

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

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

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.

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

Fri Jan 30, 2015 5:09 pm

^ Thanks fsmithred, I will try that process ... I appreciate it
Post a reply