Skip to content

Commit 15a8b12

Browse files
authored
Apply bugfix source help (#46)
* Update help strings * Update with correct source helpstring, and examples * Update changelog
1 parent 1fe8670 commit 15a8b12

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
The v1 release supports Cisco IOS-XR release versions 7.7.1 and above.
77

8+
### v1.1.20 (2025-05-09)
9+
10+
- Updated help for apply-bugfixes
11+
812
### v1.1.19 (2025-04-22)
913

1014
- Added Dockerfile.host-check to the release tarball

scripts/apply-bugfixes

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,21 @@ Create a new XRd image with bugfixes installed on top of a base image.
2828
2929
Required arguments:
3030
IMAGE Loaded container image to install bugfixes on top of
31-
SOURCE Bugfix source to install from
31+
SOURCE Path to source to install packages from - a directory
32+
or tarball containing the rpm(s) to install.
3233
3334
Optional arguments:
34-
--new-packages Install new packages if included in the bugfix source
35-
... Args passed through to 'docker build'
35+
--new-packages Install new packages if included in the bugfix source. By
36+
default, only packages that are already installed in the
37+
base image will be updated, so this should be passed if
38+
any new packages are present in SOURCE.
39+
... Additional args passed through to 'docker build' (such as
40+
--tag).
41+
42+
Example invocations:
43+
$(basename "$0") ios-xr/xrd-vrouter:25.1.1 /path/to/bugfixes.tar.gz --tag bugfix
44+
$(basename "$0") ios-xr/xrd-vrouter:25.1.1 /path/to/rpm-dir/ --tag bugfix
45+
3646
"
3747
}
3848

0 commit comments

Comments
 (0)