From fd0e9bd29b4e2ba587650584964f82c9164e1b83 Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 2 Sep 2021 17:10:37 +0200 Subject: [PATCH] tests/pkg_fatfs: Set tarball extension to match content All existing users treat this as bz2 (tar -j), let's reflect this in the extension for better usability. --- tests/pkg_fatfs/Makefile | 2 +- tests/pkg_fatfs/create_fat_image_file.sh | 2 +- ...ot_fatfs_disk.tar.gz => riot_fatfs_disk.tar.bz2} | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/pkg_fatfs/{riot_fatfs_disk.tar.gz => riot_fatfs_disk.tar.bz2} (100%) diff --git a/tests/pkg_fatfs/Makefile b/tests/pkg_fatfs/Makefile index d6923a5f88..acb0aa1346 100644 --- a/tests/pkg_fatfs/Makefile +++ b/tests/pkg_fatfs/Makefile @@ -45,7 +45,7 @@ USEMODULE += mtd_sdcard endif image: - @tar -xjf riot_fatfs_disk.tar.gz -C ./bin/ + @tar -xjf riot_fatfs_disk.tar.bz2 -C ./bin/ #this generates a compressed fat image file that can be used by the fat driver on native compressed-image: diff --git a/tests/pkg_fatfs/create_fat_image_file.sh b/tests/pkg_fatfs/create_fat_image_file.sh index fa72597b7b..057bdd29a0 100755 --- a/tests/pkg_fatfs/create_fat_image_file.sh +++ b/tests/pkg_fatfs/create_fat_image_file.sh @@ -13,5 +13,5 @@ sudo mount -o loop,umask=000 riot_fatfs_disk.img /media/riot_fatfs_disk touch /media/riot_fatfs_disk/test.txt echo "the test file content 123 abc" | tr '\n' '\0' >> /media/riot_fatfs_disk/test.txt sudo umount /media/riot_fatfs_disk -tar -cjf riot_fatfs_disk.tar.gz riot_fatfs_disk.img +tar -cjf riot_fatfs_disk.tar.bz2 riot_fatfs_disk.img rm riot_fatfs_disk.img diff --git a/tests/pkg_fatfs/riot_fatfs_disk.tar.gz b/tests/pkg_fatfs/riot_fatfs_disk.tar.bz2 similarity index 100% rename from tests/pkg_fatfs/riot_fatfs_disk.tar.gz rename to tests/pkg_fatfs/riot_fatfs_disk.tar.bz2