aboutsummaryrefslogtreecommitdiffstats
path: root/dfly-update
Commit message (Collapse)AuthorAgeFilesLines
* Properly capture the error code from get_latest_image()Aaron LI2018-06-031-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 filesAaron LI2018-04-161-5/+9
| | | | Also bump version to 0.1.3
* Improve the post-update messagesAaron LI2018-03-211-4/+7
|
* Base system doesn't need to handle /usr/localAaron LI2018-03-131-2/+0
| | | | The BSD.local.dist will also be removed from DFly base soon.
* upgrade_install(): suppress showing of unmodified filesAaron LI2018-03-121-12/+8
|
* Bump version to 0.1.2Aaron LI2018-03-111-1/+1
|
* Document "set -e" and fix cmd_status() invocation in cmd_fly()Aaron LI2018-03-111-1/+4
|
* cmd_status: return the update status instead of always 0Aaron LI2018-03-111-0/+2
|
* Minor improvementsAaron LI2018-03-111-4/+8
|
* Add "|| true" to make debug() work with DEBUG disabledAaron LI2018-03-111-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] filesAaron LI2018-03-111-12/+15
| | | | version: 0.1.1
* dfly-update: version 0.1.0Aaron LI2018-03-111-1/+1
| | | | Tested by upgrading a DFly 5.0.0-release -> 5.0.2-release
* postupgrade(): sort found filesAaron LI2018-03-111-1/+1
|
* upgrade_system(): Ignore files with __new__ suffixAaron LI2018-03-111-2/+2
|
* Fix a variable name errorAaron LI2018-03-101-1/+1
|
* Improve warning messages a bitAaron LI2018-03-101-4/+4
|
* Implement fly command for one-command upgrade procedure :)Aaron LI2018-03-101-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 LI2018-03-101-8/+11
|
* checksum_image(): Fix md5 check when given file doesn't existAaron LI2018-03-101-2/+4
|
* Improve the messages/prints a bitAaron LI2018-03-101-3/+3
|
* cmd_cleanup(): Fix the use of get_vn_filename()Aaron LI2018-03-101-1/+2
|
* cleanup(): check the item length before test its existenceAaron LI2018-03-101-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 reportsAaron LI2018-03-101-23/+23
|
* install_system(): check file existence before stash/recover; use cpAaron LI2018-03-101-7/+11
| | | | | The important etc confg files (e.g., group, passwd) cannot be moved/renamed! Use "cp" instead of "mv"!
* Improve printing messagesAaron LI2018-03-101-6/+6
|
* Implement cleanup command to remove obsolete files, umount and delete imageAaron LI2018-03-101-0/+55
|
* Add upgrade commandAaron LI2018-03-101-1/+15
|
* Add upgrade_system() to upgrade the config filesAaron LI2018-03-101-0/+44
|
* Add install_system() function to install the kernel and worldAaron LI2018-03-101-0/+81
|
* Improve argument checks with better messagesAaron LI2018-03-101-25/+46
|
* Improve MD5 check on the downloaded imageAaron LI2018-03-101-6/+4
|
* Implement the backup command with backup_kernel() and backup_world()Aaron LI2018-03-101-0/+67
|
* Add umount_image() function with get_vn_devname() and get_vn_filename()Aaron LI2018-03-101-0/+33
|
* More function argument checksAaron LI2018-03-101-3/+7
|
* Implement the mount commandAaron LI2018-03-101-0/+44
|
* Add error code EC_FETCH for fetchAaron LI2018-03-101-2/+5
|
* Add argument counts check for functions with EC_ARGS exit codeAaron LI2018-03-101-4/+17
|
* Improve error() and check_os()Aaron LI2018-03-101-2/+4
|
* Implement command download: to download the new system imageAaron LI2018-03-101-1/+63
|
* Use is_master_branch(), and remove cmd_extension_or_status()Aaron LI2018-03-101-12/+4
|
* Add functions get_md5list_url() and get_image_url()Aaron LI2018-03-101-6/+22
|
* Add functions get_branch_filename() and is_master_branch()Aaron LI2018-03-101-0/+39
|
* Fix get_latest_image() to return _md5 correctlyAaron LI2018-03-101-2/+3
|
* Add DEBUG var, debug() and warn() functionsAaron LI2018-03-101-0/+10
|
* Update help and version commandsAaron LI2018-03-101-9/+5
|
* Update EC_* error codesAaron LI2018-03-101-3/+3
|
* Remove load_config() and simply source the config fileAaron LI2018-03-101-14/+1
|
* Update local vars and some minor fixesAaron LI2018-03-101-20/+17
|
* Update copyright and one-line descriptionAaron LI2018-03-101-7/+3
|
* Use IMG image instead of ISO format, due to hard linksAaron LI2018-02-031-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...