update-linux 3.4.2__tar.gz → 3.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {update_linux-3.4.2 → update_linux-3.5.1}/PKG-INFO +7 -5
- {update_linux-3.4.2 → update_linux-3.5.1}/README.md +6 -4
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux/__init__.py +6 -3
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/PKG-INFO +7 -5
- {update_linux-3.4.2 → update_linux-3.5.1}/LICENSE +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/pyproject.toml +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/requirements.txt +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/setup.cfg +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux/__main__.py +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/SOURCES.txt +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/dependency_links.txt +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/entry_points.txt +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/requires.txt +0 -0
- {update_linux-3.4.2 → update_linux-3.5.1}/src/update_linux.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: update-linux
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.1
|
|
4
4
|
Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
|
|
5
5
|
Author-email: Barry Scott <barry@barrys-emacs.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -68,7 +68,9 @@ For an update the following steps are performed:
|
|
|
68
68
|
|
|
69
69
|
1. Check if a reboot is needed.
|
|
70
70
|
|
|
71
|
-
`dnf needs-restart
|
|
71
|
+
`dnf needs-restart --services --reboothint`
|
|
72
|
+
|
|
73
|
+
If a kernel-* or akmods-nvidia package is installed then reboot.
|
|
72
74
|
|
|
73
75
|
1. Reboot the host
|
|
74
76
|
|
|
@@ -99,12 +101,12 @@ With the `--check` options these steps are performed:
|
|
|
99
101
|
## update-linux system-upgrade process
|
|
100
102
|
|
|
101
103
|
```
|
|
102
|
-
$ update-linux --system-upgrade=
|
|
104
|
+
$ update-linux --system-upgrade=43 host
|
|
103
105
|
```
|
|
104
106
|
|
|
105
107
|
For a system-upgrade update-linux will update one release at a time.
|
|
106
108
|
|
|
107
|
-
This means that a host running Fedora
|
|
109
|
+
This means that a host running Fedora 41 that is being upgraded to Fedora 43 will first be upgraded to Fedora 42.
|
|
108
110
|
|
|
109
111
|
This is done as it is the safer then attempting skip over releases that can have required side-effects.
|
|
110
112
|
|
|
@@ -137,7 +139,7 @@ For a system-upgrade these steps are used:
|
|
|
137
139
|
```
|
|
138
140
|
Usage: update-linux <options> <group>|<host>|--self...
|
|
139
141
|
|
|
140
|
-
update-linux version 3.
|
|
142
|
+
update-linux version 3.5.0
|
|
141
143
|
|
|
142
144
|
Run one of the commands --check, --update, --system-upgrade
|
|
143
145
|
or --install-package on a group of hosts.
|
|
@@ -47,7 +47,9 @@ For an update the following steps are performed:
|
|
|
47
47
|
|
|
48
48
|
1. Check if a reboot is needed.
|
|
49
49
|
|
|
50
|
-
`dnf needs-restart
|
|
50
|
+
`dnf needs-restart --services --reboothint`
|
|
51
|
+
|
|
52
|
+
If a kernel-* or akmods-nvidia package is installed then reboot.
|
|
51
53
|
|
|
52
54
|
1. Reboot the host
|
|
53
55
|
|
|
@@ -78,12 +80,12 @@ With the `--check` options these steps are performed:
|
|
|
78
80
|
## update-linux system-upgrade process
|
|
79
81
|
|
|
80
82
|
```
|
|
81
|
-
$ update-linux --system-upgrade=
|
|
83
|
+
$ update-linux --system-upgrade=43 host
|
|
82
84
|
```
|
|
83
85
|
|
|
84
86
|
For a system-upgrade update-linux will update one release at a time.
|
|
85
87
|
|
|
86
|
-
This means that a host running Fedora
|
|
88
|
+
This means that a host running Fedora 41 that is being upgraded to Fedora 43 will first be upgraded to Fedora 42.
|
|
87
89
|
|
|
88
90
|
This is done as it is the safer then attempting skip over releases that can have required side-effects.
|
|
89
91
|
|
|
@@ -116,7 +118,7 @@ For a system-upgrade these steps are used:
|
|
|
116
118
|
```
|
|
117
119
|
Usage: update-linux <options> <group>|<host>|--self...
|
|
118
120
|
|
|
119
|
-
update-linux version 3.
|
|
121
|
+
update-linux version 3.5.0
|
|
120
122
|
|
|
121
123
|
Run one of the commands --check, --update, --system-upgrade
|
|
122
124
|
or --install-package on a group of hosts.
|
|
@@ -9,7 +9,7 @@ import tempfile
|
|
|
9
9
|
import json
|
|
10
10
|
from config_path import ConfigPath # type: ignore
|
|
11
11
|
|
|
12
|
-
VERSION = '3.
|
|
12
|
+
VERSION = '3.5.1'
|
|
13
13
|
|
|
14
14
|
default_json_config_template = u'''{
|
|
15
15
|
"group":
|
|
@@ -444,6 +444,7 @@ For help:
|
|
|
444
444
|
for line in stdout:
|
|
445
445
|
if line.startswith(
|
|
446
446
|
('Warning: '
|
|
447
|
+
,'** ' # assume this means lines that are advisory
|
|
447
448
|
,'Offending key for '
|
|
448
449
|
,'Matching host key in '
|
|
449
450
|
,'The system will now reboot')):
|
|
@@ -639,13 +640,15 @@ class UpdatePluginFedora:
|
|
|
639
640
|
reboot_kernel_info_done = False
|
|
640
641
|
|
|
641
642
|
for line in stdout:
|
|
642
|
-
if line.startswith( 'Installed: kernel-' ) and not reboot_kernel_info_done:
|
|
643
|
+
if (line.startswith( 'Installed: kernel-' ) or 'Installing kernel-' in line) and not reboot_kernel_info_done:
|
|
643
644
|
self.app.info( host, 'Reboot required to install new kernel' )
|
|
644
645
|
reboot_required = True
|
|
645
646
|
reboot_kernel_info_done = True
|
|
646
647
|
|
|
647
648
|
elif( line.startswith( 'Installed: akmod-nvidia' )
|
|
648
|
-
or
|
|
649
|
+
or 'Installing akmod-nvidia' in line
|
|
650
|
+
or line.startswith( 'Upgraded: akmod-nvidia' )
|
|
651
|
+
or 'Upgrading akmod-nvidia' in line ):
|
|
649
652
|
self.app.info( host, 'Reboot required to install new akmod-nvidia' )
|
|
650
653
|
reboot_required = True
|
|
651
654
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: update-linux
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.1
|
|
4
4
|
Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
|
|
5
5
|
Author-email: Barry Scott <barry@barrys-emacs.org>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -68,7 +68,9 @@ For an update the following steps are performed:
|
|
|
68
68
|
|
|
69
69
|
1. Check if a reboot is needed.
|
|
70
70
|
|
|
71
|
-
`dnf needs-restart
|
|
71
|
+
`dnf needs-restart --services --reboothint`
|
|
72
|
+
|
|
73
|
+
If a kernel-* or akmods-nvidia package is installed then reboot.
|
|
72
74
|
|
|
73
75
|
1. Reboot the host
|
|
74
76
|
|
|
@@ -99,12 +101,12 @@ With the `--check` options these steps are performed:
|
|
|
99
101
|
## update-linux system-upgrade process
|
|
100
102
|
|
|
101
103
|
```
|
|
102
|
-
$ update-linux --system-upgrade=
|
|
104
|
+
$ update-linux --system-upgrade=43 host
|
|
103
105
|
```
|
|
104
106
|
|
|
105
107
|
For a system-upgrade update-linux will update one release at a time.
|
|
106
108
|
|
|
107
|
-
This means that a host running Fedora
|
|
109
|
+
This means that a host running Fedora 41 that is being upgraded to Fedora 43 will first be upgraded to Fedora 42.
|
|
108
110
|
|
|
109
111
|
This is done as it is the safer then attempting skip over releases that can have required side-effects.
|
|
110
112
|
|
|
@@ -137,7 +139,7 @@ For a system-upgrade these steps are used:
|
|
|
137
139
|
```
|
|
138
140
|
Usage: update-linux <options> <group>|<host>|--self...
|
|
139
141
|
|
|
140
|
-
update-linux version 3.
|
|
142
|
+
update-linux version 3.5.0
|
|
141
143
|
|
|
142
144
|
Run one of the commands --check, --update, --system-upgrade
|
|
143
145
|
or --install-package on a group of hosts.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|