generate_config_files_sha.sh

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
UI-DEN-15918_UI VD S102 - Scripts - Post Settings Check- [ READY ]
UI-DEN-15918_UI VD S102 - Scripts - Post Settings Check- [ READY ]
DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

- Added the crc check to the crypt_setup and the errors wil be handled by the same script after mounting the encrypted partition.

  1. … 1 more file in changeset.
RESOLVED

RESOLVED

RESOLVED

RESOLVED

RESOLVED

RESOLVED

RESOLVED

RESOLVED

Done. Added all *.dflt as part of the filter

Done. Added all *.dflt as part of the filter

Done, I excluded the System.conf file specifically and added all *.dflt to the filter

Done, I excluded the System.conf file specifically and added all *.dflt to the filter

Added

Added

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Modified to not include System.conf and include *.dflt files

Add error handling and additional comments to clarify intent

This is for stripping the output file. The I am assuming that we are running this script on the build server, which may not give us the right path. This is why the script is also asking for the "de...

This is for stripping the output file. The I am assuming that we are running this script on the build server, which may not give us the right path. This is why the script is also asking for the "device path"

The output file looks like this:
<HASH> <current path of conf file in server>

not clear what this does. I think we should look for a FAILED keyword here.

not clear what this does.
I think we should look for a FAILED keyword here.

it will be /home/denali/.config/settings.crc

it will be /home/denali/.config/settings.crc

Please check Settings/Systems.dflt instead.

Please check Settings/Systems.dflt instead.

the Settings/Systems.conf cannot be checked for checksum, it is user preference and will change, therefore will fail the checksum.

the Settings/Systems.conf cannot be checked for checksum,
it is user preference and will change, therefore will fail the checksum.

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Remove the check script and move check to the globals.sh script

update the generate settings crc script to accomodate path differences

  1. … 2 more files in changeset.
DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Modify to handle the slash included in the path case

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Updated the generate script to replace the base path in the sha file

DEN-15487: Added - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Add scripts for generating and checking the SHA of settings conf files

    • -0
    • +45
    ./generate_config_files_sha.sh
  1. … 1 more file in changeset.
UI-DEN-15918_UI VD S102 - Scripts - Post Settings Check- [ READY ]
UI-DEN-15918_UI VD S102 - Scripts - Post Settings Check- [ READY ]