]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/ukcpio: Add temporary `syscall_shim` library dependency
authorSergiu Moga <sergiu@unikraft.io>
Fri, 14 Feb 2025 14:18:46 +0000 (16:18 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Mon, 17 Feb 2025 14:48:18 +0000 (14:48 +0000)
Since the CPIO library depends on having the `uk_syscall_r_` symbols
exported by the VFSCore library, which can only do so if the
`syscall_shim` library is enabled, add a dependency to this said
library.

This will be undone in the near future by the deprecation of VFSCore,
but for now do this so we don't break builds that use CPIO without
`syscall_shim`.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1590

lib/ukcpio/Config.uk

index 6264ddf156f3a48923827566f5123a7e4f3a4d1f..65fc5aa0b277287edee6bcf5ff5433d5cbb19498 100644 (file)
@@ -7,4 +7,5 @@ config LIBUKCPIO
        # ukcpio.
        depends on LIBVFSCORE
        select LIBNOLIBC if !HAVE_LIBC
+       select LIBSYSCALL_SHIM
        default n