Skip to content

Commit

Permalink
Merge pull request #65 from NeroReflex/btrfs_scrub_default_disable
Browse files Browse the repository at this point in the history
Do not perform btrfs scrub by default
  • Loading branch information
NeroReflex authored Aug 13, 2024
2 parents d57b04c + da3a639 commit 2848793
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion __frzr-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ frzr_deploy() {
# verify the subvolume integrity
TASK_MSG="Checking integrity of deployed image"
send_data
if [ -z "$FRZR_SKIP_CHECK" ]; then
if [ ! -z "$FRZR_SCRUB" ]; then
if ! btrfs scrub start -Bdr "${SUBVOL}"; then
TASK_ERROR=1
TASK_ERROR_MSG="FS check on btrfs subvolume '$SUBVOL' failed: image integrity compromised"
Expand Down
1 change: 0 additions & 1 deletion test/test-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ if btrfs send $MOUNT_POINT/archlinux | xz -e -9 --memory=95% -T0 > $TARGET_FILEN
export SKIP_UEFI_CHECK="yes"
export MOUNT_PATH="/tmp/frzr_root"
export EFI_MOUNT_PATH="/tmp/frzr_root/efi"
export FRZR_SKIP_CHECK="yes"
export SYSTEMD_RELAX_ESP_CHECKS=1

# deploy archlinux
Expand Down
1 change: 0 additions & 1 deletion test/test-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export SHOW_UI="0"
export SKIP_UEFI_CHECK="yes"
export MOUNT_PATH="/tmp/frzr_root"
export EFI_MOUNT_PATH="/tmp/frzr_root/efi"
export FRZR_SKIP_CHECK="yes"
export SYSTEMD_RELAX_ESP_CHECKS=1

# deploy chimeraos-45-1_9a95912
Expand Down
1 change: 0 additions & 1 deletion test/test-removal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export SHOW_UI="0"
export SKIP_UEFI_CHECK="yes"
export MOUNT_PATH="/tmp/frzr_root"
export EFI_MOUNT_PATH="/tmp/frzr_root/efi"
export FRZR_SKIP_CHECK="yes"
export SYSTEMD_RELAX_ESP_CHECKS=1

# deploy chimeraos-43_6978095
Expand Down

0 comments on commit 2848793

Please sign in to comment.