container-management

🐄 btrfs 'container' management pacman hook which makes a snapshot of the current state after moving the prior two and copies the current running kernel image before applying pacman operations allowing one to boot the snapshot directly without concern
Log | Files | Refs

5-container-management-pre.hook (302B)


      1 # Create snapshot of current state before upgrade operation
      2 # see https://man.archlinux.org/man/alpm-hooks.5 for more information
      3 [Trigger]
      4 Operation = Upgrade
      5 Type = Package
      6 Target = *
      7 
      8 [Action]
      9 Depends = coreutils
     10 When = PreTransaction
     11 Exec = /etc/pacman.d/hooks/bin/container-management
     12 AbortOnFail