I'm trying to make a Calamares module for my slax-based Debian live usb and I need to install Calamares and all its depends into a folder called Calamares and then use dir2sb to make the module Calamares.sb.
I cannot figure out how to extract the .debs into a folder as if installed to system - I found a script on puppy forum but it doesnt seem to work...just left the .deb pkgs in /tmp/deb
Code:
#!/bin/sh
clear
mkdir -p /tmp/deb
cp -f /root/PKGS/*.deb /tmp/deb 2>/dev/null
cd /tmp/deb
dpkg-deb -x *.deb /tmp/deb
rm /tmp/deb/*.deb
echo "Done extracting:"
ls
pcmanfm /tmp/deb 2>/dev/null
I also tried using dpkg-deb -x and didnt work either
If anyone can help I'd appreciate it!