#!/bin/sh
. ./01_SetVariables.sh || exit
	spkg -i --root "$DEST" "$ISODIR"/slint/spkg*txz
	spkg -i --root "$DEST" "$ISODIR"/slint/swapinzram*txz
	spkg -i --root "$DEST" "$ISODIR"/slint/zstd*txz
    # "packages" includes packages only needed in the installer
	spkg -i --root "$DEST" "$ROOTDIR"/packages/*txz
	echo '#Empty file' > /"$DEST"/etc/asound.conf
	rm -r "$DEST"/usr/lib64/python*
	rm -r "$DEST"/usr/doc/*
	rm -r "$DEST"/usr/man/*
	rm "$DEST"/usr/bin/sndfile*
	rm "$DEST"/usr/bin/dbus-launch
