public inbox for linux-erofs@ozlabs.org
 help / color / mirror / Atom feed
From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: linux-erofs@lists.ozlabs.org
Cc: Gao Xiang <hsiangkao@linux.alibaba.com>
Subject: [PATCH 2/2] erofs-utils: switch other source files into MIT license
Date: Thu,  2 Apr 2026 14:09:06 +0800	[thread overview]
Message-ID: <20260402060907.2268323-2-hsiangkao@linux.alibaba.com> (raw)
In-Reply-To: <20260402060907.2268323-1-hsiangkao@linux.alibaba.com>

Let's switch other source files to MIT license since we're absolutely
NOT working on secret rocket science, so licenses should not be
a bottleneck to innovation in the Cloud Native and AI era.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
---
 COPYING                    | 14 +++++++-------
 Makefile.am                |  2 +-
 autogen.sh                 |  2 +-
 contrib/Makefile.am        |  2 +-
 contrib/stress.c           |  2 +-
 dump/Makefile.am           |  2 +-
 dump/main.c                |  2 +-
 fsck/Makefile.am           |  2 +-
 fsck/main.c                |  2 +-
 fuse/Makefile.am           |  2 +-
 fuse/macosx.h              |  2 +-
 fuse/main.c                |  2 +-
 man/Makefile.am            |  2 +-
 mkfs/Makefile.am           |  2 +-
 mkfs/main.c                |  2 +-
 mount/Makefile.am          |  2 +-
 mount/main.c               |  2 +-
 scripts/get-version-number |  2 +-
 18 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/COPYING b/COPYING
index e781cc21ff15..81aee791f173 100644
--- a/COPYING
+++ b/COPYING
@@ -3,13 +3,13 @@ erofs-utils uses two different license patterns:
  - most liberofs files in `lib` and `include` directories
    use GPL-2.0+ OR MIT dual license;
 
- - all other files use GPL-2.0+ license, unless
-   explicitly stated otherwise.
+ - all other files use MIT license, unless explicitly stated
+   otherwise.
 
 Relevant licenses can be found in the LICENSES directory.
 
-This model is selected to emphasize that
-files in `lib` and `include` directories are designed to be included in
-3rd-party applications, while all other files are intended to be used
-"as is", as part of their intended scenarios, with no intention to
-support 3rd-party integration use cases.
+This model is selected to emphasize that erofs-utils can be integrated
+into various ecosystems as much as possible.
+
+However, liberofs should be GPL-2.0+ OR MIT dual license since some
+parts can be shared with the Linux kernel.
diff --git a/Makefile.am b/Makefile.am
index 7cb93a697627..e79222e965a9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 
 ACLOCAL_AMFLAGS = -I m4
 
diff --git a/autogen.sh b/autogen.sh
index fd81db4d6fb3..89c510c35cab 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 
 aclocal && \
 autoheader && \
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 4eb7abed8856..5bedb9441b2e 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 # Makefile.am
 
 AUTOMAKE_OPTIONS	= foreign
diff --git a/contrib/stress.c b/contrib/stress.c
index 0ef8c67c126b..65773bce9e27 100644
--- a/contrib/stress.c
+++ b/contrib/stress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 /*
  * stress test for EROFS filesystem
  *
diff --git a/dump/Makefile.am b/dump/Makefile.am
index c2e0c745a640..2611fd28c762 100644
--- a/dump/Makefile.am
+++ b/dump/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 # Makefile.am
 
 AUTOMAKE_OPTIONS = foreign
diff --git a/dump/main.c b/dump/main.c
index 78c50d511587..6c7258a5db40 100644
--- a/dump/main.c
+++ b/dump/main.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 /*
  * Copyright (C) 2021-2022 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/fsck/Makefile.am b/fsck/Makefile.am
index 488b401c8995..8eebadd7d1e5 100644
--- a/fsck/Makefile.am
+++ b/fsck/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 # Makefile.am
 
 AUTOMAKE_OPTIONS = foreign
diff --git a/fsck/main.c b/fsck/main.c
index 16a354f460a8..21ada195edab 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 /*
  * Copyright 2021 Google LLC
  * Author: Daeho Jeong <daehojeong@google.com>
diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index 1e8f518bad1d..9fe560849336 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 
 AUTOMAKE_OPTIONS = foreign
 noinst_HEADERS = $(top_srcdir)/fuse/macosx.h
diff --git a/fuse/macosx.h b/fuse/macosx.h
index 81ac47f551d6..4bb4bb75d5a2 100644
--- a/fuse/macosx.h
+++ b/fuse/macosx.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: MIT */
 #ifdef __APPLE__
 #undef LIST_HEAD
 #endif
diff --git a/fuse/main.c b/fuse/main.c
index b6347828eacf..40f8684abe43 100644
--- a/fuse/main.c
+++ b/fuse/main.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 /*
  * Created by Li Guifu <blucerlee@gmail.com>
  * Lowlevel added by Li Yiyan <lyy0627@sjtu.edu.cn>
diff --git a/man/Makefile.am b/man/Makefile.am
index b9b598954725..88bf3a16d995 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 
 dist_man_MANS = mkfs.erofs.1 dump.erofs.1 fsck.erofs.1
 
diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
index aaefc11dadc3..386455aced67 100644
--- a/mkfs/Makefile.am
+++ b/mkfs/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 
 AUTOMAKE_OPTIONS = foreign
 bin_PROGRAMS     = mkfs.erofs
diff --git a/mkfs/main.c b/mkfs/main.c
index eb13abaec92b..5006f76fa73b 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/mount/Makefile.am b/mount/Makefile.am
index 7f6efd8b7cf5..637029d4475a 100644
--- a/mount/Makefile.am
+++ b/mount/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: MIT
 # Makefile.am
 
 AUTOMAKE_OPTIONS = foreign
diff --git a/mount/main.c b/mount/main.c
index b6a2deca4d85..e09e58533ecc 100644
--- a/mount/main.c
+++ b/mount/main.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: MIT
 #define _GNU_SOURCE
 #include <dirent.h>
 #include <fcntl.h>
diff --git a/scripts/get-version-number b/scripts/get-version-number
index d216b7a424e0..484baebf53c6 100755
--- a/scripts/get-version-number
+++ b/scripts/get-version-number
@@ -1,5 +1,5 @@
 #!/bin/sh
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: MIT
 
 scm_version()
 {
-- 
2.43.5



  reply	other threads:[~2026-04-02  6:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02  6:09 [PATCH 1/2] erofs-utils: lib: switch to GPL-2.0+ OR MIT dual license Gao Xiang
2026-04-02  6:09 ` Gao Xiang [this message]
2026-04-02  6:18   ` [PATCH 2/2] erofs-utils: switch other source files into MIT license hudsonZhu
2026-04-02  6:19   ` zhaoyifan (H)
2026-04-02  6:32   ` Chunhai Guo
2026-04-02  6:34   ` Hongbo Li
2026-04-02  6:18 ` [PATCH 1/2] erofs-utils: lib: switch to GPL-2.0+ OR MIT dual license hudsonZhu
2026-04-02  6:19 ` zhaoyifan (H)
2026-04-02  6:30 ` Hongbo Li
2026-04-02  6:32 ` Chunhai Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260402060907.2268323-2-hsiangkao@linux.alibaba.com \
    --to=hsiangkao@linux.alibaba.com \
    --cc=linux-erofs@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox