Skip to content

packages: util-linux 2.41.4, e2fsprogs 1.47.4, flashrom 1.7.0 (require the new toolchain)#1131

Draft
bhouse-nexthop wants to merge 3 commits into
opencomputeproject:onie-modernization-2026from
bhouse-nexthop:bhouse.packages-newtoolchain
Draft

packages: util-linux 2.41.4, e2fsprogs 1.47.4, flashrom 1.7.0 (require the new toolchain)#1131
bhouse-nexthop wants to merge 3 commits into
opencomputeproject:onie-modernization-2026from
bhouse-nexthop:bhouse.packages-newtoolchain

Conversation

@bhouse-nexthop

@bhouse-nexthop bhouse-nexthop commented Jul 9, 2026

Copy link
Copy Markdown

⚠️ Draft — stacked PR. Kept as a draft to signal it is stacked on #1129. It will be marked ready for review once #1129 merge(s) into onie-modernization-2026 (and I rebase so this PR's diff narrows to only its own commits).

Targets onie-modernization-2026. Stacked on the toolchain PR #1129 — these three packages require the new toolchain but not the 6.18 kernel, so this stacks on #1129 (toolchain) rather than #1130 (kernel).

Depends on (merge first): #1129 (and transitively its deps #1125/#1126/#1127/#1128). Until #1129 merges into onie-modernization-2026, this PR's diff also shows #1129's commits; I'll rebase once it lands so the diff narrows to just the three package commits below.

Why the new toolchain is required

Not the kernel

None of these touch the kernel; they build identically against kernel 5.4 (#1129) or 6.18 (#1130). Stacking on #1129 keeps this independent of the kernel bump.

Commits

  • packages: bump util-linux to 2.41.4 and e2fsprogs to 1.47.4
  • packages: bump flashrom to 1.7.0 (Makefile -> meson build)

Testing

Validated in the prior stack (local cross-build + CI). This PR's CI re-proves it on top of #1129.

@bhouse-nexthop bhouse-nexthop force-pushed the bhouse.packages-newtoolchain branch from d895821 to f7c0adf Compare July 9, 2026 19:29
@bhouse-nexthop bhouse-nexthop marked this pull request as draft July 9, 2026 19:46
@bhouse-nexthop bhouse-nexthop force-pushed the bhouse.packages-newtoolchain branch from f7c0adf to 578eef0 Compare July 9, 2026 22:23
bhouse-nexthop added a commit to bhouse-nexthop/onie that referenced this pull request Jul 9, 2026
…, flashrom 1.7.0)

Squashed content of PR opencomputeproject#1131 (delta over opencomputeproject#1129), pulled in as a dependency.

Signed-off-by: Brad House <bhouse@nexthop.ai>
@bhouse-nexthop bhouse-nexthop force-pushed the bhouse.packages-newtoolchain branch from 578eef0 to 244911a Compare July 10, 2026 01:28
bhouse-nexthop added a commit to bhouse-nexthop/onie that referenced this pull request Jul 10, 2026
…, flashrom 1.7.0)

Squashed content of PR opencomputeproject#1131 (delta over opencomputeproject#1129), pulled in as a dependency.

Signed-off-by: Brad House <bhouse@nexthop.ai>
bhouse-nexthop added a commit to bhouse-nexthop/onie that referenced this pull request Jul 10, 2026
…, flashrom 1.7.0)

Squashed content of PR opencomputeproject#1131 (delta over opencomputeproject#1129), pulled in as a dependency.

Signed-off-by: Brad House <bhouse@nexthop.ai>
bhouse-nexthop added a commit to bhouse-nexthop/onie that referenced this pull request Jul 13, 2026
…, flashrom 1.7.0)

Squashed content of PR opencomputeproject#1131 (delta over opencomputeproject#1129), pulled in as a dependency.

Signed-off-by: Brad House <bhouse@nexthop.ai>
Squashed baseline of PR opencomputeproject#1129, on which this PR is stacked. Drops out once PR opencomputeproject#1129 merges into onie-modernization-2026.

Signed-off-by: Brad House <bhouse@nexthop.ai>
util-linux 2.37.2 -> 2.41.4 and e2fsprogs 1.46.3 -> 1.47.4, bumped
together because e2fsprogs links against util-linux's libblkid/libuuid.

These were deferred from the package sweep: under the old uClibc-ng 1.0.38
toolchain, e2fsprogs' configure libblkid link-test (AC_CHECK_LIB(blkid,
blkid_get_cache)) failed because util-linux 2.41's libblkid referenced a
libc symbol not present in 1.0.38.  uClibc-ng 1.0.54 (the current
toolchain) provides it, so the link-test passes and both build cleanly.

Also fix the util-linux kernel.org fallback URL to use the major-version
directory (v$(UTILLINUX_MAJOR_VERSION)/, e.g. v2.41/) instead of the full
version; the old form pointed at a directory that never existed and only
worked because the ONIE mirror happened to carry the old tarball.

Signed-off-by: Brad House <bhouse@nexthop.ai>
flashrom dropped its Makefile build after 0.9.x and now builds with meson/ninja. Rewrite flashrom.make to generate a meson cross file for the ONIE toolchain and build with meson+ninja. Select only the programmers ONIE needs -- 'internal' (on-board chipset flashing) and 'nicintel_eeprom' (Intel NIC EEPROM / MAC programming) -- both libpci-only, so no extra USB/FTDI/serial dependencies. Add meson and ninja-build to the build environment.

Signed-off-by: Brad House <bhouse@nexthop.ai>
@bhouse-nexthop bhouse-nexthop force-pushed the bhouse.packages-newtoolchain branch from 244911a to a45f3f4 Compare July 13, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant