Added the smallfixnumber key in user_config.json and changed the platform ids to model ids

This commit is contained in:
pocopico
2022-10-21 15:16:52 +03:00
parent b13081e01c
commit 2c7ecfb69c

View File

@ -64,7 +64,7 @@ jobs:
workfile="`ls $srcdir/*uefi*`" workfile="`ls $srcdir/*uefi*`"
mv $workfile $workdir mv $workfile $workdir
workfile="`ls *uefi*`" workfile="`ls *uefi*`"
imgversion="`ls $workfile | cut -c 23-29`" imgversion="`ls $workfile | cut -c 23-30`"
imgfile="`echo $workfile | sed -e 's/.gz//g'`" imgfile="`echo $workfile | sed -e 's/.gz//g'`"
echo "Found workfile : $workfile , imgversion : $imgversion copying from $srcdir to $workdir" echo "Found workfile : $workfile , imgversion : $imgversion copying from $srcdir to $workdir"
sudo losetup -fP ./$imgfile sudo losetup -fP ./$imgfile
@ -121,7 +121,7 @@ jobs:
workfile="`ls $srcdir/tinycore-redpill.*.img*`" workfile="`ls $srcdir/tinycore-redpill.*.img*`"
mv $workfile $workdir mv $workfile $workdir
workfile="`ls tinycore-redpill.*.img*`" workfile="`ls tinycore-redpill.*.img*`"
imgversion="`ls $workfile | cut -c 18-24`" imgversion="`ls $workfile | cut -c 18-25`"
imgfile="`echo $workfile | sed -e 's/.gz//g'`" imgfile="`echo $workfile | sed -e 's/.gz//g'`"
echo "Found workfile : $workfile , imgversion : $imgversion copying from $srcdir to $workdir" echo "Found workfile : $workfile , imgversion : $imgversion copying from $srcdir to $workdir"
sudo losetup -fP ./$imgfile sudo losetup -fP ./$imgfile