1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-03-01 18:17:43 +01:00
OpenVoiceOS/buildroot-external
Bohdan Buinich 080cfad2bf [RPI] Refactor Image Generation Script for Clarity and Modularization
- Reorganized variable definitions for clarity and consistency.
- Encapsulated SWU file creation logic into 'create_swu_file' function for better modularity and readability.
- Implemented 'cleanup' function to handle temporary file cleanup, enhancing script robustness.
- Utilized bash array for 'SWUPDATE_FILES' to improve handling of multiple file entries.
- Simplified error handling with 'set -e' and streamlined script exit using 'trap' for cleanup operations.
- Cleaned up directory changing commands by redirecting 'pushd' and 'popd' output to '/dev/null'.
2024-01-12 14:50:44 +02:00
..
2023-08-21 08:05:43 +00:00