Github messages for voidlinux
 help / color / mirror / Atom feed
From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Linux kernel Romfs support
Date: Wed, 24 Mar 2021 10:52:24 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29711@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages romfs-support
https://github.com/void-linux/void-packages/pull/29711

Linux kernel Romfs support
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
(to check for any bad configuration issues and that romfs actually works (it does))

Most other archs already had it enabled.

[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/29711.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-romfs-support-29711.patch --]
[-- Type: text/x-diff, Size: 11385 bytes --]

From ade9ae578e111d4600e05709a62570ba3be9d7f0 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:07:03 +1100
Subject: [PATCH 1/7] linux5.11: enable romfs support.

---
 srcpkgs/linux5.11/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux5.11/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux5.11/files/i386-dotconfig b/srcpkgs/linux5.11/files/i386-dotconfig
index 8be6f073bf13..23369bfe5896 100644
--- a/srcpkgs/linux5.11/files/i386-dotconfig
+++ b/srcpkgs/linux5.11/files/i386-dotconfig
@@ -9096,7 +9096,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
 CONFIG_PSTORE_DEFLATE_COMPRESS=y
diff --git a/srcpkgs/linux5.11/files/x86_64-dotconfig b/srcpkgs/linux5.11/files/x86_64-dotconfig
index dae7db0d64aa..ca0b372171fd 100644
--- a/srcpkgs/linux5.11/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.11/files/x86_64-dotconfig
@@ -9257,7 +9257,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
 CONFIG_PSTORE_DEFLATE_COMPRESS=m

From 4eb43eb538bf2ce672f2f3cfcefadb26066b5072 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:07:26 +1100
Subject: [PATCH 2/7] linux5.10: enable romfs support.

---
 srcpkgs/linux5.10/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux5.10/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux5.10/files/i386-dotconfig b/srcpkgs/linux5.10/files/i386-dotconfig
index 49b3633c6af4..5313584053f1 100644
--- a/srcpkgs/linux5.10/files/i386-dotconfig
+++ b/srcpkgs/linux5.10/files/i386-dotconfig
@@ -9030,7 +9030,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set
diff --git a/srcpkgs/linux5.10/files/x86_64-dotconfig b/srcpkgs/linux5.10/files/x86_64-dotconfig
index 5044f775a5bc..2a2ded837cf8 100644
--- a/srcpkgs/linux5.10/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.10/files/x86_64-dotconfig
@@ -9191,7 +9191,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=m
 # CONFIG_PSTORE_LZO_COMPRESS is not set

From db8be56953523f011775899d7d0c18f9d4e56e5c Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:07:37 +1100
Subject: [PATCH 3/7] linux5.4: enable romfs support.

---
 srcpkgs/linux5.4/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux5.4/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux5.4/files/i386-dotconfig b/srcpkgs/linux5.4/files/i386-dotconfig
index 88f5a3de1367..ce9bd0b4ffa5 100644
--- a/srcpkgs/linux5.4/files/i386-dotconfig
+++ b/srcpkgs/linux5.4/files/i386-dotconfig
@@ -8603,7 +8603,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set
diff --git a/srcpkgs/linux5.4/files/x86_64-dotconfig b/srcpkgs/linux5.4/files/x86_64-dotconfig
index f8f2c5da51d6..f289e5e56485 100644
--- a/srcpkgs/linux5.4/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.4/files/x86_64-dotconfig
@@ -8759,7 +8759,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=m
 # CONFIG_PSTORE_LZO_COMPRESS is not set

From b44618bce86cc9c657326064d7361a6ef052da9a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:07:48 +1100
Subject: [PATCH 4/7] linux4.19: enable romfs support.

---
 srcpkgs/linux4.19/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux4.19/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux4.19/files/i386-dotconfig b/srcpkgs/linux4.19/files/i386-dotconfig
index 728539f4419d..48651548e49f 100644
--- a/srcpkgs/linux4.19/files/i386-dotconfig
+++ b/srcpkgs/linux4.19/files/i386-dotconfig
@@ -7961,7 +7961,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set
diff --git a/srcpkgs/linux4.19/files/x86_64-dotconfig b/srcpkgs/linux4.19/files/x86_64-dotconfig
index bfe6e2ef45b1..41f2e369216f 100644
--- a/srcpkgs/linux4.19/files/x86_64-dotconfig
+++ b/srcpkgs/linux4.19/files/x86_64-dotconfig
@@ -8093,7 +8093,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_DEFLATE_COMPRESS=m
 # CONFIG_PSTORE_LZO_COMPRESS is not set

