Refracta Development, Scripts, etc.
Post a reply
fsmithred

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

## refractasnapshot-9.2.0

Fri Jul 24, 2015 4:06 pm

New version of refractasnapshot is up. Couldn't upload to sourceforge right now, so I put it in the testing folder at ibiblio. Works with wheezy and jessie. (Haven't tested with stretch or recent sid.)
http://distro.ibiblio.org/refracta/files/Testing/
What's new in 9.2?
- Log files in /var/log get truncated instead of excluded. Archived logs are removed (just from the copy in work_dir)
- Refracta-specific help files are optional. Default behavior is for the iso to contain non-branded help files, and most of them are blank. I also got rid of the starfield splash, mainly to save space in the .deb file. Complain to me if you're not happy about that.
- Added option to rebuild the initrd with 'CRYPTSETUP=y' so the iso can be used on a live-usb with encrypted persistence. The original initrd.img gets saved as /initrd.img_pre-snapshot (only the first time, so the backup doesn't get overwritten if you run snapshot twice.)
- Added option to copy network configs to the snapshot and include ip=frommedia in the boot menu. Default behavior is to remove the configs from the filesystem copy before squashing. Known limitations to this: If you're using Gnome Network Manager or some other network manager other than wicd, your network configs are probably being copied to the iso, and they will show up if you boot with ip=frommedia in the boot command. If someone will tell me where the configs get stored, I'll fix the script to handle it.
fsmithred

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

## Re: refractasnapshot-9.2.0

Sun Aug 23, 2015 11:50 am

Added support for gnome network manager. (/)etc/NetworkManager/system-connections gets saved or not.
NOTE!! There's a bug in 9.2.0 - the following files get deleted from the host system instead of from the work-dir copy of the filesystem. Sorry about that.
Don't copy paste without fixing the secret word. (Parens before etc)

Code:
  `This in 9.2.0
  rm -f/var/lib/wicd/configurations/*
  rm -f (/)etc/NetworkManager/system-connections
  is changed to this in 9.2.1
  rm -f "$work_dir"/myfs/var/lib/wicd/configurations/*
  rm -f "$work_dir"/myfs(/)etc/NetworkManager/system-connections`

Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.