Skip to content

Commit

Permalink
removed generation of *-focal-halt images.
Browse files Browse the repository at this point in the history
We dont need *-focal-halt images for any kind of
testing, thus removing them all together from generating
as well as resource_manifest.json

Signed-off-by: Ramyak Mehra <[email protected]>
  • Loading branch information
ramyak-mehra authored and lauralt committed Jul 21, 2022
1 parent 7e7898b commit 93675f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
8 changes: 2 additions & 6 deletions resources/make_test_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ if [[ $arch = "x86_64" ]]; then
$DEST_KERNEL_DIR

./kernel/make_kernel_image_deb.sh -f elf -k vmlinux-focal -w $TMP_DEB_DIR -j $NPROC
./kernel/make_kernel_image_deb.sh -f elf -k vmlinux-focal -w $TMP_DEB_DIR -j $NPROC -h
./kernel/make_kernel_image_deb.sh -f bzimage -k bzimage-focal -w $TMP_DEB_DIR -j $NPROC
./kernel/make_kernel_image_deb.sh -f bzimage -k bzimage-focal -w $TMP_DEB_DIR -j $NPROC -h

# Same applies to the Ubuntu images.
mv $TMP_DEB_DIR/linux-5.4.81/vmlinux-focal $TMP_DEB_DIR/linux-5.4.81/vmlinux-focal-halt \
$TMP_DEB_DIR/linux-5.4.81/bzimage-focal $TMP_DEB_DIR/linux-5.4.81/bzimage-focal-halt $DEST_KERNEL_DIR
mv $TMP_DEB_DIR/linux-5.4.81/vmlinux-focal $TMP_DEB_DIR/linux-5.4.81/bzimage-focal $DEST_KERNEL_DIR

./disk/make_rootfs.sh -d $TMP_DEB_DIR/linux-5.4.81/deb/ -w $DEST_DISK_DIR -o ubuntu-focal-rootfs-x86_64.ext4
elif [[ $arch = "aarch64" ]]; then
Expand All @@ -59,10 +56,9 @@ elif [[ $arch = "aarch64" ]]; then

# making debian based image
./kernel/make_kernel_image_deb.sh -f pe -k pe-focal -w $TMP_DEB_DIR -j $NPROC
./kernel/make_kernel_image_deb.sh -f pe -k pe-focal -w $TMP_DEB_DIR -j $NPROC -h

# move them to correct folder
mv $TMP_DEB_DIR/linux-5.4.81/pe-focal $TMP_DEB_DIR/linux-5.4.81/pe-focal-halt $DEST_KERNEL_DIR
mv $TMP_DEB_DIR/linux-5.4.81/pe-focal $DEST_KERNEL_DIR

./disk/make_rootfs.sh -d $TMP_DEB_DIR/linux-5.4.81/deb/ -w $DEST_DISK_DIR -o ubuntu-focal-rootfs-aarch64.ext4

Expand Down
30 changes: 0 additions & 30 deletions tests/tools/s3/resource_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,26 +331,6 @@
"platform_type": "x86_64",
"distro": "Ubuntu"
},
{
"resource_type": "kernel",
"resource_name": "bzimage-focal-halt",
"relative_path": "kernel/",
"image_format": "bzimage",
"halt_after_boot": false,
"with_disk": true,
"platform_type": "x86_64",
"distro": "Ubuntu"
},
{
"resource_type": "kernel",
"resource_name": "vmlinux-focal-halt",
"relative_path": "kernel/",
"image_format": "elf",
"halt_after_boot": false,
"with_disk": true,
"platform_type": "x86_64",
"distro": "Ubuntu"
},
{
"resource_type": "kernel",
"resource_name": "pe-focal",
Expand All @@ -361,16 +341,6 @@
"platform_type": "aarch64",
"distro": "Ubuntu"
},
{
"resource_type": "kernel",
"resource_name": "pe-focal-halt",
"relative_path": "kernel/",
"image_format": "pe",
"halt_after_boot": true,
"with_disk": true,
"platform_type": "aarch64",
"distro": "Ubuntu"
},
{
"resource_type": "disk",
"resource_name": "ubuntu-focal-rootfs-aarch64.ext4",
Expand Down

0 comments on commit 93675f0

Please sign in to comment.