Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not perform btrfs scrub by default #65

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion __frzr-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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 @@ -79,7 +79,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 @@ -36,7 +36,6 @@ bash /workdir/frzr bootstrap
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 @@ -36,7 +36,6 @@ bash /workdir/frzr bootstrap
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
Loading