!106 在initramfs中添加chmod命令

From: @yue-yuankun 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-05-08 07:42:22 +00:00 committed by Gitee
commit 01657b5c3c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 93baf525a669c8626b1391f9660c08f452f65159 Mon Sep 17 00:00:00 2001
From: yueyuankun <yueyuankun@kylinos.cn>
Date: Fri, 26 Apr 2024 15:17:56 +0800
Subject: [PATCH] fix(base): install chmod binaries
---
modules.d/99base/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
index a31f940..db8902c 100755
--- a/modules.d/99base/module-setup.sh
+++ b/modules.d/99base/module-setup.sh
@@ -17,7 +17,7 @@ install() {
inst_multiple mount mknod mkdir sleep chroot chown \
sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid \
- modprobe tr
+ modprobe tr chmod
inst_multiple -o findmnt less kmod
--
2.33.0

View File

@ -9,7 +9,7 @@
Name: dracut
Version: 050
Release: 8
Release: 9
Summary: Initramfs generator using udev
@ -111,6 +111,7 @@ Patch0082: backport-fix-dracut-replace-invalid-lzo-command-with-lzop-for-LZO-com
Patch0083: backport-fix-network-avoid-double-brackets-around-IPv6-address.patch
Patch0084: backport-fix-network-don-t-use-same-ifname-multiple-times.patch
Patch0085: backport-fix-dracut-init.sh-add-missing-hostonly-code-in-the-inst_multiple-function.patch
Patch0086: dracut-050-fix-base-install-chmod-binaries.patch
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Source2: openEuler.conf.example
@ -561,6 +562,9 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
%endif
%changelog
* Fri Apr 26 2024 yueyuankun <yueyuankun@kylinos.cn> - 050-9
- fix(base): install chmod binaries
* Thu Feb 22 2024 hongjinghao <hongjinghao@huawei.com> - 050-8
- backport patchs from upstream
@ -611,3 +615,4 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 049-1
- Package init