Skip to content

Commit 4a3759c

Browse files
committed
fix vbox
1 parent b7225ef commit 4a3759c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.drone.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ local build(board, arch, mode, distro) = {
112112
[
113113
build(board.name, board.arch, board.type, distro)
114114
for board in [
115+
{ name: "amd64", arch: "amd64", type: "all"},
116+
{ name: "amd64-uefi", arch: "amd64", type: "all"},
115117
{ name: "cubieboard2", arch: "arm", type: "all" },
116118
{ name: "cubieboard", arch: "arm", type: "all" },
117119
{ name: "beagleboneblack", arch: "arm", type: "all" },
@@ -134,8 +136,6 @@ local build(board, arch, mode, distro) = {
134136
{ name: "odroid-n2", arch: "arm", type: "all" },
135137
{ name: "lime2", arch: "arm", type: "all" },
136138
{ name: "btt-cb1", arch: "arm64", type: "all" },
137-
{ name: "amd64", arch: "amd64", type: "all"},
138-
{ name: "amd64-uefi", arch: "amd64", type: "all"},
139139
{ name: "odroid-hc4", arch: "arm64", type: "all"},
140140
]
141141
for distro in [

vbox.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ DISTRO=$2
1111

1212
echo "$KEY" > ssh.key
1313
chmod 600 ssh.key
14+
ssh -i ssh.key -o StrictHostKeyChecking=no root@$HOST mkdir -p /data/drone-$DISTRO
1415
scp -i ssh.key -o StrictHostKeyChecking=no $IMAGE.img root@$HOST:/data/drone-$DISTRO
1516
scp -i ssh.key -o StrictHostKeyChecking=no create_vbox_image.sh root@$HOST:/data/drone-$DISTRO
1617
ssh -i ssh.key -o StrictHostKeyChecking=no root@$HOST /data/drone-$DISTRO/create_vbox_image.sh $IMAGE

0 commit comments

Comments
 (0)