From c172a448fc7c3e8864911ff71cbdf4f64fac0b1a Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:08:01 +1100
Subject: [PATCH 5/7] linux4.14: enable romfs support.

---
 srcpkgs/linux4.14/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux4.14/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux4.14/files/i386-dotconfig b/srcpkgs/linux4.14/files/i386-dotconfig
index 9fcc0839e9da..9a7b746374af 100644
--- a/srcpkgs/linux4.14/files/i386-dotconfig
+++ b/srcpkgs/linux4.14/files/i386-dotconfig
@@ -7774,7 +7774,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_ZLIB_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set
diff --git a/srcpkgs/linux4.14/files/x86_64-dotconfig b/srcpkgs/linux4.14/files/x86_64-dotconfig
index d0a943589a64..13ab525807a9 100644
--- a/srcpkgs/linux4.14/files/x86_64-dotconfig
+++ b/srcpkgs/linux4.14/files/x86_64-dotconfig
@@ -7867,7 +7867,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_ZLIB_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set

From 59b37306406cf8c9af16f6361e81df8334176748 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:08:11 +1100
Subject: [PATCH 6/7] linux4.9: enable romfs support.

---
 srcpkgs/linux4.9/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux4.9/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux4.9/files/i386-dotconfig b/srcpkgs/linux4.9/files/i386-dotconfig
index d04e07d1afe7..e398974343bd 100644
--- a/srcpkgs/linux4.9/files/i386-dotconfig
+++ b/srcpkgs/linux4.9/files/i386-dotconfig
@@ -7353,7 +7353,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_ZLIB_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set
diff --git a/srcpkgs/linux4.9/files/x86_64-dotconfig b/srcpkgs/linux4.9/files/x86_64-dotconfig
index 3ac7fb403d7d..530b660473b5 100644
--- a/srcpkgs/linux4.9/files/x86_64-dotconfig
+++ b/srcpkgs/linux4.9/files/x86_64-dotconfig
@@ -7427,7 +7427,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_ZLIB_COMPRESS=y
 # CONFIG_PSTORE_LZO_COMPRESS is not set

From d216911f5f9fec27e68bc54cdd5b9bbfa0aef1c3 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 24 Mar 2021 16:08:21 +1100
Subject: [PATCH 7/7] linux4.4: enable romfs support.

---
 srcpkgs/linux4.4/files/i386-dotconfig   | 6 +++++-
 srcpkgs/linux4.4/files/x86_64-dotconfig | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux4.4/files/i386-dotconfig b/srcpkgs/linux4.4/files/i386-dotconfig
index e76c4d02c59a..d0591406b84e 100644
--- a/srcpkgs/linux4.4/files/i386-dotconfig
+++ b/srcpkgs/linux4.4/files/i386-dotconfig
@@ -6890,7 +6890,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 # CONFIG_PSTORE_CONSOLE is not set
 # CONFIG_PSTORE_PMSG is not set
diff --git a/srcpkgs/linux4.4/files/x86_64-dotconfig b/srcpkgs/linux4.4/files/x86_64-dotconfig
index 3c64f6463b28..cc1951b8af4f 100644
--- a/srcpkgs/linux4.4/files/x86_64-dotconfig
+++ b/srcpkgs/linux4.4/files/x86_64-dotconfig
@@ -6933,7 +6933,11 @@ CONFIG_HPFS_FS=m
 # CONFIG_QNX4FS_FS is not set
 CONFIG_QNX6FS_FS=m
 # CONFIG_QNX6FS_DEBUG is not set
-# CONFIG_ROMFS_FS is not set
+CONFIG_ROMFS_FS=m
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+CONFIG_ROMFS_ON_BLOCK=y
 CONFIG_PSTORE=y
 # CONFIG_PSTORE_CONSOLE is not set
 # CONFIG_PSTORE_PMSG is not set

             reply	other threads:[~2021-03-24  9:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24  9:52 fosslinux [this message]
2021-03-24 13:54 ` ericonr
2021-03-25  5:29 ` fosslinux
2021-03-25  5:48 ` [PR PATCH] [Updated] " fosslinux
2022-05-11  2:12 ` github-actions
2022-05-25  2:14 ` [PR PATCH] [Closed]: " github-actions

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29711@inbox.vuxu.org \
    --to=fosslinux@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).