Commit Graph

77 Commits

Author SHA1 Message Date
KevinDuan c9647c003b Import Upstream version 2.0.5.15 2022-11-03 19:10:26 +08:00
KevinDuan 04db1d1019 Clear 2022-11-03 19:08:35 +08:00
shenyafeng 5efe754700 remove backup in kylin-unattended-upgrade 2022-10-24 17:07:45 +08:00
shenyafeng 6a98ca7378 if os.path.exists(UNATTENDED_UPGRADE_POLICY_FILE_PATH) 2022-10-21 19:56:38 +08:00
shenyafeng 12a98bdd85 modify get allowed origins 2022-10-21 19:20:24 +08:00
shenyafeng 72d7430d6b add unattendedoriginfilter 2022-10-21 17:23:57 +08:00
shenyafeng 60b501dd9b adjust log 2022-10-21 17:08:20 +08:00
shenyafeng 8a56efcee7 remove autoupdate_allow check at start of kylin-unattended-upgrade 2022-10-21 15:57:48 +08:00
shenyafeng ded60c184c get predownload time from unattended-upgrades-policy.conf 2022-10-21 15:56:08 +08:00
shenyafeng bda64a80f5 update upgrade all function 2022-10-21 14:43:41 +08:00
shenyafeng 594d05bfe8 add backgroundscheduler init function 2022-10-21 14:07:51 +08:00
shenyafeng 1c940402db add backgroundscheduler 2022-10-21 11:38:14 +08:00
shenyafeng e4d55a916b remove os.nice(old_priority - os.nice(0)) 2022-10-21 10:48:17 +08:00
shenyafeng 932079bffd add timezone=Asia/Shanhai in BlockingScheduler 2022-10-20 09:50:45 +08:00
shenyafeng d7fede3aa7 remove nice adjust before upgrade calculation 2022-10-13 16:25:20 +08:00
shenyafeng f7a500ca7d reload os-relase after each update 2022-10-12 20:00:14 +08:00
shenyafeng 2ca3632b67 upload upgrade result only once per run 2022-08-24 16:21:09 +08:00
shenyafeng 840ea1af6b add battery capacity check before each installation 2022-08-18 16:59:10 +08:00
shenyafeng 77969fdaa4 remove Unlocked() before cache.commit 2022-08-18 16:58:29 +08:00
shenyafeng 86af2d5c58 add inhibitshutdownlock 2022-08-17 16:27:14 +08:00
shenyafeng 950c64b8f4 add pkgsystemlock 2022-08-17 16:19:36 +08:00
shenyafeng fcbec61f10 emit fix finish signal after each dpkg fix 2022-08-11 14:06:51 +08:00
shenyafeng b97e223427 release dpkg lock before each cache commit 2022-08-08 17:51:49 +08:00
shenyafeng 9a6c2a43ab change unattended upgrade in histroy log to Chinese 2022-08-03 18:08:42 +08:00
shenyafeng 24afa7a094 fix json load problems 2022-08-03 17:00:51 +08:00
shenyafeng 37eb37ebdd add InsertUpgradeHistory 2022-08-02 16:16:54 +08:00
shenyafeng 4d68d46ecc change data collect interface 2022-07-27 15:34:09 +08:00
shenyafeng 6f02044323 fix config reload function 2022-07-19 14:39:05 +08:00
shenyafeng 9ef9ced280 reinstall pkgs when last install faild(mavis) 2022-07-12 15:25:48 +08:00
shenyafeng 012df34124 use chmod -R 777 to ota_result file path 2022-06-21 17:08:30 +08:00
shenyafeng a0bf5a6f1c chmod 777 /opt/apt_result 2022-06-21 14:33:47 +08:00
shenyafeng c86a8c8e30 check timer job pending before remove ;remove logging when removing timer jobs 2022-06-16 17:20:27 +08:00
shenyafeng 5046a656e9 remove predownload func;get config value from section AutoUpgradeConfig 2022-06-16 16:06:14 +08:00
shenyafeng 456755370a add progress log 2022-06-14 09:51:12 +08:00
shenyafeng a50005490b add upgrade randomize time range in system-update.conf 2022-06-13 14:46:39 +08:00
shenyafeng efce75065a change whitelist logging 2022-06-10 14:50:41 +08:00
shenyafeng 1a2fa03e3d add exception catch before removing the timer task 2022-06-10 14:17:20 +08:00
shenyafeng d8b8cdd034 add dpkg confold in uu-shutdown 2022-06-09 11:38:36 +08:00
shenyafeng b31fa7cb0d add timestamp check before each update;move fix at beginning of uu-shutdown 2022-05-31 18:10:15 +08:00
shenyafeng 91c47f2bbb add dpkg fix before each downlaod/install for mavis 2022-05-24 17:48:58 +08:00
shenyafeng 290194bba4 add dpkg fix before each run;add startup 5min download in mavis project 2022-05-17 17:08:12 +08:00
shenyafeng 57a730e8d5 change version number after each total install 2022-05-10 18:27:01 +08:00
wangsong 23298e9f51 Merge branch 'uu_test' into 'backend_uu'
添加版本号更新功能

See merge request kylin-desktop/update-manager-group/kylin-system-updater!423
2022-05-10 07:01:22 +00:00
shenyafeng 13b0cc0184 add start-up download;fix download pop-up;add release id and version update 2022-05-10 14:37:06 +08:00
wangsong 5ccc003725 Merge branch 'backend_manual' into 'backend_uu'
Backend manual

See merge request kylin-desktop/update-manager-group/kylin-system-updater!421
2022-05-09 02:15:23 +00:00
Xueyi Luo 7e36680ab8 去除uu关机延时,开启动态配置 2022-05-06 16:45:29 +08:00
shenyafeng b0cd678b0f remove timming install job in mavis 2022-04-19 17:31:54 +08:00
shenyafeng cc562bef92 remove redundancy in kylin-unattended-upgrade 2022-04-18 17:04:36 +08:00
shenyafeng 93ed771083 sanity check will adjust by version 2022-04-15 17:46:48 +08:00
shenyafeng 5159ca81a1 start after kylin system updater 2022-04-14 14:45:12 +08:00