script: workaround systemd-261 kernel-install

This commit is contained in:
2026-07-17 14:35:29 +08:00
parent bbf67874a0
commit f1a8d8351d
+4
View File
@@ -47,8 +47,10 @@ install_package_cleanup() {
}
install_package_list_yum() {
mount -t proc proc "${ROOTFS_DIR}/proc"
# shellcheck shell=dash disable=SC2086
logcmd yum --forcearch riscv64 --installroot="${ROOTFS_DIR}" -y install $1
umount "${ROOTFS_DIR}/proc"
}
install_package_list() {
@@ -62,8 +64,10 @@ install_package_list() {
}
install_package_group_yum() {
mount -t proc proc "${ROOTFS_DIR}/proc"
# shellcheck shell=dash disable=SC2086
logcmd yum --forcearch riscv64 --installroot="${ROOTFS_DIR}" -y groupinstall $1
umount "${ROOTFS_DIR}/proc"
}
install_package_group() {