mirror of
https://github.com/pocopico/tinycore-redpill.git
synced 2025-09-20 13:01:16 +08:00
Added the smallfixnumber key in user_config.json and changed the platform ids to model ids
This commit is contained in:
4
.github/workflows/updateimage.yml
vendored
4
.github/workflows/updateimage.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user