stubby

package
v0.0.0-...-30f928a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Smoosh

func Smoosh(stubEfi string, uki string, cmdline, sbat, kernel, initrd string) error

Smoosh - create unified kernel image 'uki' from stubby 'stubEfi'

   with the provided cmdline and using kernel file 'kernel' initramfs file 'initrd'
 objcopy
	   "--add-section=.cmdline=${cmdlinef}"
	   "--change-section-vma=.cmdline=0x30000"
    "--add-section=.sbat=$sbatf"
    "--change-section-vma=.sbat=0x50000"
    "--set-section-alignment=.sbat=512"
    "--add-section=.linux=$kernel"
    "--change-section-vma=.linux=0x2000000"
    "--add-section=.initrd=$initrd"
    "--change-section-vma=.initrd=0x3000000"
    "$stubefi" "$output"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL