mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 03:59:53 +07:00
arc: extend data partition to 2G (need to replace bootimage at all)
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
a2b34bd3cd
commit
d745df0978
6
.github/workflows/autobuild.yml
vendored
6
.github/workflows/autobuild.yml
vendored
@ -108,12 +108,11 @@ jobs:
|
||||
sudo losetup --detach ${LOOPX}
|
||||
|
||||
resizeImg "arc.img" "+1024M" "arc-2G.img"
|
||||
mv -f "arc-2G.img" "arc.img"
|
||||
|
||||
echo "Image Converter"
|
||||
qemu-img convert -O vmdk arc.img arc-dyn.vmdk
|
||||
qemu-img convert -O vmdk arc-2G.img arc-2G-dyn.vmdk
|
||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arc.img -o subformat=monolithicFlat arc.vmdk
|
||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arc-2G.img -o subformat=monolithicFlat arc-2G.vmdk
|
||||
|
||||
echo "Create Arc ova"
|
||||
convertova "arc.img" "arc.ova"
|
||||
@ -123,11 +122,8 @@ jobs:
|
||||
run: |
|
||||
if [ -n "${{ env.VERSION }}" ]; then
|
||||
zip -9 "arc-${{ env.VERSION }}.img.zip" arc.img
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.img.zip" arc-2G.img
|
||||
zip -9 "arc-${{ env.VERSION }}.vmdk-dyn.zip" arc-dyn.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.vmdk-dyn.zip" arc-2G-dyn.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}.vmdk-flat.zip" arc.vmdk arc-flat.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.vmdk-flat.zip" arc-2G.vmdk arc-2G-flat.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}.ova.zip" arc.ova
|
||||
else
|
||||
zip -9 "arc.img.zip" arc.img
|
||||
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -183,12 +183,11 @@ jobs:
|
||||
sudo losetup --detach ${LOOPX}
|
||||
|
||||
resizeImg "arc.img" "+1024M" "arc-2G.img"
|
||||
mv -f "arc-2G.img" "arc.img"
|
||||
|
||||
echo "Image Converter"
|
||||
qemu-img convert -O vmdk arc.img arc-dyn.vmdk
|
||||
qemu-img convert -O vmdk arc-2G.img arc-2G-dyn.vmdk
|
||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arc.img -o subformat=monolithicFlat arc.vmdk
|
||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arc-2G.img -o subformat=monolithicFlat arc-2G.vmdk
|
||||
|
||||
echo "Create Arc ova"
|
||||
convertova "arc.img" "arc.ova"
|
||||
@ -198,11 +197,8 @@ jobs:
|
||||
run: |
|
||||
if [ -n "${{ env.VERSION }}" ]; then
|
||||
zip -9 "arc-${{ env.VERSION }}.img.zip" arc.img
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.img.zip" arc-2G.img
|
||||
zip -9 "arc-${{ env.VERSION }}.vmdk-dyn.zip" arc-dyn.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.vmdk-dyn.zip" arc-2G-dyn.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}.vmdk-flat.zip" arc.vmdk arc-flat.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}-2G.vmdk-flat.zip" arc-2G.vmdk arc-2G-flat.vmdk
|
||||
zip -9 "arc-${{ env.VERSION }}.ova.zip" arc.ova
|
||||
else
|
||||
zip -9 "arc.img.zip" arc.img
|
||||
|
Loading…
Reference in New Issue
Block a user