Update autoRepackImages.sh

This commit is contained in:
Molly Lau 2023-06-18 01:02:41 +09:00 committed by GitHub
parent 7fd455aa9a
commit c4fe2dbfdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash
#
# kpartx and qumu-utils are required
apt install cron kpartx qemu-utils -y
apt install cron kpartx mount qemu-utils -y
# get valid loop device
loopDevice=$(echo $(losetup -f))
loopDeviceNum=$(echo $(losetup -f) | cut -d'/' -f 3)