forked from obel1x/fedora-OEMDRV
9264ca8e92
- Move setup_system.conf.dist to system_setup/config.dist/ and skel.tar.zst.dist + pack_skel.sh to system_setup/skel/; config/ now holds only gitignored local files - Fix configure.sh CONF_DIST path (was pointing at non-existent config/setup_system.conf.dist) - Fix skel/pack_skel.sh: remove vestigial source line whose path was wrong in both old and new location - Update error messages in setup_system.inc.sh and sync_client_software.sh to reference new dist file location - Move machine_uuid reading/writing into setup_system.inc.sh so all scripts have MACHINEID available; setup_system.conf.dist now uses MACHINEID conditionally with a hostname fallback - sync_client_software.sh: fix && / typo (should be && \) that broke the flatpak remote-add → install chain; add network error handling after flatpak install; cleanup upgrade logic and chown placement - Update CLAUDE.md and install.md to reflect new dist file locations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
775 B
Bash
Executable File
24 lines
775 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# Usage: will make a tar-file from folder skel found in the directory where executed
|
|
# If you want to change skel- content, extrakt your skel.tar.zstd to this directory, edit the files and use this script to repack
|
|
mv skel.tar.zst backup_skel.tar.zst
|
|
if [ $? -eq 0 ]; then
|
|
echo "Old Archive renamed to backup_skel.tar.zst"
|
|
else
|
|
echo "Some Errors occured, cannot continue."
|
|
exit 1
|
|
fi
|
|
tar -I 'zstd -9' -cf skel.tar.zst skel
|
|
if [ $? -eq 0 ]; then
|
|
echo "Archive skel.tar.zst has been created"
|
|
echo "You should now remove skel- Folder here"
|
|
else
|
|
echo "Some Errors occured, quit"
|
|
exit 1
|
|
fi
|
|
rm backup_skel.tar.zst
|
|
echo "Old Archive deleted"
|
|
# TODO
|
|
# - up file to NC - is only possible, when setup already has the webdav-token created
|
|
#
|