From 474a3bd025aaed1247245deef87aa8841b148bb6 Mon Sep 17 00:00:00 2001 From: Serge Dubrouski Date: Mon, 23 Oct 2023 09:04:26 -0700 Subject: [PATCH] [antlir] Label btrfsutil and subvol_utils with uses_sudo Summary: Labeling these libraries with `uses_sudo` allows running their tests with sudo in SC as a part of the new Citadel TD Test Plan: waitforsandcastle Reviewed By: justintrudell Differential Revision: D50384012 fbshipit-source-id: ca65f1bf4ec33ebc744ffc8daa8bccbc967f05f1 --- antlir/BUCK | 2 ++ 1 file changed, 2 insertions(+) diff --git a/antlir/BUCK b/antlir/BUCK index 8eca86cc8d..7dc83941aa 100644 --- a/antlir/BUCK +++ b/antlir/BUCK @@ -235,6 +235,7 @@ python_library( srcs = [ "btrfsutil.py", ], + labels = ["uses_sudo"], resources = { ":btrfsutil-bin": "btrfsutil-bin", }, @@ -287,6 +288,7 @@ antlir_rust_extension( python_library( name = "subvol_utils", srcs = ["subvol_utils.py"], + labels = ["uses_sudo"], deps = [ ":artifacts_dir", ":btrfsutil",