File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,12 @@ touch -d "2 months ago" /tmp/fluentd-lock-*
3131sudo systemd-tmpfiles --clean
3232ls -d /tmp/fluent
3333ls -d /tmp/fluentd-lock-*
34+
35+ # The update should succeed even if the working directory does not exist
36+ # https://github.com/fluent/fluent-package-builder/pull/955
37+ systemctl stop fluentd
38+ rm -rf /tmp/fluent/
39+
40+ # Install next major version
41+ sudo apt install -V -y \
42+ /host/v7-test/${distribution} /pool/${code_name} /${channel} /* /* /fluent-package_* _${architecture} .deb 2>&1 | tee upgrade.log
Original file line number Diff line number Diff line change @@ -32,3 +32,12 @@ touch -d "2 months ago" /tmp/fluentd-lock-*
3232sudo systemd-tmpfiles --clean
3333ls -d /tmp/fluent
3434ls -d /tmp/fluentd-lock-*
35+
36+ # The update should succeed even if the working directory does not exist
37+ # https://github.com/fluent/fluent-package-builder/pull/955
38+ systemctl stop fluentd
39+ rm -rf /tmp/fluent/
40+
41+ # Install next major version
42+ package=" /host/v7-test/${distribution} /${DISTRIBUTION_VERSION} /x86_64/Packages/fluent-package-*.rpm"
43+ sudo $DNF install -y $package
You can’t perform that action at this time.
0 commit comments