Skip to content

sledgehammer-place-stage1-assets

Create a Sledgehammer tarball and profile from the staged bits.

This task places the stage1 assets where they must be present for the stage1 initramfs to be built. The assets placed are:

  • sledgehammer-stage1-init

    This script is run when the Sledgehammer kernel and initrd have been loaded. It is responsible for transferring the stage2 image from dr-provision and transferring control to it.

  • sledgehammer-stage1-udhcpc-config

    This script is invoked by udhcpc whenever it gets or releases a lease. It is responsible for actually configuring the network interface.

  • squashfs-excludes

    this file defines what will be excluded from the stage2 squashfs image.