Skip to content

Commit

Permalink
Make mke2fs reproducible again
Browse files Browse the repository at this point in the history
BUG: 375108325
Change-Id: Icb375bd6bfe02f5da9eb32bbe00bf4ff27d4e5e9
  • Loading branch information
conradgrobler committed Oct 24, 2024
1 parent c4f5210 commit bb7984b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion third_party/BUILD.e2fsprogs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ filegroup(

configure_make(
name = "mke2fs",
copts = [
# Replace the build root so that the sandbox directory doesn't leak
# into the binary.
"-ffile-prefix-map=$$EXT_BUILD_ROOT$$=",
],
lib_source = ":all_files",
out_bin_dir = "sbin",
out_binaries = ["mke2fs"],
out_include_dir = None,
configure_options = ["--with-crond-dir=no", "--disable-uuidd"],
configure_options = [
"--with-crond-dir=no",
"--disable-uuidd",
# Specify an empty prefix so that the build temp directory doesn't leak
# into the binary.
"--prefix="
],
targets = ["all-static"],
# There is no `make install` equivalent that installs (or strips) the static
# binaries, so we do it by hand.
Expand Down

0 comments on commit bb7984b

Please sign in to comment.