Skip to content

Commit

Permalink
[Antlir2][rhel8.8] Add rhel8.8 so that Antlir2 knows about it
Browse files Browse the repository at this point in the history
Summary: Need to tell Antlir2 about rhel 8.8 to build image.

Test Plan: {gif:n2n6090v}

Reviewed By: vmagro

Differential Revision: D51870189

fbshipit-source-id: 8b7a38975db9afd4789094cd9bd6efb0deadf067
  • Loading branch information
Yui Tak Lee authored and facebook-github-bot committed Feb 6, 2024
1 parent 2812bc6 commit 766763a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions antlir/antlir2/bzl/image/cfg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def attrs_selected_by_cfg():
antlir2_dep("//antlir/antlir2/os:eln"): _rou_flavor_sel("eln"),
antlir2_dep("//antlir/antlir2/os:none"): antlir2_dep("//antlir/antlir2/flavor:none"),
antlir2_dep("//antlir/antlir2/os:rhel8"): antlir2_dep("//antlir/antlir2/facebook/flavor/rhel8:rhel8"),
antlir2_dep("//antlir/antlir2/os:rhel8.8"): antlir2_dep("//antlir/antlir2/facebook/flavor/rhel8.8:rhel8.8"),
# TODO: in D49383768 this will be disallowed so that we can
# guarantee that we'll never end up building a layer without
# configuring the os
Expand Down
6 changes: 6 additions & 0 deletions antlir/antlir2/os/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ os_version(
family = "//antlir/antlir2/os/family:rhel",
package_manager = "//antlir/antlir2/os/package_manager:dnf",
)

os_version(
name = "rhel8.8",
family = "//antlir/antlir2/os/family:rhel",
package_manager = "//antlir/antlir2/os/package_manager:dnf",
)
1 change: 1 addition & 0 deletions antlir/antlir2/os/cfg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ _OS_REFS = {
"os.eln": antlir2_dep("//antlir/antlir2/os:eln"),
"os.none": antlir2_dep("//antlir/antlir2/os:none"),
"os.rhel8": antlir2_dep("//antlir/antlir2/os:rhel8"),
"os.rhel8.8": antlir2_dep("//antlir/antlir2/os:rhel8.8"),
"os_constraint": antlir2_dep("//antlir/antlir2/os:os"),
"os_family_constraint": antlir2_dep("//antlir/antlir2/os/family:family"),
}
Expand Down

0 comments on commit 766763a

Please sign in to comment.