Skip to content

Commit

Permalink
fix: create dtb directory for all architectures
Browse files Browse the repository at this point in the history
We need the `dtb` directory to exist so that it can be copied from in a
`Dockerfile`.

Signed-off-by: Andrew Rynhard <[email protected]>
  • Loading branch information
andrewrynhard authored and talos-bot committed Dec 1, 2020
1 parent 24dc689 commit e880204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/kernel/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ steps:
install:
- |
mkdir -p /rootfs/boot
mkdir -p /rootfs/dtb
case $ARCH in
x86_64)
mv arch/x86/boot/bzImage /rootfs/boot/vmlinuz
Expand All @@ -33,7 +34,6 @@ steps:
arm64)
mv arch/arm64/boot/Image /rootfs/boot/vmlinuz
mv vmlinux /rootfs/boot/vmlinux
mkdir /rootfs/dtb
cd ./arch/arm64/boot/dts
for vendor in $(find . -not -path . -type d); do
dest="/rootfs/dtb/$vendor"
Expand Down

0 comments on commit e880204

Please sign in to comment.