Skip to content

OS image upgrade tool for Raspberry Pi using btrfs subvolumes

License

Notifications You must be signed in to change notification settings

Gobbel2000/svup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVUP

Upgrade the operating system from a disk image file

Svup is a bash script that performs full root filesystem upgrades by utilizing btrfs subvolumes. The name is short for Subvolume Upgrade. The upgrade is provided in the form of a raw disk image file whose contents are then transferred onto a snapshot of the current root filesystem.

Then the boot loader is configured to boot into the filesystem containing the new upgrades. Currently only the Raspberry Pi bootloader is supported.

This script was made to facilitate safe and full system upgrades within the klippo 3D-printing software.

Installing

The script svup can be run just by itself, but some actions require the correct configuration structure which is best installed through a debian package.

Building the package requires debhelper to be installed:

sudo apt-get install debhelper

From inside this repository, execute the following command to build the package:

dpkg-buildpackage -us -uc -b

Install the package:

sudo dpkg -i ../svup*.deb

In case any dependencies are missing, install them using

sudo apt-get install -f

Documentation

See man svup for details on usage and how svup works. svup -h gives a shorter summary of all available options.

About

OS image upgrade tool for Raspberry Pi using btrfs subvolumes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published