e21b7229ff
Let's handle tarball imports nicer that have a single top-level directory containing the OS tree: let's move everything down during import, so that the OS tree is ready to use automatically. Fixes: #2116
13 lines
315 B
C
13 lines
315 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
int import_make_read_only_fd(int fd);
|
|
int import_make_read_only(const char *path);
|
|
|
|
int import_fork_tar_c(const char *path, pid_t *ret);
|
|
int import_fork_tar_x(const char *path, pid_t *ret);
|
|
|
|
int import_mangle_os_tree(const char *path);
|