scripts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

- Adjust order of temp backup log to be fully saved after backup log process is over

- Address minor comments in CR in globals.sh

DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

-Fix log backup functionality in globals.sh

- Have backlog temp file to post.log function execute in run.sh

DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- Disabled the backupApplicationLogs call, due to reported some bugs [ DEN-17187 ].

DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- Added the same log file formatting for the update/manufacturing.

DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- removed the added same format for the update , manufacturing logs

- also added SystemSetup keyword to delete them later with lockdown.sh script.

Release 17 Code Review branch

cd ui.scripts

git checkout release/stagingmerge-DEN-17017-ui-bn-release-17

git diff HEAD staging > ../stagingmerge-DEN-17017-ui-bn-release-17.ui.script.patch

git apply ../stagingmerge-DEN-17017-ui-bn-release-17.ui.script.patch

CS-10: The Log upload to the cloud

- Removed the -x to disable the log long name to avoid the impact on verification protocol and timeline.

DEN-16951-UI-BN-QA2

- Adding quality2 to the list of valid environments to set.

DEN-16952: UI: The last log upload issue

- No time for graceful shutdown for now and implemented only the log review after the boot up.

CS-10: The Log upload to the cloud [Backward compatibility]

- Fix the order of config.json modification which cause overwriting of the config.json.

- Moved the dry-demo folder copy at the begining since that folder is does not always exist and if needed better to know it first.

- Fixed some of the setup console status messages alignment.

CS-10: The Log upload to the cloud [Backward compatibility]

- Fix the issue of creating the config.json from the environment when no WS is defined in update only mode, to use production as the default template.

CS-10: The Log upload to the cloud [Backward compatibility]

- Fixed the backward compatibility issue with the config.json files.

CS-10: The Log upload to the cloud

- Fixing the upgrade, update config reading location.

CS-10: The Log upload to the cloud

- remove the extra residue config files from the cloudsync folder after the config.json is set by the chosen environment.

DEN-16840: the settings.crc check error is not logged correctly

DENBUG-117: UI: SRSUI tested by Witekio not 100% passed

- SRSUI 1211: partial tested : RPC and rpcbind appears to be running.

- Disabled the other services which can restart the rpcbind server, when they need it.

DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration

- Removed the sudo group access revoke and kept the cloud sudo removal.

DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration

- removed the sudo group users from all access unless specified to have NO access unless specified.

- removed unknown admin and serviceuser groups

- removed the cloud user from sudoers

Note:

- We need to asses the serviceability of the device by removing the sudoers previledges.

- A solution command would be to add a specific user for service and add a section in the samve place with root access to enable the service user.

DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup

- fixed the typo when asking for the environment

DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup

- fixed a code typo which was asking the user for the manufacturing although the normal update was decided.

DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup

- Updated the help (-h) instruction.

- Fixed typo in code.

DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup

- Made the update-only mode the default which seems that is being used more often.

- Removed the -U for update and added -E for manufacturing setup.

DEN-16676: UI: Production / CS-12: Device registration environment option in manufacturing setup

- Added options for easier and more flexible setup

- Added -W to define the DRT type to automatically setup the CloudSync config file, instead of each build pre-setup for each DRT and registration environment

- Added -U to let user define the update only setup and bypass the DRT server information.

- Improved the output and user interaction.

DENBUG-117: UI: SRSUI tested by Witekio not 100% passed

- SRSUI 1211: partial tested : RPC and rpcbind appears to be running.

DENBUG-120: UI: Cloud user has Read permissions to WiFi configuration

- Give the denali user permission to remove the permission of the wpa_supplicant.conf for others.

- removing the read permission of the wpa_supplicant conf from others.

DENBUG-80 changed the command that deletes the contents of the log folder and service folder

DEN-16558 updated the lockdown.sh script to only remove the contents of the cloudsync

DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- removed the CloudSync execution sleep delays, since I reverted that back and it is runnig before UI again it won't need to wait for UI any more, and also the ps command aafter python execution is immediate.

DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- Fixed the execution order and the CS execution detection, in either of the setup mode and normal mode.

DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- put a delay i the CloudSync to wait for UI to prepare the encrypted partition, since during that delay CS won't response to the status command, the ps ax command used.

DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- changed the CloudSync and Application execution, because in new CS it is trying to get the config.json sooner and since it was running prior to Application execution, the encrypted partition is not ready yet.

Reverted back the USB_mount.sh script change back was made for Cybersecurity.