Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Improve MD5 check on the downloaded image | Aaron LI | 2018-03-10 | 1 | -6/+4 |
| | |||||
* | Implement the backup command with backup_kernel() and backup_world() | Aaron LI | 2018-03-10 | 1 | -0/+67 |
| | |||||
* | Add umount_image() function with get_vn_devname() and get_vn_filename() | Aaron LI | 2018-03-10 | 1 | -0/+33 |
| | |||||
* | More function argument checks | Aaron LI | 2018-03-10 | 1 | -3/+7 |
| | |||||
* | Implement the mount command | Aaron LI | 2018-03-10 | 1 | -0/+44 |
| | |||||
* | Add error code EC_FETCH for fetch | Aaron LI | 2018-03-10 | 1 | -2/+5 |
| | |||||
* | Add argument counts check for functions with EC_ARGS exit code | Aaron LI | 2018-03-10 | 1 | -4/+17 |
| | |||||
* | Improve error() and check_os() | Aaron LI | 2018-03-10 | 1 | -2/+4 |
| | |||||
* | Implement command download: to download the new system image | Aaron LI | 2018-03-10 | 1 | -1/+63 |
| | |||||
* | Use is_master_branch(), and remove cmd_extension_or_status() | Aaron LI | 2018-03-10 | 1 | -12/+4 |
| | |||||
* | Add functions get_md5list_url() and get_image_url() | Aaron LI | 2018-03-10 | 1 | -6/+22 |
| | |||||
* | Add functions get_branch_filename() and is_master_branch() | Aaron LI | 2018-03-10 | 1 | -0/+39 |
| | |||||
* | Fix get_latest_image() to return _md5 correctly | Aaron LI | 2018-03-10 | 1 | -2/+3 |
| | |||||
* | Add DEBUG var, debug() and warn() functions | Aaron LI | 2018-03-10 | 1 | -0/+10 |
| | |||||
* | Update help and version commands | Aaron LI | 2018-03-10 | 1 | -9/+5 |
| | |||||
* | Update EC_* error codes | Aaron LI | 2018-03-10 | 1 | -3/+3 |
| | |||||
* | Remove load_config() and simply source the config file | Aaron LI | 2018-03-10 | 1 | -14/+1 |
| | |||||
* | Update local vars and some minor fixes | Aaron LI | 2018-03-10 | 1 | -20/+17 |
| | |||||
* | Update copyright and one-line description | Aaron LI | 2018-03-10 | 1 | -7/+3 |
| | |||||
* | Use IMG image instead of ISO format, due to hard links | Aaron LI | 2018-02-03 | 1 | -2/+3 |
| | | | | | | | Most of the tools under `/usr/share/initrd/{bin,sbin}` are hard links, however the ISO9660 filesystem cannot deal with them, therefore the installed files are copies, which can cause problem for `mkinitrd` due to out of space... | ||||
* | dfly-update: multiple small fixes/improvements | Aaron LI | 2018-01-24 | 1 | -11/+24 |
| | |||||
* | dfly-update: implement compare_version() using "sort -V" | Aaron LI | 2018-01-24 | 1 | -4/+15 |
| | |||||
* | Implement "status" sub command | Aaron LI | 2017-06-04 | 1 | -0/+226 |