5 Star 0 Fork 16

OpenCloudOS Stream/grub2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0190-remove-the-items-of-unsupported-filesystems-in-fs.ls.patch 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
nilusyi 提交于 2024-04-07 16:45 . update patches
From 9b98d69b2817c47a1d68aec4b0f913a55279f15c Mon Sep 17 00:00:00 2001
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Date: Wed, 5 Jul 2023 16:53:49 +0800
Subject: [PATCH 190/272] remove the items of unsupported filesystems in fs.lst
---
grub-core/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/grub-core/Makefile.am b/grub-core/Makefile.am
index af21fc72d..b52444517 100644
--- a/grub-core/Makefile.am
+++ b/grub-core/Makefile.am
@@ -378,10 +378,13 @@ endif
# List files
fs.lst: $(MARKER_FILES)
+ DISABLE_FS=(affs.marker afs.marker bfs.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker reiserfs.marker romfs.marker sfs.marker ufs1.marker ufs2.marker ufs1_be.marker); \
(for pp in $^; do \
b=`basename $$pp .marker`; \
if grep 'FS_LIST_MARKER' $$pp >/dev/null 2>&1; then \
- echo $$b; \
+ if [[ ! "$${DISABLE_FS[@]}" =~ $$b ]]; then \
+ echo $$b; \
+ fi; \
fi; \
done) | sort -u > $@
platform_DATA += fs.lst
--
2.41.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/grub2.git
git@gitee.com:opencloudos-stream/grub2.git
opencloudos-stream
grub2
grub2
master

搜索帮助