Skip to content

Commit

Permalink
Templates as uimage config
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Koch <[email protected]>
  • Loading branch information
hugelgupf committed Feb 27, 2024
1 parent 14d5503 commit 40fa1e2
Showing 1 changed file with 188 additions and 0 deletions.
188 changes: 188 additions & 0 deletions .mkuimage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
commands:
all:
- github.com/u-root/u-root/cmds/core/*
- github.com/u-root/u-root/cmds/boot/*boot*

boot:
- github.com/u-root/u-root/cmds/boot/*boot*

world:
- github.com/u-root/u-root/cmds/*/*

core:
- github.com/u-root/u-root/cmds/core/*

minimal:
- github.com/u-root/u-root/cmds/core/blkid
- github.com/u-root/u-root/cmds/core/cat
- github.com/u-root/u-root/cmds/core/chmod
- github.com/u-root/u-root/cmds/core/cmp
- github.com/u-root/u-root/cmds/core/cp
- github.com/u-root/u-root/cmds/core/date
- github.com/u-root/u-root/cmds/core/dd
- github.com/u-root/u-root/cmds/core/df
- github.com/u-root/u-root/cmds/core/dhclient
- github.com/u-root/u-root/cmds/core/dmesg
- github.com/u-root/u-root/cmds/core/echo
- github.com/u-root/u-root/cmds/core/find
- github.com/u-root/u-root/cmds/core/free
- github.com/u-root/u-root/cmds/core/gosh
- github.com/u-root/u-root/cmds/core/gpgv
- github.com/u-root/u-root/cmds/core/grep
- github.com/u-root/u-root/cmds/core/gzip
- github.com/u-root/u-root/cmds/core/hostname
- github.com/u-root/u-root/cmds/core/id
- github.com/u-root/u-root/cmds/core/init
- github.com/u-root/u-root/cmds/core/insmod
- github.com/u-root/u-root/cmds/core/io
- github.com/u-root/u-root/cmds/core/ip
- github.com/u-root/u-root/cmds/core/kexec
- github.com/u-root/u-root/cmds/core/kill
- github.com/u-root/u-root/cmds/core/ln
- github.com/u-root/u-root/cmds/core/losetup
- github.com/u-root/u-root/cmds/core/ls
- github.com/u-root/u-root/cmds/core/lsmod
- github.com/u-root/u-root/cmds/core/mkdir
- github.com/u-root/u-root/cmds/core/mknod
- github.com/u-root/u-root/cmds/core/mount
- github.com/u-root/u-root/cmds/core/msr
- github.com/u-root/u-root/cmds/core/mv
- github.com/u-root/u-root/cmds/core/pci
- github.com/u-root/u-root/cmds/core/ping
- github.com/u-root/u-root/cmds/core/printenv
- github.com/u-root/u-root/cmds/core/ps
- github.com/u-root/u-root/cmds/core/pwd
- github.com/u-root/u-root/cmds/core/readlink
- github.com/u-root/u-root/cmds/core/rm
- github.com/u-root/u-root/cmds/core/rmmod
- github.com/u-root/u-root/cmds/core/seq
- github.com/u-root/u-root/cmds/core/shutdown
- github.com/u-root/u-root/cmds/core/sleep
- github.com/u-root/u-root/cmds/core/sync
- github.com/u-root/u-root/cmds/core/tail
- github.com/u-root/u-root/cmds/core/tee
- github.com/u-root/u-root/cmds/core/truncate
- github.com/u-root/u-root/cmds/core/umount
- github.com/u-root/u-root/cmds/core/uname
- github.com/u-root/u-root/cmds/core/unshare
- github.com/u-root/u-root/cmds/core/wc
- github.com/u-root/u-root/cmds/core/wget
- github.com/u-root/u-root/cmds/core/which

embedded:
- github.com/u-root/u-root/cmds/core/cat
- github.com/u-root/u-root/cmds/core/cp
- github.com/u-root/u-root/cmds/core/dd
- github.com/u-root/u-root/cmds/core/dhclient
- github.com/u-root/u-root/cmds/core/dmesg
- github.com/u-root/u-root/cmds/core/echo
- github.com/u-root/u-root/cmds/core/free
- github.com/u-root/u-root/cmds/core/gosh
- github.com/u-root/u-root/cmds/core/grep
- github.com/u-root/u-root/cmds/core/init
- github.com/u-root/u-root/cmds/core/insmod
- github.com/u-root/u-root/cmds/core/ip
- github.com/u-root/u-root/cmds/core/kexec
- github.com/u-root/u-root/cmds/core/ln
- github.com/u-root/u-root/cmds/core/ls
- github.com/u-root/u-root/cmds/core/mkdir
- github.com/u-root/u-root/cmds/core/mount
- github.com/u-root/u-root/cmds/core/netcat
- github.com/u-root/u-root/cmds/core/ping
- github.com/u-root/u-root/cmds/core/rm
- github.com/u-root/u-root/cmds/core/rmmod
- github.com/u-root/u-root/cmds/core/shutdown
- github.com/u-root/u-root/cmds/core/tail
- github.com/u-root/u-root/cmds/core/tee
- github.com/u-root/u-root/cmds/core/uname
- github.com/u-root/u-root/cmds/core/wget

coreboot-app:
- github.com/u-root/u-root/cmds/core/cat
- github.com/u-root/u-root/cmds/exp/cbmem
- github.com/u-root/u-root/cmds/core/chroot
- github.com/u-root/u-root/cmds/core/cp
- github.com/u-root/u-root/cmds/core/dd
- github.com/u-root/u-root/cmds/core/dhclient
- github.com/u-root/u-root/cmds/core/dmesg
- github.com/u-root/u-root/cmds/core/find
- github.com/u-root/u-root/cmds/core/gosh
- github.com/u-root/u-root/cmds/core/grep
- github.com/u-root/u-root/cmds/core/id
- github.com/u-root/u-root/cmds/core/init
- github.com/u-root/u-root/cmds/core/insmod
- github.com/u-root/u-root/cmds/core/ip
- github.com/u-root/u-root/cmds/core/kill
- github.com/u-root/u-root/cmds/core/ls
- github.com/u-root/u-root/cmds/core/mount
- github.com/u-root/u-root/cmds/core/pci
- github.com/u-root/u-root/cmds/core/ping
- github.com/u-root/u-root/cmds/core/ps
- github.com/u-root/u-root/cmds/core/pwd
- github.com/u-root/u-root/cmds/core/rm
- github.com/u-root/u-root/cmds/core/rmmod
- github.com/u-root/u-root/cmds/core/shutdown
- github.com/u-root/u-root/cmds/core/sshd
- github.com/u-root/u-root/cmds/core/switch_root
- github.com/u-root/u-root/cmds/core/tail
- github.com/u-root/u-root/cmds/core/tee
- github.com/u-root/u-root/cmds/core/uname
- github.com/u-root/u-root/cmds/core/wget

plan9:
- github.com/u-root/u-root/cmds/core/*

tinygo:
- github.com/u-root/u-root/cmds/core/backoff
- github.com/u-root/u-root/cmds/core/base64
- github.com/u-root/u-root/cmds/core/basename
- github.com/u-root/u-root/cmds/core/cat
- github.com/u-root/u-root/cmds/core/chmod
- github.com/u-root/u-root/cmds/core/cmp
- github.com/u-root/u-root/cmds/core/comm
- github.com/u-root/u-root/cmds/core/cp
- github.com/u-root/u-root/cmds/core/date
- github.com/u-root/u-root/cmds/core/dd
- github.com/u-root/u-root/cmds/core/dirname
- github.com/u-root/u-root/cmds/core/echo
- github.com/u-root/u-root/cmds/core/false
- github.com/u-root/u-root/cmds/core/free
- github.com/u-root/u-root/cmds/core/gpt
- github.com/u-root/u-root/cmds/core/grep
- github.com/u-root/u-root/cmds/core/hexdump
- github.com/u-root/u-root/cmds/core/kill
- github.com/u-root/u-root/cmds/core/ls
- github.com/u-root/u-root/cmds/core/mkdir
- github.com/u-root/u-root/cmds/core/more
- github.com/u-root/u-root/cmds/core/mv
- github.com/u-root/u-root/cmds/core/ps
- github.com/u-root/u-root/cmds/core/pwd
- github.com/u-root/u-root/cmds/core/rm
- github.com/u-root/u-root/cmds/core/sort
- github.com/u-root/u-root/cmds/core/tr
- github.com/u-root/u-root/cmds/core/true
- github.com/u-root/u-root/cmds/core/uniq
- github.com/u-root/u-root/cmds/core/wc
- github.com/u-root/u-root/cmds/core/yes

configs:
default:
init: init
shell: gosh
commands:
- builder: bb
commands: [core]

plan9:
goos: plan9
init: init
shell: ""
commands:
- builder: bb
commands: [plan9]

# Enables build tags that allow Dead Code Elimination.
small:
init: init
shell: gosh
build_tags: [goshsmall, grpcnotrace]

0 comments on commit 40fa1e2

Please sign in to comment.