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 .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest
env:
CFLAGS: "-static -O2 -Wall -Werror -fstack-protector-strong"
BUSYBOX_MODE: source
BB_URL: https://distfiles.alpinelinux.org/distfiles/v3.20/busybox-1.36.1.tar.bz2
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Expand All @@ -26,7 +28,7 @@ jobs:
- name: Build rootfs and initramfs
run: |
make
sudo env SANE_WEAK_DEFAULT_CREDS=1 JOBS=$(nproc) sh ./scripts/build-rootfs.sh
sudo env BUSYBOX_MODE=source BB_URL=https://distfiles.alpinelinux.org/distfiles/v3.20/busybox-1.36.1.tar.bz2 SANE_WEAK_DEFAULT_CREDS=1 JOBS=$(nproc) sh ./scripts/build-rootfs.sh
test -s distro/initramfs.cpio.gz
sudo chown -R $(id -u):$(id -g) distro/

Expand Down
60 changes: 60 additions & 0 deletions SOURCE-OFFER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Written source offer

S.A.N.E Linux distributes binaries derived from the Linux kernel and BusyBox
under the GNU General Public License, version 2 only (GPL-2.0-only).

In compliance with GPL-2.0 section 3(b), the copyright holder of this
distribution makes a written offer to provide the complete corresponding
source code to any third party. The offer remains valid for **at least three
years after the last distribution of the covered binaries**, not merely for
three years from the date of this notice. If distribution continues after
2026-11-30, the offer continues for three years after that final distribution.

## Linux kernel 6.6.134 + Alpine patchset

The kernel binary shipped as `bzImage` / `vmlinuz-virt` in S.A.N.E Linux images
corresponds to Linux `6.6.134` with the Alpine `linux-virt` build inputs for
`pkgver=6.6.134`, `pkgrel=0` (aports commit `6fb194e3`, branch `3.20-stable`).

Complete corresponding source is available as a permanent GitHub Release
asset:

- Release page: <https://github.com/Iky969/sane-linux/releases/tag/v1.2.1-source>
- Direct asset: <https://github.com/Iky969/sane-linux/releases/download/v1.2.1-source/linux-6.6.134-sane-source.tar.gz>
- SHA-256: `e9b7581621073752f0c5403f85b8cff13ba133fd9ac56965d5013d52a259ec59`

The bundle contains the upstream kernel source, the official stable patch,
the Alpine `APKBUILD`, Alpine's five patches, and all `lts.*` / `virt.*`
configs, including `virt.x86_64.config`.

## BusyBox 1.36.1

The release image build uses `BUSYBOX_MODE=source` and `BB_VERSION=1.36.1`;
the `BUSYBOX_PREBUILT` fallback is not used for distributed release images.
Development images built with `BUSYBOX_MODE=prebuilt` are not release artifacts
and are not covered by this offer.

Complete corresponding source for the release BusyBox binary is available at:

- Direct asset: <https://github.com/Iky969/sane-linux/releases/download/v1.2.1-source/busybox-1.36.1.tar.bz2>
- SHA-256: `b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314`
- SHA-512: `8c0c754c9ae04b5e6b23596283a7d3a4ef96225fe179f92d6f6a99c69c0caa95b1aa56c267f52d7c807f6cc69e1f0b7dd29a8ac624098f601738f8c0c57980d4`

The version-pinned build script that configures, compiles, and installs this
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>

## Contact

Requests for the source, questions about this offer, or requests for a physical
copy may be sent to the monitored maintainer mailbox:

**ryuzarza@gmail.com**

The git authorship identity `168882072+Iky969@users.noreply.github.com` is
listed only for commit attribution; it is not a contact address for source
requests.

This offer remains valid for at least three years after the last distribution
of the covered binaries.
9 changes: 5 additions & 4 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
S.A.N.E Linux ships binaries produced by upstream projects. The project's own
source is MIT-licensed ([LICENSE](LICENSE)); the components below keep their
upstream licenses. This notice accompanies distributed rootfs, initramfs and
raw disk images. Full license texts are available at the upstream source URLs.
raw disk images. Full license texts are bundled under [`licenses/`](licenses/)
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
and the written GPL source offer is in [`SOURCE-OFFER.md`](SOURCE-OFFER.md).
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

| Component | S.A.N.E package version | License | Upstream source |
|---|---|---|---|
| BusyBox | 1.36.1 | GPL-2.0-only | <https://busybox.net/downloads/busybox-1.36.1.tar.bz2> (see upstream `LICENSE`) |
| Linux kernel (`bzImage`/`vmlinuz-virt`) | 6.6.134 | GPL-2.0-only | <https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.134.tar.xz>; binary from Alpine v3.20.10 netboot, patches in <https://git.alpinelinux.org/aports/> |
| BusyBox | 1.36.1 | GPL-2.0-only | <https://busybox.net/downloads/busybox-1.36.1.tar.bz2> (mirror asset in [v1.2.1-source](https://github.com/Iky969/sane-linux/releases/tag/v1.2.1-source)) |
| Linux kernel (`bzImage`/`vmlinuz-virt`) | 6.6.134 | GPL-2.0-only | <https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.134.tar.xz>; binary from Alpine v3.20.10 netboot, patches in <https://git.alpinelinux.org/aports/>; full bundle in [v1.2.1-source](https://github.com/Iky969/sane-linux/releases/tag/v1.2.1-source) |
| LibreSSL | 3.9.2 | ISC (includes OpenSSL-derived code) | <https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.9.2.tar.gz> |
| curl | 8.11.0 | curl license (MIT/X derivative) | <https://curl.se/download/curl-8.11.0.tar.xz>, <https://curl.se/docs/copyright.html> |
| curl | 8.11.0 | curl license (MIT/X derivative) | <https://curl.se/download/curl-8.11.0.tar.xz>, bundled text in [`licenses/curl.txt`](licenses/curl.txt) |
| wpa_supplicant | 2.10 | BSD-3-Clause (GPL-2.0 alternative) | <https://w1.fi/releases/wpa_supplicant-2.10.tar.gz> |
| musl libc (headers and static objects) | 1.2.5 | MIT | <https://musl.libc.org/releases/musl-1.2.5.tar.gz> |
| doas (OpenDoas) | 6.8.2 | ISC | <https://github.com/Duncaen/OpenDoas/releases/download/v6.8.2/opendoas-6.8.2.tar.gz> |
Expand Down
9 changes: 9 additions & 0 deletions licenses/BSD-2-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright (c) <year> <owner>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11 changes: 11 additions & 0 deletions licenses/BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright (c) <year> <owner>.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading