Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split out function get_mount_dev() | Aaron LI | 2019-01-10 | 1 | -2/+9 |
| | |||||
* | Bump to version 0.2.0v0.2.0 | Aaron LI | 2019-01-09 | 2 | -1/+7 |
| | |||||
* | Improve the description in README | Aaron LI | 2019-01-09 | 1 | -12/+8 |
| | |||||
* | Mention "pkg update" before "pkg upgrade" | Aaron LI | 2019-01-09 | 1 | -0/+1 |
| | |||||
* | Check whether the mount point is already mounted | Aaron LI | 2019-01-09 | 1 | -2/+7 |
| | | | | | If the target mount point is already mounted (e.g., legacy from previous incomplete dfly-update run), just exit with an error. | ||||
* | Fold get_vn_devname() into umount_image() | Aaron LI | 2019-01-09 | 1 | -11/+6 |
| | | | | Improve the method to get the device name of the mounted image. | ||||
* | Also use cpdup -X to ignore files when copying new /etc | Aaron LI | 2019-01-09 | 1 | -18/+21 |
| | | | | | | | | Add the new function make_cpignore() to generate the ignore file for cpdup(1), considering the substitution from '/etc' to '/etc.hdd'. Explicitly remove possible existing 'etc.new' directory left by the previous run. | ||||
* | Force to ignore '/etc' from $INSTALL_LIST | Aaron LI | 2019-01-09 | 1 | -19/+24 |
| | |||||
* | Allow to start and stop at specified upgrade steps | Aaron LI | 2019-01-09 | 1 | -30/+95 |
| | | | | | | | Adding new options '-s' and '-S' to allow to start and stop at the specified steps, respecitively. Clean up the messages a bit. | ||||
* | Rework the usage syntax | Aaron LI | 2019-01-09 | 1 | -110/+62 |
| | | | | Use options instead sub-commands, simplifying the usage. | ||||
* | Clean up obvious arguments checks | Aaron LI | 2019-01-09 | 1 | -37/+4 |
| | |||||
* | Add new users/groups according to {master.passwd,group} | Aaron LI | 2019-01-09 | 2 | -3/+53 |
| | | | | | | Add function add_users() to add new users and groups according to /etc.hdd/{master.passwd,group} files, and call this function after install_system(). | ||||
* | Merge "version" sub-command into "help" | Aaron LI | 2019-01-08 | 1 | -21/+11 |
| | | | | Improve the help text a bit. | ||||
* | Rebuild mail alias db | Aaron LI | 2019-01-08 | 1 | -0/+2 |
| | |||||
* | Ignore several more files | Aaron LI | 2019-01-08 | 2 | -0/+6 |
| | | | | Credit: https://github.com/openbsd/src/blob/master/usr.sbin/sysmerge/sysmerge.sh | ||||
* | Fix vnconfig(8) use error | Aaron LI | 2019-01-08 | 1 | -2/+2 |
| | | | | | Fix the vnconfig(8) use error introduced in 10a4caf8a5bf6de99248b133a9cb90e791067541. | ||||
* | Fix cpdup -X usage (2) | Aaron LI | 2019-01-08 | 1 | -4/+6 |
| | | | | | | | | Note that 'cpdup -X' doesn't normalize multiple '/' to be one, so for example, '/mnt/tmp/boot/loader.conf' is different to '/mnt/tmp//boot/loader.conf'! Also drop the unnecessary '-u' option. | ||||
* | Fix cpdup -X usage | Aaron LI | 2019-01-07 | 1 | -1/+1 |
| | | | | Full absolute paths must be used in the cpignore file. | ||||
* | Use cpdup -X to ignore the files to avoid overwriting | Aaron LI | 2019-01-06 | 2 | -23/+11 |
| | | | | | Use cpdup -X to not copy the files should be ignored to avoid overwriting. Therefore, the copy-backup-then-rename hack is not needed. | ||||
* | Introduce ${CPDUP} to specify the path to cpdup(1) | Aaron LI | 2019-01-05 | 2 | -3/+8 |
| | |||||
* | Update README | Aaron LI | 2019-01-01 | 1 | -27/+8 |
| | |||||
* | Update copyright year :) | Aaron LI | 2019-01-01 | 3 | -3/+3 |
| | |||||
* | Several minor changes | Aaron LI | 2019-01-01 | 2 | -6/+5 |
| | |||||
* | Add INSTALL_LIST for the list of files/dirs to be installed | Aaron LI | 2019-01-01 | 1 | -20/+24 |
| | |||||
* | Simplify cmd_mount() and cmd_cleanup() | Aaron LI | 2019-01-01 | 1 | -23/+1 |
| | |||||
* | Strip the "status" and "download" sub-commands | Aaron LI | 2019-01-01 | 2 | -332/+5 |
| | | | | Make this tool simple! | ||||
* | Remove example/test logs | Aaron LI | 2019-01-01 | 4 | -1008/+0 |
| | |||||
* | Bump version to 0.1.5v0.1.5 | Aaron LI | 2018-12-28 | 2 | -4/+7 |
| | |||||
* | Simplify the vnconfig(8) usage | Aaron LI | 2018-12-28 | 1 | -2/+2 |
| | |||||
* | Various small cleanups | Aaron LI | 2018-12-26 | 1 | -73/+100 |
| | |||||
* | Rebuild databases after upgrade | Aaron LI | 2018-12-20 | 2 | -1/+10 |
| | |||||
* | Bump to version 0.1.4v0.1.4 | Aaron LI | 2018-12-20 | 2 | -1/+4 |
| | |||||
* | README: Update TODO | Aaron LI | 2018-12-20 | 1 | -6/+5 |
| | |||||
* | Ignore /etc/login.conf.db and update config file | Aaron LI | 2018-12-20 | 2 | -1/+6 |
| | |||||
* | dfly-update: Improve the mtree usages | Aaron LI | 2018-12-20 | 1 | -9/+15 |
| | |||||
* | dfly-update: Install /rescue directory | Aaron LI | 2018-12-20 | 1 | -1/+3 |
| | |||||
* | examples: Remove the fetch progress | Aaron LI | 2018-12-20 | 1 | -1/+0 |
| | |||||
* | Also remove the generated catman pages when the man page obsolete | Aaron LI | 2018-06-03 | 1 | -1/+9 |
| | |||||
* | Properly capture the error code from get_latest_image() | Aaron LI | 2018-06-03 | 1 | -2/+3 |
| | | | | | | Before this commit, get_latest_image() may fail, e.g., due to fetch errors, but the "eval" statement makes the error code from get_latest_image() function ignored. | ||||
* | Update README about v0.1.3 and add a new upgrade examplev0.1.3 | Aaron LI | 2018-04-16 | 2 | -1/+268 |
| | |||||
* | Try use the new Makefile_upgrade.inc to cleanup obsolete files | Aaron LI | 2018-04-16 | 1 | -5/+9 |
| | | | | Also bump version to 0.1.3 | ||||
* | Update README with more detail introduction | Aaron LI | 2018-03-21 | 1 | -9/+35 |
| | |||||
* | Add one more example log and move them to examples directory | Aaron LI | 2018-03-21 | 2 | -0/+292 |
| | |||||
* | Improve the post-update messages | Aaron LI | 2018-03-21 | 1 | -4/+7 |
| | |||||
* | README: Add a TODO section; and some minor improvements | Aaron LI | 2018-03-13 | 1 | -8/+16 |
| | |||||
* | Base system doesn't need to handle /usr/local | Aaron LI | 2018-03-13 | 1 | -2/+0 |
| | | | | The BSD.local.dist will also be removed from DFly base soon. | ||||
* | upgrade_install(): suppress showing of unmodified files | Aaron LI | 2018-03-12 | 1 | -12/+8 |
| | |||||
* | README: add the usage section | Aaron LI | 2018-03-12 | 1 | -0/+26 |
| | |||||
* | README: add versions and tests sectionsv0.1.2 | Aaron LI | 2018-03-11 | 1 | -0/+10 |
| | |||||
* | Add an example output at example.log | Aaron LI | 2018-03-11 | 2 | -1/+449 |
| |