squashfs-tools is required

This commit is contained in:
Fierelier 2022-08-14 22:00:05 +02:00
parent 6592afa3ec
commit a8fbbc3c89
2 changed files with 7 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Devuan Linux for Windows users
# How to "build"
## Prerequisites
- You need to use Devuan or windvn
- `apt install debootstrap isolinux syslinux-common xorriso`
- `apt install debootstrap isolinux syslinux-common squashfs-tools xorriso`
---
1. **Get into the windvn environment:**
```

View File

@ -30,6 +30,12 @@ if [ ! -f "$CHROOT/usr/share/initramfs-tools/hooks/live" ]; then
EXIT=1
fi
if ! command -v mksquashfs &> /dev/null
then
echo "ERROR: xorriso not found. Run 'apt install squashfs-tools'."
EXIT=1
fi
if ! command -v xorriso &> /dev/null
then
echo "ERROR: xorriso not found. Run 'apt install xorriso'."