Skip to content

Commit

Permalink
Merge pull request #3354 from bcressey/mask-repart
Browse files Browse the repository at this point in the history
mask repart services via symlink
  • Loading branch information
bcressey authored Aug 22, 2023
2 parents 5f8d0c1 + 1baaa0e commit c5b8341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/release/prepare-local-fs.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ ExecStart=/usr/lib/systemd/systemd-makefs ${DATA_PARTITION_FILESYSTEM} /dev/disk
# Stop and mask the repart-data-* oneshots in case they're waiting on non-existent data partitions.
# 'BOTTLEROCKET-DATA' already exists so we can move on.
ExecStart=/usr/bin/systemctl stop repart-data-preferred repart-data-fallback --no-block
ExecStart=/usr/bin/systemctl mask repart-data-preferred repart-data-fallback --no-block
ExecStart=/usr/bin/ln -s /dev/null /etc/systemd/system/repart-data-preferred.service
ExecStart=/usr/bin/ln -s /dev/null /etc/systemd/system/repart-data-fallback.service

RemainAfterExit=true
StandardError=journal+console
Expand Down

0 comments on commit c5b8341

Please sign in to comment.