Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions multios-usb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,10 @@ if [[ $updateOnly == yes ]]; then
mkdir -p "$data_stage"
build_data_stage "$data_stage" "no"

# Fully mirror everything EXCEPT config_priv and tools_priv
rsync -rlptD --no-owner --no-group --checksum --delete --exclude='config_priv' --exclude='tools_priv' "$data_stage"/ "${part_data}"/
# Fully mirror the MultiOS-USB directory EXCEPT config_priv and tools_priv. Only that
# directory is synced - ISOs and any other user files on the data partition are left alone
mkdir -p "${part_data}/ISOs"
rsync -rlptD --no-owner --no-group --checksum --delete --exclude='/config_priv' --exclude='/tools_priv' "$data_stage/MultiOS-USB"/ "${part_data}/MultiOS-USB"/

echo "Updating config_priv (existing user files are preserved, never deleted)..."
if [ -d "config_priv" ]; then
Expand Down