Skip to content

Commit

Permalink
Rename oci-iso to oci-boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Moser authored and smoser committed Mar 10, 2023
1 parent 42e03bb commit a22f65c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: build bootkit
run: |
make build
- name: build pkg/oci-iso
- name: build pkg/oci-boot
run: |
make pkg-build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: oci-iso
name: oci-boot
path: pkg/
if-no-files-found: error
- name: Publish zot
Expand All @@ -45,4 +45,4 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: pkg/oci-iso
files: pkg/oci-boot
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Bootkit publishes a oci image that contains these files:
* ovmf-vars.fd, ovmf-code.fd - OVMF files for qemu that are populated
with the uki-limited, uki-production, and uki-tpm keys.

## oci-iso
oci-iso is a tool that can be used to create a bootable iso from the
## oci-boot
oci-boot is a tool that can be used to create a bootable iso or disk image from the
files in a bootkit.

After building bootkit and building oci-iso, you can do:
After building bootkit and building oci-boot, you can do:

$ skopeo copy docker://.../rootfs:name-squashfs oci:/tmp/oci.d:rootfs-squashfs
FIXME: need to soci sign the rootfs
Expand All @@ -34,4 +34,3 @@ Things that can be defined during this build:
ie, setting to 'docker://' (the default) would use the official docker repos.
* UBUNTU_MIRROR - this is a url to a ubuntu package mirror.
default value is http://archive.ubuntu.com/ubuntu

4 changes: 2 additions & 2 deletions pkg/cmd/oci-iso/main.go → pkg/cmd/oci-boot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,8 @@ func doMain(ctx *cli.Context) error {
func main() {

app := cli.NewApp()
app.Name = "oci-iso"
app.Usage = "create an iso to boot an oci layer: bootkit boot-layer oci-layers"
app.Name = "oci-boot"
app.Usage = "create disk or iso to boot an oci layer: bootkit boot-layer oci-layers"
app.Version = "1.0.1"
app.Action = doMain
app.Flags = []cli.Flag{
Expand Down
File renamed without changes.

0 comments on commit a22f65c

Please sign in to comment.