All Projects → liweitianux → dfly-update

liweitianux / dfly-update

Licence: MIT license
Update DragonFly BSD using a release/snapshot image

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to dfly-update

osutil
Go library to easily detect current operating system, current Linux distribution, macOS version and more...
Stars: ✭ 22 (+29.41%)
Mutual labels:  bsd, dragonflybsd
file-arranger
Simple & capable Directory arranger/cleaner
Stars: ✭ 54 (+217.65%)
Mutual labels:  bsd
Cross
“Zero setup” cross compilation and “cross testing” of Rust crates
Stars: ✭ 2,461 (+14376.47%)
Mutual labels:  bsd
go-sysconf
sysconf for Go, without using cgo
Stars: ✭ 119 (+600%)
Mutual labels:  bsd
Htop
htop - an interactive process viewer
Stars: ✭ 3,076 (+17994.12%)
Mutual labels:  bsd
bf256
Brainfuck compiler under 256 bytes in size.
Stars: ✭ 21 (+23.53%)
Mutual labels:  bsd
Oksh
Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
Stars: ✭ 142 (+735.29%)
Mutual labels:  bsd
src
MidnightBSD OS source code
Stars: ✭ 21 (+23.53%)
Mutual labels:  bsd
bsdhwmon
Hardware sensor monitoring utility for FreeBSD
Stars: ✭ 16 (-5.88%)
Mutual labels:  bsd
Cups
OpenPrinting CUPS Sources
Stars: ✭ 253 (+1388.24%)
Mutual labels:  bsd
Tmux Cpu
Plug and play cpu percentage and icon indicator for Tmux.
Stars: ✭ 238 (+1300%)
Mutual labels:  bsd
Libagar
Cross-Platform GUI Toolkit (stable)
Stars: ✭ 212 (+1147.06%)
Mutual labels:  bsd
i3lock-color
The world's most popular non-default computer lockscreen.
Stars: ✭ 904 (+5217.65%)
Mutual labels:  bsd
Azpainter
Full color painting software for Unix-like systems for illustration drawing. This is un-official little fixed repository for package maintainers of image editor AzPainter (based on "mlib" toolkit). Official repository - http://azsky2.html.xdomain.jp/arc/download.html
Stars: ✭ 179 (+952.94%)
Mutual labels:  bsd
InitKit
Neo-InitWare is a modular, cross-platform reimplementation of the systemd init system. It is experimental.
Stars: ✭ 364 (+2041.18%)
Mutual labels:  bsd
Pimd
PIM-SM/SSM multicast routing for UNIX
Stars: ✭ 143 (+741.18%)
Mutual labels:  bsd
Awesome Bsd
A collection of awesome BSD related stuff
Stars: ✭ 236 (+1288.24%)
Mutual labels:  bsd
Hackintosh-ASUS-A455LF-Notebook
EFI Folder for ASUS A455LF-WX039D Notebook Series with Clover/OpenCore Legacy or UEFI
Stars: ✭ 27 (+58.82%)
Mutual labels:  bsd
HITB2020 FSFUZZER
My Material for the HITB presentation
Stars: ✭ 33 (+94.12%)
Mutual labels:  bsd
BSDCoreUtils
BSD coreutils is a port of many utilities from BSD to Linux and macOS.
Stars: ✭ 30 (+76.47%)
Mutual labels:  bsd
===========
dfly-update
===========

A simple tool to update a DragonFly BSD system using a binary release or
snapshot image file.

Introduction
------------
The officially supported method to update a DragonFly BSD system is
building and installing from the source.  However, on a low-end machine
(e.g., a small VPS), it's time-consuming and hard to build the source.  On
the other hand, it's not easy to transfer the built "/usr/obj" (quite big)
to a remote VPS for an update.  Therefore, a simple tool to update a the
system directly using a binary release or snapshot image is very useful and
necessary.

This tool refers to the installation procedures and the official source
upgrade processes to implement the update task, which mainly includes
the following steps:

1. mount the system image file (*.img);
2. backup the current kernel and world (including "/etc");
3. install the kernel and world using cpdup (similar to the installer);
4. create new users and groups;
5. identify the new/changed "/etc" files, rename the conflicting ones
   with suffix ".__new__" and then copy over;
6. remove obsolete files according to "Makefile_upgrade.inc";
7. umount, show the "*.__new__" files that need manual merge.

Usage
-----
dfly# git clone https://github.com/liweitianux/dfly-update
dfly# cd dfly-update
dfly# ./dfly-update fly <path/to/downloaded/dfly.img>

NOTE:
After this, you still need to merge the listed config files with suffix
".__new__", and also upgrade the packages.

Versions
--------
* 0.2.0 (2019-01-09)
  - New command line syntax
  - Remove the "status" and "download" commands to be a lot simpler
  - Use "cpdup -X" to ignore the files that should not be overwritten
  - Create new users/groups according to the new master.passwd/group
  - Multiple other small improvements and cleanups
* 0.1.5 (2018-12-28)
  - Rebuild multiple databases after upgrade
  - Various minor cleanups
* 0.1.4 (2018-12-20)
  - Install "/rescue" directory
  - Improve mtree(8) usage
* 0.1.3 (2018-04-16)
  - Fix the issue that the old "Makefile_upgrade" was used
  - Make the upgrade messages more concise
* 0.1.2 (2018-03-11)
  - First usable version for broader testing

License
-------
MIT License
Copyright (c) 2017-2020 Aaron LI <[email protected]>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].