Skip to content

Commit

Permalink
[antlir2][build_appliance] add btrfs-progs
Browse files Browse the repository at this point in the history
Summary:
Install `btrfs-progs` into the build appliance for btrfs loopback packaging
purposes.

This gives us the upstream `mkfs.btrfs`/`btrfstune` in OSS builds, and the fbsource
copy (which is more up to date than the release in C9 at the time of this diff).

Test Plan: Next diff

Reviewed By: naveedgol

Differential Revision: D69810767

fbshipit-source-id: 7ea2372b7f258bab04125c29d1e03167be83271c
  • Loading branch information
vmagro authored and facebook-github-bot committed Feb 19, 2025
1 parent 2b0adc9 commit 5771159
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions antlir/antlir2/antlir2_packager/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,23 @@ feature.new(
"erofs-utils",
]),
}),
internal_external(
fb = [
feature.install(
src = "fbsource//third-party/btrfs-progs:btrfs",
dst = "/usr/local/bin/btrfs",
),
feature.install(
src = "fbsource//third-party/btrfs-progs:btrfstune",
dst = "/usr/local/bin/btrfstune",
),
feature.install(
src = "fbsource//third-party/btrfs-progs:mkfs.btrfs",
dst = "/usr/local/bin/mkfs.btrfs",
),
],
oss = feature.rpms_install(rpms = ["btrfs-progs"]),
),
],
visibility = ["//antlir/antlir2/build_appliance/..."],
)

0 comments on commit 5771159

Please sign in to comment.