# refracta.freeforums.org

place to talk about refracta

Skip to content

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!

## Snapshot - Experimental versions from github

Stuff that has not yet gone into the official build.
Post a reply
8 posts • Page 1 of 1

### Snapshot - Experimental versions from github

by dzz » Tue Apr 17, 2012 11:21 pm

The latest refractasnapshot_9.0.4 seems very good. Some changes are apparently made to help functionality with other distros; I can't help much with that as I use only Debian (or sometimes, derivatives of). Not much help from me with cryptsetup either, still a beginner there.
I tested first on one of my own projects (Exe GNU/Linux, which is Trinity Desktop on otherwise unmodified Squeeze) with default options.
Unfortunataly the zenity "pulsate" icon didn't show in the dialog box and high cpu useage was noticed from zenity. Maybe a gtk-qt engine bug in my own stuff that has been problematic before. However I did see a comment in the conf file that says it would break. A fine working snapshot was still produced.
Would the zenity progress dialogs be better replaced by an xterm window? You can see what is going on and does acually look quite nice (I have done this before); mksquashfs and genisoimage have their own terminal progress indicators and pv could be used for anything else, e.g.rsync. But I appreciate the work that's gone into snapshot already, maybe that is less important.
I didn't get why rsync and genisoimage functions commands need to be in an otherwise user-editable config file. The rsync-excludes file seems also to be getting more complex. would it work if all /var/log files were excluded then to touch new , empty files for the problematic ones ones only?
Isohybrid is more trouble than it's worth here, the stick is made useless for anything else and is a pain to revert to "normality". As I had already a syslinux-enabled usb stick I simply copied over the contents of the iso. To get it to boot /isolinux was renamed to /syslinux and isolinux.cfg to syslinux.cfg. References (only two or three) to isolinux.cfg and /isolinux in exithelp and the cfg file itself were changed to syslinux. That was all, it booted and all menu functions were there. An example why simplifying the boot menu was a good move.
Later I will try with wheezy. some menu edits and other custom options.

dzz
  Posts: 647
  Joined: Wed Apr 27, 2011 11:53 am
  Location: Devon, England

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Wed Apr 18, 2012 4:42 am

I haven't tackled any zenity problems yet, but I've got a note about that, maybe in the config file. So far, only the cli version has been updated. One thing I'm planning to do is change the .desktop files to use 'x-terminal-emulator' instead of 'xfce4-terminal', so it works outside of xfce.
rsync command needs to be easily editable. Nadir needed it yesterday, to exclude some mounts. genisoimage probably doesn't need to be there, but I'd already written the code before we discussed this a few weeks ago, and I hate to throw away work. I even thought about adding the mksquashfs command, in case anyone wants to play with different options. That might transition to working on the squash-only backup tool that Dean was playing around with.
I like the idea of excluding all of /var/log and touching whatever might be needed, but that means more configs or more questions. Gonna have to give it some thought.
The plan is to try some new things, make it distro-agnostic, and settle in at version 9.1.0.
The warning for a separate /tmp partition is gone in the next version. I also added a config for the iso filename, so you can replace 'snapshot' with some other word. But I need to change that so I can use it when making official builds but keep the default name in the config file. Maybe add a command-line option to use a different config file.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Sun May 06, 2012 8:45 pm

refractasnapshot-base_9.0.5 is in github. There's no gui version to go with it yet. Most of the changes (3 of the 5) are for me to use when I'm building an official image or testing stuff.
refractasnapshot-base (9.0.5) unstable; urgency=low
* added command-line option to use a different config file
* removed the warning for separate /tmp partition
* added config for snapshot.iso filename
* package list gets put on the cdrom, inside a directory
that's named after the snapshot.iso to help identify the build
* added config for default text editor
-- fsmithred <[email protected]
> Sun, 06 May 2012 14:45:00 -0400

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Mon May 07, 2012 4:53 pm

Brought the gui package up to 9.0.5 with same changes as base package. Also added command-line options and help_text to gui version.
Also replaced the base package I uploaded yesterday for addition of $gui_editor to config file.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Tue May 08, 2012 4:49 pm

Fixed a typo in refractasnapshot-gui (9.0.5) and re-uploaded the .deb. If you set $edit_boot_menu to yes, geany was not opening. Now it works.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Sun May 20, 2012 2:06 pm

Fixed a bug in refractasnapshot-9.0.5. If you set $save_work to yes and ran snapshot more than once, you got extra package-list directories on the iso. Now it deletes the old lists as it should. New version number is 9.0.5-1, and it's in the github repo.
Replaced this:

Code: Select all
  `# Remove any old package-list directories (only works for same basename)
  if [[ -d "$work_dir"/iso/"${snapshot_basename}*" ]]; then
  rm -r "$work_dir"/iso/"${snapshot_basename}*"
  fi`

with this:

Code: Select all
  `# Remove any old package-list directories (only works for same basename)
  for dir in "$work_dir"/iso/"${snapshot_basename}"* ; do
  rm -r "$dir"
  echo "Removing old package-list directory: $dir"
  done`

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Snapshot - Experimental versions from github

by dzz » Mon May 21, 2012 12:38 am

> refractasnapshot-base_9.0.5-1_all.deb 11 hours ago for wheezy - 2012-05-20 [fsmithred]
> refractasnapshot-gui_9.0.5-1_all.deb 11 hours ago for wheezy - 2012-05-20 [fsmithred]

This one for wheezy only, not squeeze?

dzz
  Posts: 647
  Joined: Wed Apr 27, 2011 11:53 am
  Location: Devon, England

Top

### Re: Snapshot - Experimental versions from github

by fsmithred » Mon May 21, 2012 1:00 am

No, no, it works on squeeze. Um, in fact, I think this version has only been tested on squeeze. The changes for wheezy were written into 9.0.3 or 9.0.4, and it worked on wheezy then. (only thing that makes it for wheezy is that the default location of the work_dir is not in /tmp.)

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

Display posts from previous:
Sort by

Post a reply
8 posts • Page 1 of 1

Return to Experimental

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred