just a small script to make a chroot for building clean packages
it should work on 5.8 and 5.9
If you think of ways to improve it add them below.
#!/bin/bash
#mount point
MNT=/mnt/loop
#insert the name of the iso
echo "enter the name of the iso with path"
read ISO
#mount the iso
mount -o loop $ISO $MNT
#enter the name of the new chroot dir
echo "enter a name for the chroot dir"
read CHROOT
#make the chroot dir
mkdir -p $CHROOT
#change to the chroot dir
cd $CHROOT
#extract the bulks
lzma -cd $MNT/veclinux/required/veclinux.tlz |tar xp
lzma -cd $MNT/veclinux/required/vlconfig.tlz |tar xp
lzma -cd $MNT/veclinux/optional/X11.tlz |tar xp
lzma -cd $MNT/veclinux/optional/games.tlz |tar xp
lzma -cd $MNT/veclinux/optional/samba.tlz |tar xp
lzma -cd $MNT/veclinux/optional/dev.tlz |tar xp
lzma -cd $MNT/veclinux/optional/kernel-src.tlz |tar xp
#install the packages
installpkg -R $(pwd) $MNT/packages/*/*t?z
#extract the vlconfig2 bulk last
lzma -cd $MNT/veclinux/required/vlconfig2.tlz |tar xp
#