forked from pool/supermin
4a80d0a52d
* initrd: Support ztd-compressed modules * pacman: Recognise Artix, an Arch derivative * Add a separate variable to store link flags, and use that to supply * Add appropriate globs for arm based kernels. The file names end in -arm64 but the architecture is named aarch64. * Add support for OCaml 5.0 * Add LFS support for fts functions * Numerous bug fixes - Upstream bug fixes and features 001-Improved-debugging-of-the-supermin-if-newer-calculation.patch 002-Fix-if-newer-copy-kernel.patch 003-Fix-kernel-filtering-for-aarch64-architecture.patch 004-Use-output-complete-exe-instead-of-custom.patch 005-Only-supply-output-complete-exe-to-final-link.patch 006-Rename-function-file-kernel.patch 007-Uncompress-kernel-on-RISC-V.patch 008-Fix-link-to-renamed-kernel-documentation.patch 009-New-mailing-list-email-address.patch - Dropped initrd_support_ztd-compressed_modules.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=84
30 lines
981 B
Diff
30 lines
981 B
Diff
Subject: src/format_ext2_kernel.ml: Rename function file -> kernel
|
|
From: Richard W.M. Jones rjones@redhat.com Fri Nov 10 08:55:25 2023 +0000
|
|
Date: Fri Nov 10 08:55:25 2023 +0000:
|
|
Git: 9a0d078dc35fde7a715666bce6c765ed5fe5e916
|
|
|
|
No change, just rename the function.
|
|
|
|
diff --git a/src/format_ext2_kernel.ml b/src/format_ext2_kernel.ml
|
|
index 4589552..36514c6 100644
|
|
--- a/src/format_ext2_kernel.ml
|
|
+++ b/src/format_ext2_kernel.ml
|
|
@@ -54,7 +54,7 @@ let rec build_kernel debug host_cpu copy_kernel kernel =
|
|
printf "supermin: kernel: modpath %s\n%!" modpath;
|
|
);
|
|
|
|
- copy_or_symlink_file copy_kernel kernel_file kernel;
|
|
+ copy_or_symlink_kernel copy_kernel kernel_file kernel;
|
|
|
|
(kernel_version, modpath)
|
|
|
|
@@ -308,7 +308,7 @@ and read_string chan offset len =
|
|
really_input chan buf 0 len;
|
|
Bytes.to_string buf
|
|
|
|
-and copy_or_symlink_file copy_kernel src dest =
|
|
+and copy_or_symlink_kernel copy_kernel src dest =
|
|
if not copy_kernel then
|
|
symlink src dest
|
|
else (
|