Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore several more files | Aaron LI | 2019-01-08 | 1 | -0/+3 |
| | | | | 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 | 1 | -20/+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 | 1 | -3/+5 |
| | |||||
* | Update copyright year :) | Aaron LI | 2019-01-01 | 1 | -1/+1 |
| | |||||
* | Several minor changes | Aaron LI | 2019-01-01 | 1 | -5/+4 |
| | |||||
* | 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 | 1 | -321/+5 |
| | | | | Make this tool simple! | ||||
* | Bump version to 0.1.5v0.1.5 | Aaron LI | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -0/+10 |
| | |||||
* | Bump to version 0.1.4v0.1.4 | Aaron LI | 2018-12-20 | 1 | -1/+1 |
| | |||||
* | Ignore /etc/login.conf.db and update config file | Aaron LI | 2018-12-20 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | Improve the post-update messages | Aaron LI | 2018-03-21 | 1 | -4/+7 |
| | |||||
* | 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 |
| | |||||
* | Bump version to 0.1.2 | Aaron LI | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | Document "set -e" and fix cmd_status() invocation in cmd_fly() | Aaron LI | 2018-03-11 | 1 | -1/+4 |
| | |||||
* | cmd_status: return the update status instead of always 0 | Aaron LI | 2018-03-11 | 1 | -0/+2 |
| | |||||
* | Minor improvements | Aaron LI | 2018-03-11 | 1 | -4/+8 |
| | |||||
* | Add "|| true" to make debug() work with DEBUG disabled | Aaron LI | 2018-03-11 | 1 | -1/+1 |
| | | | | | | | For reasons unknown, with DEBUG disabled (i.e., DEBUG=""), the script will terminate after the debug() invocation! But bash can run this script well without this fix... | ||||
* | upgrade_system(): find from new "etc" to identify [NEW]/[UPDATED] files | Aaron LI | 2018-03-11 | 1 | -12/+15 |
| | | | | version: 0.1.1 | ||||
* | dfly-update: version 0.1.0 | Aaron LI | 2018-03-11 | 1 | -1/+1 |
| | | | | Tested by upgrading a DFly 5.0.0-release -> 5.0.2-release | ||||
* | postupgrade(): sort found files | Aaron LI | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | upgrade_system(): Ignore files with __new__ suffix | Aaron LI | 2018-03-11 | 1 | -2/+2 |
| | |||||
* | Fix a variable name error | Aaron LI | 2018-03-10 | 1 | -1/+1 |
| | |||||
* | Improve warning messages a bit | Aaron LI | 2018-03-10 | 1 | -4/+4 |
| | |||||
* | Implement fly command for one-command upgrade procedure :) | Aaron LI | 2018-03-10 | 1 | -1/+35 |
| | | | | XXX: Use global variables shared between cmd_status() and cmd_fly() | ||||
* | Improve EC_NOFILE error a bit im checksum_image() and mount_image() | Aaron LI | 2018-03-10 | 1 | -8/+11 |
| | |||||
* | checksum_image(): Fix md5 check when given file doesn't exist | Aaron LI | 2018-03-10 | 1 | -2/+4 |
| | |||||
* | Improve the messages/prints a bit | Aaron LI | 2018-03-10 | 1 | -3/+3 |
| | |||||
* | cmd_cleanup(): Fix the use of get_vn_filename() | Aaron LI | 2018-03-10 | 1 | -1/+2 |
| | |||||
* | cleanup(): check the item length before test its existence | Aaron LI | 2018-03-10 | 1 | -1/+2 |
| | | | | | When there is no $TO_REMOVE_LATE, the generated $tmpfile list has an *empty line* at the end, which cause problem for the file existence test. | ||||
* | install_system(): improve progress reports | Aaron LI | 2018-03-10 | 1 | -23/+23 |
| | |||||
* | install_system(): check file existence before stash/recover; use cp | Aaron LI | 2018-03-10 | 1 | -7/+11 |
| | | | | | The important etc confg files (e.g., group, passwd) cannot be moved/renamed! Use "cp" instead of "mv"! | ||||
* | Improve printing messages | Aaron LI | 2018-03-10 | 1 | -6/+6 |
| | |||||
* | Implement cleanup command to remove obsolete files, umount and delete image | Aaron LI | 2018-03-10 | 1 | -0/+55 |
| | |||||
* | Add upgrade command | Aaron LI | 2018-03-10 | 1 | -1/+15 |
| | |||||
* | Add upgrade_system() to upgrade the config files | Aaron LI | 2018-03-10 | 1 | -0/+44 |
| | |||||
* | Add install_system() function to install the kernel and world | Aaron LI | 2018-03-10 | 1 | -0/+81 |
| | |||||
* | Improve argument checks with better messages | Aaron LI | 2018-03-10 | 1 | -25/+46 |
| |