Add WDVN_FAT

This commit is contained in:
Fierelier 2022-09-26 15:39:46 +02:00
parent b0d5f9c8c1
commit 16abe07669
2 changed files with 13 additions and 1 deletions

View File

@ -37,6 +37,12 @@ You can get rid of the following components, if you don't wish for them:
If you want to use a system with less than 256MB of RAM (minimum 128MB), add legacy after finish. This will make the ISO unbootable on most media but for CD/DVD.
By default, only important packages required for installing the distro are installed, and additional packages related to other things like the GUI are only downloaded, and installed in OOBE (post-installation). This is to reduce the build times of ISOs and reduces the RAM overhead of the installation environment, as the file-table of the squashfs is smaller. However, this also makes repeated deployment much slower.
You can change how packages are integrated, by using these commands before doing `wdvn-make`:
- `export WDVN_ONLINE=1` - Installs the most necessary packages, the other packages have to be downloaded from the internet once the OS is installed. This makes the smallest ISO, but also takes the longest to install.
- `export WDVN_FAT=1` - Installs all packages right away, instead of only downloading them. Makes the largest but also the fastest image.
3. **Make ISO:**
```
wdvn-image-iso "$(wdvn-name)" "$(wdvn-name).iso"

View File

@ -9,8 +9,14 @@ apt -y install $WDVN_PACKAGES_INTERACTIVE
export DEBIAN_FRONTEND="noninteractive"
apt -y install $WDVN_PACKAGES
update-rc.d keyboard-setup.sh defaults
if [ "$WDVN_ONLINE" != "1" ]; then
if [ "$WDVN_FAT" != "1" ]; then
apt -y install --download-only $WDVN_PACKAGES_DL
else
apt -y install $WDVN_PACKAGES_DL
fi
fi
unset DEBIAN_FRONTEND
apt -y autoclean