Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ Redistributors must keep LICENSE, THIRD_PARTY_LICENSES.md and SOURCE-OFFER.md
with the image. Binary BusyBox is distributed together with its complete
corresponding source in the `v1.2.1-source` GitHub Release assets; the Linux
kernel binary is accompanied by its source through the written offer in
SOURCE-OFFER.md. No recipient needs to obtain those sources separately.
SOURCE-OFFER.md; the GPL-3.0 `mkfs.fat` binary is accompanied by the Ubuntu
dosfstools source in the same release. No recipient needs to obtain those
sources separately.
16 changes: 16 additions & 0 deletions SOURCE-OFFER.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,22 @@ BusyBox is included alongside the tarball:

- <https://github.com/Iky969/sane-linux/releases/download/v1.2.1-source/build-rootfs-1.36.1.sh?download=1>

## GPL-3.0 components and Installation Information

The `mkfs.fat` binary in `packages/disk-tools/x/usr/sbin/mkfs.fat` is
dosfstools 4.2, built by `GCC: (Ubuntu 15.2.0-16ubuntu1) 15.2.0` (Ubuntu
Resolute 26.04). Its complete corresponding source is published as:

- Asset: <https://github.com/Iky969/sane-linux/releases/download/v1.2.1-source/dosfstools-ubuntu-4.2-1.2build1-source.tar.gz?download=1>
- Asset SHA-256: `482fc49a6655b268c2b2cd56976e9422d86a2d50fb60bee6130297f08c560bc7`
- Binary SHA-256: `3bded05c428857023571416308f0ecf0fce2f9d44f0e5b7ec3b371c1350f45a4`

No GCC or glibc binary from the clawrza toolchain recipes is distributed in
S.A.N.E release images; those paths ship recipes only. S.A.N.E also does not
ship a signed bootloader or any key that prevents a recipient from installing a
modified version of a GPL-3.0 component. If that changes, the required
Installation Information will be published alongside the image.

## Contact

Requests for the source, questions about this offer, or requests for a physical
Expand Down
6 changes: 4 additions & 2 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ and the written GPL source offer is in [`SOURCE-OFFER.md`](SOURCE-OFFER.md).
| doas (OpenDoas) | 6.8.2 | ISC | <https://github.com/Duncaen/OpenDoas/releases/download/v6.8.2/opendoas-6.8.2.tar.gz> |
| Limine bootloader (BIOS/UEFI payloads) | 12.9.6 | BSD-2-Clause | <https://github.com/Limine-Bootloader/Limine/releases/download/v12.9.6/limine-binary.tar.xz> (license in upstream `COPYING`) |
| ca-certificates bundle | 2024.11 (S.A.N.E package; upstream bundle varies by build host, e.g. `20250419+deb13u1`) | Individual CA terms; Debian `ca-certificates` packaging GPL-2.0+ | <https://salsa.debian.org/debian/ca-certificates> |
| disk-tools (`sgdisk`, `mke2fs`, `mkfs.fat`) | 1.0.0 (S.A.N.E package; upstream tool versions vary by build host) | GPL-2.0 (gptfdisk, e2fsprogs), GPL-3.0 (dosfstools) | <https://sourceforge.net/projects/gptfdisk/>, <https://e2fsprogs.sourceforge.net/>, <https://github.com/dosfstools/dosfstools> |
| disk-tools (`sgdisk`, `mke2fs`, `mkfs.fat`) | 1.0.0 (S.A.N.E package; `mkfs.fat` 4.2 from Ubuntu `4.2-1.2build1`) | GPL-2.0 (gptfdisk, e2fsprogs), GPL-3.0 (dosfstools) | dosfstools source in [v1.2.1-source](https://github.com/Iky969/sane-linux/releases/tag/v1.2.1-source) as `dosfstools-ubuntu-4.2-1.2build1-source.tar.gz`; upstream gptfdisk <https://sourceforge.net/projects/gptfdisk/>, e2fsprogs <https://e2fsprogs.sourceforge.net/>, dosfstools <https://github.com/dosfstools/dosfstools> |

## Source availability

Expand All @@ -29,7 +29,9 @@ the Ubuntu `1:1.37.0-7ubuntu1` package binary is covered by
variant is covered by `busybox-1.36.1.tar.bz2` plus
`build-rootfs-1.36.1.sh`. The Linux kernel binary is accompanied by its source
through the written offer in [`SOURCE-OFFER.md`](SOURCE-OFFER.md) and the
`linux-6.6.134-sane-source.tar.gz` asset in the same release.
`linux-6.6.134-sane-source.tar.gz` asset in the same release. The GPL-3.0
`mkfs.fat` binary is accompanied by the Ubuntu `dosfstools 4.2-1.2build1`
source in `dosfstools-ubuntu-4.2-1.2build1-source.tar.gz`.

Redistributors do not need to obtain these sources separately; they are already
published with the release.
Expand Down
34 changes: 34 additions & 0 deletions packages/disk-tools/PROVENANCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
disk-tools provenance

The `mkfs.fat` / `mkfs.vfat` binaries in this package come from Ubuntu's
dosfstools build, not from a locally modified source tree.

- Binary: `packages/disk-tools/x/usr/sbin/mkfs.fat`
- SHA-256: `3bded05c428857023571416308f0ecf0fce2f9d44f0e5b7ec3b371c1350f45a4`
- Reported version: `mkfs.fat 4.2 (2021-01-31)`
- Compiler string: `GCC: (Ubuntu 15.2.0-16ubuntu1) 15.2.0`
- Inferred build series: Ubuntu Resolute (26.04)
- Matching source package: `dosfstools 4.2-1.2build1`
Comment thread
Iky969 marked this conversation as resolved.
Resolved
- Source page: <https://packages.ubuntu.com/resolute/source/dosfstools>
- Mirror used when the primary archive was unreachable:
<https://mirror.math.princeton.edu/pub/ubuntu/pool/main/d/dosfstools/>

Complete corresponding source, including the upstream tarball, Debian/Ubuntu
patches, and DSC, is published as:

- <https://github.com/Iky969/sane-linux/releases/download/v1.2.1-source/dosfstools-ubuntu-4.2-1.2build1-source.tar.gz?download=1>
- Source bundle SHA-256: `482fc49a6655b268c2b2cd56976e9422d86a2d50fb60bee6130297f08c560bc7`

## How the binary was obtained

The binary was committed directly in commit `0dbc358` ("feat(pkg): package
format specification, deterministic builder & base distro recipes"), copied
from the Ubuntu Resolute build host's `/usr/sbin/mkfs.fat` at that time. There
is no fetch/build step for it in this repository: `packages/disk-tools/build.sh`
only verifies that the pre-committed file exists, is an ELF, and has no
`PT_INTERP`. To reproduce the binary, install `dosfstools 4.2-1.2build1` on
Ubuntu Resolute and copy `/usr/sbin/mkfs.fat`.

S.A.N.E Linux does not modify dosfstools. `sgdisk` and `mke2fs` come from
gptfdisk and e2fsprogs respectively; those remain GPL-2.0 components covered by
`THIRD_PARTY_LICENSES.md`.