| 1234567891011121314 |
- /* Installer internals shared by the `install` command and the network
- * persistent-update path. */
- #ifndef INSTALL_H
- #define INSTALL_H
- /* Write a kernel and an NBROOT1 rootfs image to an installed NebOS disk.
- * `rootfs` points at a 512-byte header followed by `rsize - 512` pack bytes.
- * Used by `install <target> self` and by the KXI2 net-install path; the
- * target's partition 4 is preserved. Returns 0 on success. */
- int install_ram_image(const char *target, const void *kernel,
- unsigned int ksize, const void *rootfs,
- unsigned int rsize);
- #endif
|