History log of /openbmc/phosphor-debug-collector/tools/dreport.d/include.d/functions (Results 1 – 8 of 8)
Revision Date Author Comments
# 3598158b 12-Jan-2023 Alexander Filippov <a.filippov@yadro.com>

dreport: remove unnecessary filed parts

Generating a content of a report bundle may fail, but leave incomplete
parts that increase the bundle size over the allowed limit.

For example: On the BMC wi

dreport: remove unnecessary filed parts

Generating a content of a report bundle may fail, but leave incomplete
parts that increase the bundle size over the allowed limit.

For example: On the BMC with very big uptime `journal-pretty.log` may
overflow `/tmp` and lead to the bundle creation that even compressed is
longer than `RWFS`.

This prevents including such parts into the resulting bundle.

Change-Id: I24b29eaaac730c39735da7a032400e95f0710ff5
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>

show more ...


# 9d26e4fa 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patric

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I38048dcd55f2db51bcc87b33ea0748a6cfdcca68

show more ...


# 4d9b3a75 17-Feb-2022 Jayanth Othayoth <ojayanth@in.ibm.com>

dreport: fix symlinks copy

Added -L option during directory copy to always
follow symbolic links in SOURCE.

Tested: Verified using dreport.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Ch

dreport: fix symlinks copy

Added -L option during directory copy to always
follow symbolic links in SOURCE.

Tested: Verified using dreport.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I65312424591ab4c29ef89df403dbdf999b3b6fa7

show more ...


# a96d0b28 17-Feb-2022 Jayanth Othayoth <ojayanth@in.ibm.com>

dreport: fix missing log messages related to skipping copy

Existing add_copy_file function not logging "skipping copy"
warning message incase dump size is reached to max size.

This message logging

dreport: fix missing log messages related to skipping copy

Existing add_copy_file function not logging "skipping copy"
warning message incase dump size is reached to max size.

This message logging problem is fixed by call log function
prior to return call.

Tested: verified using dreport tool

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I98ebe43e455e9b4cb93a102b7eb27e2a0f677309

show more ...


# fdc0c3a1 14-Sep-2020 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Fix shellcheck errors in dreport

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I64e9de12b9e8c71fc501936a39926388729fb370


# 5ba7176c 06-Jun-2019 Marri Devender Rao <devenrao@in.ibm.com>

Fix dreport os-release script point to a symbolic link

The os-release file in the dump points to a symbolic link
rather than the actual release details.

As "cp -r" command is us

Fix dreport os-release script point to a symbolic link

The os-release file in the dump points to a symbolic link
rather than the actual release details.

As "cp -r" command is used to copy the contents of a symbolic
link file, it copies the link rather than the actual file.

Modified to use cp command to copy the contents of the file

Tested:
before fix
root@witherspoon:/tmp# mkdir test1
root@witherspoon:/tmp# cp -r /etc/os-release test1/
root@witherspoon:/tmp# ls -la test1/
drwxr-xr-x 2 root root 60 Jun 6 12:27 .
drwxrwxrwt 13 root root 320 Jun 6 12:26 ..
lrwxrwxrwx 1 root root 21 Jun 6 12:27 os-release -> ../usr/lib/os-release

after fix
root@witherspoon:/tmp# mkdir test2
root@witherspoon:/tmp# cp /etc/os-release test2/
root@witherspoon:/tmp# ls -la test2/
-rw-r--r-- 1 root root 295 Jun 6 12:27 os-release

Change-Id: I6980ffa40b925fb02be0bf53704d17ebc7995af0
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...


# b223b667 08-Apr-2018 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: I192b40fcab98b64e39b3100d41ea025ca280d842
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# 9d817ba6 15-Oct-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

Initial version of the dreport common functions

Moved the common functions used by dreport and plugins into
new file.

Change-Id: Ia88fdae4dddc4ef61e3864437e2972807749502a
Si

Initial version of the dreport common functions

Moved the common functions used by dreport and plugins into
new file.

Change-Id: Ia88fdae4dddc4ef61e3864437e2972807749502a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...