Refracta Development, Scripts, etc.
Post a reply

refractasnapshot-9.0.8

Wed Jan 02, 2013 6:37 pm

Direct links to the latest version.
http://distro.ibiblio.org/refracta/test ... .8_all.deb
http://distro.ibiblio.org/refracta/test ... .8_all.deb


Changes:
* Excluded /lib/live/overlay, image, rootfs, mount and /var/run/*
* Added boot options for runlevel 3 and for unionfs
* Boot timout 20 seconds
* Isolinux boot menu uses separate files again, to fix a problem
* with using alternate boot methode by typing them at the boot
* prompt. (e.g., 'boot: live' or 'boot: nomodeset')
# until I can figure out what was missing in isolinux.cfg
* $boot_menu is (temporarily?) set to live.cfg in config file.
* Added setup functions to allow editing configs and excludes. (gui only)
* Added var editor_option - geany opens new instance for each file.


Edit: dzz, I just changed one line in f5.txt. Let me know if it needs more.

Re: refractasnapshot-9.0.8

Fri Jan 04, 2013 2:18 am

* Isolinux boot menu uses separate files again, to fix a problem


Hopefully temporarily, six files are confusing, difficult to follow what includes what when if how why

I did notice strange behaviour in virtualbox, typing on the cmdline. What I type doesn't register properly and existing text starts scrolling repeatedly . It was considered a virtualbox problem, doesn't happen on real hardware

The help menus changes look good

Re: refractasnapshot-9.0.8

Tue Mar 26, 2013 4:41 pm

New debs for refractasnapshot. They're on the github repo, but not on ibiblio yet.

Code:
  * Release Notes get added to root of iso (if they exist).
  * Added ~/.gnupg ~/.pulse* and ~/.dbus to excludes.
  * Added /etc/fstab.d/* to excludes.
  * Fixed stdmenu.cfg to stop scrolling boot line.


Um, shhhh... don't look now, but an item in the above code box was also added to the installer excludes. I don't want to say it.

Re: refractasnapshot-9.0.8

Wed Mar 27, 2013 3:55 pm

Thanks fsmithred for the new version

One problem here: If $snapshot_dir is set to another device/partition it should be mounted. It was not.. snapshot made work directories anyway in /media then filled and choked the rootfs

Suggested fix (or something similar, this seems to work):

Code:
# Create snapshot_dir and work_dir if necessary.
check_directories () {

# Don't use /media/* for $snapshot_dir unless it is a mounted filesystem
snapdir_is_remote=$(echo ${snapshot_dir}| awk -F / '{print "/" $2 "/" $3}' |grep /media/)

if [ -n "$snapdir_is_remote" ] && cat /proc/mounts | grep -q ${snapdir_is_remote}; then
   echo "$snapdir is mounted"
else
   $DIALOG --$ERROR --title="Refracta Snapshot" --text=" Error.. The selected snapshot work directory cannot be accessed.. "
   exit 1
fi

# SNIP

(minor) One yad window was squashed, don't remember which. Some had "YAD" as title

line 428 (--title=Edit Boot Menu) needs quotes.. (--title="Edit Boot Menu" )

One other observation: refractasnapshot.conf is easier to read (= less chance of edit mistakes) if the non-commented lines are spaced.

Re: refractasnapshot-9.0.8

Thu Mar 28, 2013 2:24 am

Found some stuff in my latest snapshot that should not be there, mostly in /root including 100's of MB in /root/.local/share/Trash Some might also be in default Refracta. These should probably be in excludes.list:

/root/.nano_history
/root/.VirtualBox
/root/.synaptic
/root/.aptitude
/root/.disk-manager.conf
/root/.fstab.log
/root/.local/share/*
/root/.ICEauthority
/root/.Xauthority

/home/*/.mozilla/*/*/Cache/*
/home/*/.mozilla/*/*/urlclassifier3.sqlite
/home/*/.VirtualBox

EDIT (more)

'/home/*/VirtualBox VMs' ## watch out for the space
Last edited by dzz on Thu Mar 28, 2013 8:01 pm, edited 1 time in total.

Re: refractasnapshot-9.0.8

Thu Mar 28, 2013 3:05 am

You might also want to include /home/*/.wine on that list. FWIW, I used refractasnapshot 9.0.8-1 to make the 22gb image. Could these files account for the size?

Re: refractasnapshot-9.0.8

Thu Mar 28, 2013 2:39 pm

The default exclude.list is for what must not, or should not normally, be in a live image. Some excludes like history, cache and log files use space (some may be a security risk) and later get regenerated anyway.

.wine is user-config stuff, applications and data (but could be very large)

A user can add excludes for specific (or all) dot files/dirs and should in any case do a size check.

Re: refractasnapshot-9.0.8

Sun Apr 07, 2013 4:25 pm

Made additions to snapshot excludes list.

Added test for remote, unmounted snapshot_dir. Do we need a similar test for work_dir?

Would like to roll new debs soon.
Post a reply